aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index 8bec1b5ba0..94bc3ff4b7 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -9,7 +9,9 @@ deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+allowlist_externals = sudo
commands =
+ sudo apt install graphviz
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
[testenv:docs-linkcheck]
@@ -18,7 +20,9 @@ deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+allowlist_externals = sudo
commands =
+ sudo apt install graphviz
sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
[testenv:docs-spellcheck]
@@ -27,6 +31,8 @@ deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+allowlist_externals = sudo
commands =
+ sudo apt install graphviz
sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck