summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2023-08-26 13:36:10 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2023-08-26 13:36:10 +0200
commitfc7cd92ee23a87b2506db5f63f25e5f41b0e0435 (patch)
treee0d04e5cd042d0320a221e00c959c1e99f80a25c /tox.ini
parente8e1a3a37cf1c2e630a915fc6d1bc3775148123b (diff)
docs: tox -e docs tests building the docs
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index c32fd5711..a4a8b1d75 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,13 +2,14 @@
# fakeroot -u tox --recreate
[tox]
-envlist = py{39,310,311}-{none,fuse2,fuse3}
+envlist = py{39,310,311}-{none,fuse2,fuse3},docs
minversion = 3.2
requires =
pkgconfig
cython
wheel
setuptools_scm
+
[testenv]
package = editable-legacy # without this it does not find setup_docs when running under fakeroot
setenv =
@@ -42,3 +43,11 @@ deps =
mypy
pkgconfig
commands = mypy
+
+[testenv:docs]
+changedir = docs
+deps =
+ sphinx
+ guzzle_sphinx_theme
+commands =
+ sphinx-build -n -v -W --keep-going -b html -d {envtmpdir}/doctrees . {envtmpdir}/html