Compare commits

...

3 Commits

Author SHA1 Message Date
88e942a0d1
Merge 7abfa261c5 into 6fe77eb465 2024-10-31 00:29:26 +00:00
7abfa261c5 docs update 2024-10-31 02:29:20 +02:00
694aeecfa9 sort actions 2024-10-31 02:19:54 +02:00
4 changed files with 19 additions and 2 deletions

View File

@ -311,6 +311,12 @@ Automatic worker nodes discovery
Instead of setting ``${build:workers}`` option explicitly it is also possible to configure services to load worker list dynamically. To do so, the ``ahriman.core.distributed.WorkerLoaderTrigger`` and ``ahriman.core.distributed.WorkerTrigger`` must be used for **master** and **worker** nodes respectively. See recipes for more details.
Those triggers have to be installed as a separate package:
.. code-block:: shell
yay -S ahriman-triggers
Known limitations
"""""""""""""""""

View File

@ -1,6 +1,12 @@
Maintenance packages
--------------------
Those features require extensions package to be installed before, e.g.:
.. code-block:: shell
yay -S ahriman-triggers
Generate keyring package
^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -5,11 +5,11 @@ How to setup web service
^^^^^^^^^^^^^^^^^^^^^^^^
#.
Install dependencies:
Install web service:
.. code-block:: shell
yay -S --asdeps python-aiohttp python-aiohttp-jinja2 python-aiohttp-apispec>=3.0.0 python-aiohttp-cors
yay -S -ahriman-web
#.
Configure service:

View File

@ -95,6 +95,11 @@ Start web service (requires additional configuration):
subparser.formatter_class = _HelpFormatter
subparser.set_defaults(handler=handler, parser=_parser)
# sort actions alphabetically in both choices and help message
# pylint: disable=protected-access
subparsers._choices_actions = sorted(subparsers._choices_actions, key=lambda action: action.dest)
subparsers.choices = dict(sorted(subparsers.choices.items()))
return parser