Use tox-docs for building
Switch docs to new PTI docs interface using tox-docs via the template build-openstack-docs-pti. Fix tox.ini to use proper output directory. With this change, Zuul now uses "tox -e docs" for building documentation following the updated PTI. Needed-By: https://review.openstack.org/608443 Change-Id: Ifdb23c28a0c8a42542919dd02d8f459af324deec
This commit is contained in:
parent
8916a2eb57
commit
9864d1504f
@ -1,6 +1,6 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- build-openstack-sphinx-docs-python3
|
- build-openstack-docs-pti
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters:
|
- openstack-tox-linters:
|
||||||
|
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ commands = {posargs}
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = sphinx-build -W -b html doc/source doc/build
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:validate]
|
[testenv:validate]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user