Browse Source

Merge "Update docs build job"

tags/0.2.4
Zuul 1 year ago
parent
commit
046c5e548c
2 changed files with 5 additions and 7 deletions
  1. 2
    6
      .zuul.yaml
  2. 3
    1
      tox.ini

+ 2
- 6
.zuul.yaml View File

@@ -1,10 +1,6 @@
1 1
 - project:
2
-    check:
3
-      jobs:
4
-        - build-sphinx-docs
5
-    gate:
6
-      jobs:
7
-        - build-sphinx-docs
2
+    templates:
3
+      - build-tox-docs
8 4
     post:
9 5
       jobs:
10 6
         - publish-zuul-docs

+ 3
- 1
tox.ini View File

@@ -20,7 +20,9 @@ deps = bindep
20 20
 commands = bindep test
21 21
 
22 22
 [testenv:docs]
23
-commands = python setup.py build_sphinx
23
+commands =
24
+  sphinx-build -E -W -d doc/build/doctrees -b html doc/source/ doc/build/html
25
+
24 26
 
25 27
 [testenv:pep8]
26 28
 whitelist_externals = bash

Loading…
Cancel
Save