Browse Source

Update docs build job

Use sphinx-build in tox.ini.

Change-Id: Ic8a0600e84eb5d7e5f9b4078bb086a5881f36625
Andreas Jaeger 8 months ago
parent
commit
cb83b17f9f
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      tox.ini

+ 3
- 1
tox.ini View File

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

Loading…
Cancel
Save