SFC Fluorine User Guide
[docs.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ba046a16d88bf33ff970123e44f9e8d6fa7374c0..f65fdce2cce98cc4356bfcff49df02e9449a6560 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -10,19 +10,17 @@ deps =
     coala-bears==0.11
     # Requests 2.16 breaks coala dependency on chardet
     requests<2.16
-    nodeenv
+    nodeenv==1.1.2
 commands =
     nodeenv -p
     npm install --global remark-cli remark-lint
     coala --non-interactive
 
 [testenv:docs]
-deps = -rrequirements.txt
+deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
-    echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals = echo
+    sphinx-build -j 4 -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
-deps = -rrequirements.txt
-commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+deps = -rdocs/requirements.txt
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck