summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9feb228..5984ff7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -33,7 +33,11 @@ show-source = true
ignore = E123,E125,E129,H
[testenv:docs]
-commands = python setup.py build_sphinx
+basepython = python3
+deps =
+ -r{toxinidir}/doc/requirements.txt
+commands =
+ sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if