summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDon Naro <dnaro@redhat.com>2023-10-24 18:53:41 +0200
committerGitHub <noreply@github.com>2023-10-24 18:53:41 +0200
commit94703ccf84edff82f4f9d83afc47f566ea007852 (patch)
tree556f8690a67577a59b70327bb948951fe6223ef9 /tox.ini
parentAlt text for Execution Env section of Userguide (#14576) (diff)
downloadawx-94703ccf84edff82f4f9d83afc47f566ea007852.tar.xz
awx-94703ccf84edff82f4f9d83afc47f566ea007852.zip
Pip compile docsite requirements (#14449)
Co-authored-by: Sviatoslav Sydorenko <578543+webknjaz@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 45f6d0140c..7263818326 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,8 +19,20 @@ commands =
select = F401,F402,F821,F823,F841,F811,E265,E266,F541,W605,E722,F822,F523,W291,F405
exclude = awx/ui/node_modules,awx/ui/node_modules,env,awx_collection_build
+[testenv:pip-compile-docs]
+description = Compile docs build lockfiles
+deps =
+ # pip-tools config file support was introduced in v7
+ pip-tools >= 7
+commands =
+ {envpython} -m piptools compile \
+ --output-file=docs/docsite/requirements.txt \
+ docs/docsite/requirements.in
+
[testenv:docs]
description = Build documentation
-deps = -r{toxinidir}/docs/docsite/requirements.txt
+deps =
+ -r{toxinidir}/docs/docsite/requirements.in
+ -c{toxinidir}/docs/docsite/requirements.txt
commands =
sphinx-build -T -E -W -n --keep-going {tty:--color} -j auto -c docs/docsite -d docs/docsite/build/doctrees -b html docs/docsite/rst docs/docsite/build/html