docs: restore docs for the view

This commit is contained in:
Evgenii Alekseev 2023-12-15 14:45:07 +02:00
parent e784032bc6
commit 58e702213d
11 changed files with 30 additions and 10 deletions

View File

@ -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
--------------- ---------------

View File

@ -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

View File

@ -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]