Merge "Update docs to use sphinx-build"
This commit is contained in:
commit
adf8dd013f
|
@ -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/.*
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue