267e0ec1c7
Bad formatting is reported as warnings, but it leads to broken documents generation that can be observed only manually. With this patch all warning are treated as errors. Change-Id: I46479b028baf0899cab207653e7c415030a0d0b0
23 lines
503 B
INI
23 lines
503 B
INI
[tox]
|
|
envlist = docs
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
LC_ALL=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands =
|
|
sphinx-build -b html -W doc/source/ doc/build/html
|
|
sphinx-build -b latex -W doc/source/ doc/build/latex
|
|
sphinx-build -b pdf -W doc/source/ doc/build/pdf
|