Merge "Migrate LISP Flow Mapping user docs to rst"
[docs.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 8ea4ee5b132235515b91bf8559d371dd9d33fefc..90be6828eabbb8dbc49316526ea4c078cc69ff57 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,9 +4,12 @@ envlist = docs,docs-linkcheck
 skipsdist = true
 
 [testenv:docs]
-deps = sphinx
-commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+deps = -rrequirements.txt
+commands =
+    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
 
 [testenv:docs-linkcheck]
-deps = sphinx
-commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
+deps = -rrequirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck