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
This commit is contained in:
parent
b765fab223
commit
c25d0dcb98
|
@ -1,6 +1,6 @@
|
|||
- project:
|
||||
templates:
|
||||
- build-openstack-sphinx-docs
|
||||
- build-openstack-docs-pti
|
||||
post:
|
||||
jobs:
|
||||
- publish-openstack-sphinx-docs-direct
|
||||
- publish-openstack-tox-docs-direct
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -4,6 +4,7 @@ skipsdist = True
|
|||
envlist = docs
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
passenv = *_proxy *_PROXY ZUUL_*
|
||||
|
||||
|
@ -12,5 +13,5 @@ deps =
|
|||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
doc8 doc/source -e txt -e rst
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
sphinx-build -E -W -b html doc/source doc/build/html
|
||||
{toxinidir}/tools/glossary-sort.sh
|
||||
|
|
Loading…
Reference in New Issue