mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 14:51:43 +00:00
move documentation to tox
This commit is contained in:
19
tox.ini
19
tox.ini
@ -27,6 +27,25 @@ commands =
|
||||
bandit -c .bandit-test.yml -r "tests/{[tox]project_name}"
|
||||
/bin/bash -c 'mypy --implicit-reexport --strict -p "{[tox]project_name}" --install-types --non-interactive || mypy --implicit-reexport --strict -p "{[tox]project_name}"'
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
{[tox]dependencies}
|
||||
-e .[docs]
|
||||
changedir = src
|
||||
setenv =
|
||||
SPHINX_APIDOC_OPTIONS=members,no-undoc-members,show-inheritance
|
||||
commands =
|
||||
argparse-manpage --module ahriman.application.ahriman --function _parser --author "ahriman team" --project-name ahriman --author-email "" --url https://github.com/arcan1s/ahriman --output ../docs/ahriman.1
|
||||
pydeps ahriman -o ../docs/ahriman-architecture.svg --no-config --no-show --cluster
|
||||
sphinx-apidoc --force --private -o ../docs/source .
|
||||
|
||||
[testenv:docs-html]
|
||||
deps =
|
||||
{[tox]dependencies}
|
||||
-e .[docs]
|
||||
commands =
|
||||
sphinx-build -b html -a -j auto docs/source docs/html
|
||||
|
||||
[testenv:tests]
|
||||
deps =
|
||||
{[tox]dependencies}
|
||||
|
Reference in New Issue
Block a user