diff options
author | Don Naro <dnaro@redhat.com> | 2023-10-24 18:53:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 18:53:41 +0200 |
commit | 94703ccf84edff82f4f9d83afc47f566ea007852 (patch) | |
tree | 556f8690a67577a59b70327bb948951fe6223ef9 /tox.ini | |
parent | Alt text for Execution Env section of Userguide (#14576) (diff) | |
download | awx-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.ini | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 |