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
check:
jobs:
- build-openstack-sphinx-docs:
- build-sphinx-docs:
irrelevant-files:
- zuul/cmd/migrate.py
- playbooks/zuul-migrate/.*
@ -46,7 +46,7 @@
- zuul-stream-functional
gate:
jobs:
- build-openstack-sphinx-docs:
- build-sphinx-docs:
irrelevant-files:
- zuul/cmd/migrate.py
- playbooks/zuul-migrate/.*

View File

@ -36,7 +36,8 @@ commands =
python setup.py test --coverage
[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]
commands = {posargs}