summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-08-21 21:04:27 +0200
committerAndreas Jaeger <aj@suse.com>2018-08-21 21:08:23 +0200
commitc352f5b1ada272359cc1ec11d10666bd86ea4b46 (patch)
treecd2ec1b4e9daccf668662becb540551ab4107e5f
parentfb48c1fe3daaf60ad1a3e94927f2b09be3094b42 (diff)
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
Notes
Notes (review): Code-Review+2: Ian Wienand <iwienand@redhat.com> Code-Review+2: Monty Taylor <mordred@inaugust.com> Workflow+1: Monty Taylor <mordred@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 22 Aug 2018 11:32:04 +0000 Reviewed-on: https://review.openstack.org/594518 Project: openstack-infra/zuul-sphinx Branch: refs/heads/master
-rw-r--r--.zuul.yaml8
-rw-r--r--tox.ini4
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 @@
1- project: 1- project:
2 check: 2 templates:
3 jobs: 3 - build-tox-docs
4 - build-sphinx-docs
5 gate:
6 jobs:
7 - build-sphinx-docs
8 post: 4 post:
9 jobs: 5 jobs:
10 - publish-zuul-docs 6 - 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
20commands = bindep test 20commands = bindep test
21 21
22[testenv:docs] 22[testenv:docs]
23commands = python setup.py build_sphinx 23commands =
24 sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
25
24 26
25[testenv:pep8] 27[testenv:pep8]
26whitelist_externals = bash 28whitelist_externals = bash