Fix rst errors
[integration.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ee7cbe0..ee2b4c0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -38,8 +38,10 @@ commands =
 [testenv:rst]
 commands_pre =
     /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.rst' > /tmp/.coalist_rst"
+deps = -r ./docs/requirements-docs.txt
 commands =
-    /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn rst --files $(</tmp/.coalist_rst) \ "
+  /bin/sh -c "sphinx-build -n -b html docs docs/build/html $(</tmp/.coalist_rst)"
+  /bin/sh -c "sphinx-build -n -b linkcheck docs docs/build/linkcheck $(</tmp/.coalist_rst)"
 
 [testenv:md]
 commands_pre =