From 978d964518dfa8e17dbdd64e62e26a5e9d4585fd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 21 Aug 2018 20:44:48 +0200 Subject: [PATCH] Update docs build job Use tox -e docs for building with the new build-tox-docs template. Remove the irrelevant files list for docs building, these files are obsolete, we don't need to special case them anymore. Enable warnings as error when building in tox.ini. Depends-On: https://review.openstack.org/594802 Change-Id: I436dc438677e32d044b79d797f95cdf68152d538 --- .zuul.yaml | 14 ++------------ tox.ini | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index ef7f574b8a..adfa706c24 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -65,14 +65,10 @@ javascript_copy_links: false - project: + templates: + - build-tox-docs check: jobs: - - build-sphinx-docs: - irrelevant-files: - - zuul/cmd/migrate.py - - playbooks/zuul-migrate/.* - vars: - sphinx_python: python3 - tox-pep8 - tox-py35: irrelevant-files: @@ -105,12 +101,6 @@ voting: false gate: jobs: - - build-sphinx-docs: - irrelevant-files: - - zuul/cmd/migrate.py - - playbooks/zuul-migrate/.* - vars: - sphinx_python: python3 - tox-pep8 - tox-py35: irrelevant-files: diff --git a/tox.ini b/tox.ini index 1ea2117472..ddb811fcba 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,7 @@ commands = [testenv:docs] commands = - sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html + sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:venv] commands = {posargs}