Merge "Update docs to use sphinx-build"

This commit is contained in:
Zuul 2018-02-01 03:37:30 +00:00 committed by Gerrit Code Review
commit adf8dd013f
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@
name: openstack-infra/zuul name: openstack-infra/zuul
check: check:
jobs: jobs:
- build-openstack-sphinx-docs: - build-sphinx-docs:
irrelevant-files: irrelevant-files:
- zuul/cmd/migrate.py - zuul/cmd/migrate.py
- playbooks/zuul-migrate/.* - playbooks/zuul-migrate/.*
@ -46,7 +46,7 @@
- zuul-stream-functional - zuul-stream-functional
gate: gate:
jobs: jobs:
- build-openstack-sphinx-docs: - build-sphinx-docs:
irrelevant-files: irrelevant-files:
- zuul/cmd/migrate.py - zuul/cmd/migrate.py
- playbooks/zuul-migrate/.* - playbooks/zuul-migrate/.*

View File

@ -36,7 +36,8 @@ commands =
python setup.py test --coverage python setup.py test --coverage
[testenv:docs] [testenv:docs]
commands = python setup.py build_sphinx commands =
sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}