mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
docs: restore docs for the view
This commit is contained in:
parent
e784032bc6
commit
58e702213d
@ -38,6 +38,14 @@ ahriman.web.views.static module
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
ahriman.web.views.status\_view\_guard module
|
||||
--------------------------------------------
|
||||
|
||||
.. automodule:: ahriman.web.views.status_view_guard
|
||||
:members:
|
||||
:no-undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
Module contents
|
||||
---------------
|
||||
|
||||
|
@ -590,6 +590,15 @@ _set_new_action() {
|
||||
# ${!x} -> ${hello} -> "world"
|
||||
_shtab_ahriman() {
|
||||
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=()
|
||||
|
||||
local prefix=_shtab_ahriman
|
||||
|
@ -21,6 +21,9 @@ from ahriman.core.configuration import Configuration
|
||||
|
||||
|
||||
class StatusViewGuard:
|
||||
"""
|
||||
helper for check if status routes are enabled
|
||||
"""
|
||||
|
||||
ROUTES: list[str]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user