mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-10-30 21:33:43 +00:00 
			
		
		
		
	docs: restore docs for the view
This commit is contained in:
		| @ -38,6 +38,14 @@ ahriman.web.views.static module | |||||||
|    :no-undoc-members: |    :no-undoc-members: | ||||||
|    :show-inheritance: |    :show-inheritance: | ||||||
|  |  | ||||||
|  | ahriman.web.views.status\_view\_guard module | ||||||
|  | -------------------------------------------- | ||||||
|  |  | ||||||
|  | .. automodule:: ahriman.web.views.status_view_guard | ||||||
|  |    :members: | ||||||
|  |    :no-undoc-members: | ||||||
|  |    :show-inheritance: | ||||||
|  |  | ||||||
| Module contents | Module contents | ||||||
| --------------- | --------------- | ||||||
|  |  | ||||||
|  | |||||||
| @ -590,6 +590,15 @@ _set_new_action() { | |||||||
| #     ${!x} -> ${hello} -> "world" | #     ${!x} -> ${hello} -> "world" | ||||||
| _shtab_ahriman() { | _shtab_ahriman() { | ||||||
|   local completing_word="${COMP_WORDS[COMP_CWORD]}" |   local completing_word="${COMP_WORDS[COMP_CWORD]}" | ||||||
|  |   local completed_positional_actions | ||||||
|  |   local current_action | ||||||
|  |   local current_action_args_start_index | ||||||
|  |   local current_action_choices | ||||||
|  |   local current_action_compgen | ||||||
|  |   local current_action_is_positional | ||||||
|  |   local current_action_nargs | ||||||
|  |   local current_option_strings | ||||||
|  |   local sub_parsers | ||||||
|   COMPREPLY=() |   COMPREPLY=() | ||||||
|  |  | ||||||
|   local prefix=_shtab_ahriman |   local prefix=_shtab_ahriman | ||||||
|  | |||||||
| @ -21,6 +21,9 @@ from ahriman.core.configuration import Configuration | |||||||
|  |  | ||||||
|  |  | ||||||
| class StatusViewGuard: | class StatusViewGuard: | ||||||
|  |     """ | ||||||
|  |     helper for check if status routes are enabled | ||||||
|  |     """ | ||||||
|  |  | ||||||
|     ROUTES: list[str] |     ROUTES: list[str] | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user