diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index 2828d52b..e77c584e 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -1,6 +1,6 @@ - project: templates: - - build-openstack-sphinx-docs + - build-openstack-docs-pti - openstack-python35-jobs - openstack-python36-jobs check: @@ -15,4 +15,4 @@ - election-tox-ci-checks post: jobs: - - publish-static + - publish-tox-docs-static diff --git a/tox.ini b/tox.ini index 9bfd785a..fe3485d5 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,9 @@ basepython = python2 commands = {posargs} [testenv:docs] -commands = python setup.py build_sphinx +# NOTE: -W is not added since ocata/ptl.rst throws a warning about duplicate +# IDs. +commands = sphinx-build -b html -d doc/build/doctrees doc/source doc/build/html [testenv:ci-checks] commands = ci-check-all-candidate-files