operations-guide/tox.ini
Andreas Jaeger c25d0dcb98 Switch to PTI docs jobs
Switch to new PTI docs jobs, use python3 for building of docs.
Update docs job to handle warnings as errors.

Depends-On: https://review.openstack.org/594159
Change-Id: I91d1cc7066b7f98bf98cdb8b3fd146bc54cd13e1
2018-08-21 15:00:35 +02:00

18 lines
345 B
INI

[tox]
minversion = 2.0
skipsdist = True
envlist = docs
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
passenv = *_proxy *_PROXY ZUUL_*
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
commands =
doc8 doc/source -e txt -e rst
sphinx-build -E -W -b html doc/source doc/build/html
{toxinidir}/tools/glossary-sort.sh