diff --git a/tox.ini b/tox.ini index cf27ff9d1..035cfd24e 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,8 @@ deps = bindep commands = bindep test [testenv:docs] -commands = python setup.py build_sphinx +commands = + sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:linters] passenv =