1
2
3
4
5
6
7
8
9
10
11
12
13
14 | diff --git a/tox.ini b/tox.ini
index e7a6f22..9424ae5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,3 +28,9 @@ setenv =
[flake8]
ignore=H404,H405,H105,H301,H104,H403,H101
exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
+
+[testenv:doc]
+basepython = python3
+deps = {[testenv]deps}
+ sphinx
+commands = {envpython} -m sphinx {posargs:doc/rtd doc/rtd_html}
|