diff --git a/tox.ini b/tox.ini index 60832806..1db3d5c6 100644 --- a/tox.ini +++ b/tox.ini @@ -58,12 +58,13 @@ deps = sphinx-notfound-page sphinx-copybutton restructuredtext-lint +change_dir = docs commands = - sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html + sphinx-build . _build [testenv:docslinkcheck] deps = - sphinx - sphinx-rtd-theme + {[testenv:docs]deps} +change_dir = docs commands = - sphinx-build -W -b linkcheck docs docs/_build/html + sphinx-build -b linkcheck . _build