diff --git a/.zuul.yaml b/.zuul.yaml index 1ec018d..ce95ded 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,6 @@ - project: templates: - - build-openstack-sphinx-docs + - build-openstack-docs-pti post: jobs: - publish-governance-sigs diff --git a/setup.cfg b/setup.cfg index c63af29..e3b2666 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 0c07ec3..b575048 100644 --- a/tox.ini +++ b/tox.ini @@ -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