Skip to content

Commit ae23b71

Browse files
committed
tox: update doc build commands
- Run html builder with warnings treated as errors. - Run the linkcheck builder. Fixes python-virtualenvwrapper#15
1 parent b852662 commit ae23b71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ commands = ksh ./tests/run_tests {envdir} []
4242
deps =
4343
-r{toxinidir}/requirements.txt
4444
-r{toxinidir}/docs/requirements.txt
45-
commands = python setup.py build_sphinx
45+
commands =
46+
sphinx-build -W -j auto -b html -d docs/build/doctrees docs/source docs/build/html
47+
sphinx-build -W -j auto -b linkcheck -d docs/build/doctrees docs/source docs/build/linkcheck
4648

4749
[testenv:pkglint]
4850
deps=

0 commit comments

Comments
 (0)