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:
Andreas Jaeger 2018-10-07 10:15:10 +02:00
parent 8916a2eb57
commit 9864d1504f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- project:
templates:
- build-openstack-sphinx-docs-python3
- build-openstack-docs-pti
check:
jobs:
- openstack-tox-linters:

View File

@ -30,7 +30,7 @@ commands = {posargs}
[testenv:docs]
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]
basepython = python3