Switch to using lfdocs-conf to pull in theme
[integration/packaging.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 987e473a4557a35850ffef615df73573e33269d4..87b76855771c117307f33d4fb24012b92a09dd72 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -18,8 +18,11 @@ commands =
     coala --non-interactive
 
 [testenv:docs]
-deps = sphinx
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+deps = -rdocs/requirements.txt
+commands =
+    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+    echo "Generated docs available in {envtmpdir}/html"
+whitelist_externals = echo
 
 [testenv:pkg_unittests]
 # TODO: Support Python 3