Update docs build job
Use tox -e docs for building with the new build-tox-docs template. Update tox.ini to use sphinx-build directly. Change-Id: Idd8110051a78f96ed28848ff9836ade3fa59329b
This commit is contained in:
parent
fb48c1fe3d
commit
c352f5b1ad
@ -1,10 +1,6 @@
|
|||||||
- project:
|
- project:
|
||||||
check:
|
templates:
|
||||||
jobs:
|
- build-tox-docs
|
||||||
- build-sphinx-docs
|
|
||||||
gate:
|
|
||||||
jobs:
|
|
||||||
- build-sphinx-docs
|
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
- publish-zuul-docs
|
- publish-zuul-docs
|
||||||
|
4
tox.ini
4
tox.ini
@ -20,7 +20,9 @@ deps = bindep
|
|||||||
commands = bindep test
|
commands = bindep test
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands =
|
||||||
|
sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
|
||||||
|
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
|
Loading…
Reference in New Issue
Block a user