summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2022-07-17 11:00:35 -0700
committerDavid Lord <davidism@gmail.com>2022-07-17 11:00:35 -0700
commitdcb30805364f0f2fb8f08bc6a0f82f25fb9753fa (patch)
treea5da4ae4a2781e567a13a74c2f71a70d9f3a83b2
parent28e19c7e743fb9427afad8f258f844cfdeeb3851 (diff)
downloadblinker-dcb30805364f0f2fb8f08bc6a0f82f25fb9753fa.tar.gz
add docs build to tox
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 72fdd8e..2b07ff3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,8 +2,13 @@
envlist =
py3{11,10,9,8,7}
pypy3{9,8,7}
+ docs
skip_missing_interpreters = true
[testenv]
deps = -r tests/requirements.txt
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests}
+
+[testenv:docs]
+deps = -r docs/requirements.txt
+commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html