four-opens/tox.ini
Andreas Jaeger 63d7a30840 Enable sphinx warnings
Tread warnings as errors - and fix all warnings.

Change-Id: I864fbc9cbe4a11c163505a10471dee869bcb1328
2018-11-14 17:18:38 +01:00

23 lines
398 B
INI

[tox]
minversion = 2.0
skipsdist = True
envlist = docs,linters
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
passenv = *_proxy *_PROXY ZUUL_*
[testenv:linters]
deps =
-r{toxinidir}/test-requirements.txt
commands =
doc8 doc/source
[testenv:docs]
deps =
-r{toxinidir}/test-requirements.txt
commands =
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html