[testenv:docs]
deps = -rdocs/requirements.txt
commands =
- sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+ sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
echo "Generated docs available in {envtmpdir}/html"
whitelist_externals = echo
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
+
[testenv:pkg_unittests]
# TODO: Support Python 3
#basepython = python3