summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDon Naro <dnaro@redhat.com>2023-09-01 17:24:03 +0200
committerGitHub <noreply@github.com>2023-09-01 17:24:03 +0200
commitdc81aa46d088df0e045b55be4a2d70d8a204cc8e (patch)
treef44a9e7831b817913d3fa174d85eba770fc06401 /tox.ini
parentRemove extra scheduler state save that does nothing (#14396) (diff)
downloadawx-dc81aa46d088df0e045b55be4a2d70d8a204cc8e.tar.xz
awx-dc81aa46d088df0e045b55be4a2d70d8a204cc8e.zip
Create AWX docsite with RST content (#14328)
Co-authored-by: Thanhnguyet Vo <tvo@ansible.com> Co-authored-by: TVo <thavo@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4302507621..45f6d0140c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,3 +18,9 @@ commands =
[flake8]
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:docs]
+description = Build documentation
+deps = -r{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