From c352f5b1ada272359cc1ec11d10666bd86ea4b46 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 21 Aug 2018 21:04:27 +0200 Subject: [PATCH] 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 --- .zuul.yaml | 8 ++------ tox.ini | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 657f715..825bc14 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,10 +1,6 @@ - project: - check: - jobs: - - build-sphinx-docs - gate: - jobs: - - build-sphinx-docs + templates: + - build-tox-docs post: jobs: - publish-zuul-docs diff --git a/tox.ini b/tox.ini index ac89a7f..b5d830c 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,9 @@ deps = bindep commands = bindep test [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] whitelist_externals = bash