Browse Source

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
changes/10/594510/4
Andreas Jaeger 3 years ago
committed by Andreas Jaeger
parent
commit
978d964518
2 changed files with 3 additions and 13 deletions
  1. +2
    -12
      .zuul.yaml
  2. +1
    -1
      tox.ini

+ 2
- 12
.zuul.yaml View File

@ -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:


+ 1
- 1
tox.ini View File

@ -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}


Loading…
Cancel
Save