
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
18 lines
345 B
INI
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
|