switch documentation job to new PTI

Update .zuul.yaml to use PTI job, update tox.ini to use the common way
to run sphinx, update setup.cfg for handling warnings as errors.

Change-Id: Id21dc212f17397b98c89fff047d5a4f83fa5409f
This commit is contained in:
Andreas Jaeger 2018-11-05 09:23:47 +01:00
parent 45af37d552
commit 94bea0b02f
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- project:
templates:
- build-openstack-sphinx-docs
- build-openstack-docs-pti
post:
jobs:
- publish-governance-sigs

View File

@ -12,6 +12,7 @@ home-page = http://www.openstack.org/
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[pbr]
warnerrors = True

View File

@ -15,4 +15,4 @@ commands = {posargs}
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html