charm-guide/tox.ini

24 lines
670 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
deps = -r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:linkcheck]
# redirects and broken links are recorded in doc/build/html/output.txt
commands = sphinx-build -j auto -d doc/build/doctrees -b linkcheck doc/source doc/build/html
[testenv:spelling]
commands = sphinx-build -j auto -W -d doc/build/doctrees -b html -b spelling doc/source doc/build/html
[testenv:docs]
commands = sphinx-build -j auto -W -d doc/build/doctrees -b html doc/source doc/build/html
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt