From 9864d1504f74a8204a370e83a903ba5aa013ba2d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 7 Oct 2018 10:15:10 +0200 Subject: [PATCH] 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 --- .zuul.yaml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 561c58ff5..1fdf9de47 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,6 @@ - project: templates: - - build-openstack-sphinx-docs-python3 + - build-openstack-docs-pti check: jobs: - openstack-tox-linters: diff --git a/tox.ini b/tox.ini index b96043c38..e1099131b 100644 --- a/tox.ini +++ b/tox.ini @@ -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