Skip to content

Commit 40f78a6

Browse files
committed
Add docs-auto Tox environment
1 parent 7bd27e2 commit 40f78a6

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

tox.ini

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,25 @@ commands =
251251
"{toxworkdir}/docs/html"
252252

253253

254+
[testenv:docs-auto]
255+
256+
description = build documentation
257+
258+
basepython = python3.8
259+
260+
deps =
261+
Sphinx==2.2.1
262+
sphinx-rtd-theme==0.4.3
263+
sphinx-autobuild==0.7.1
264+
265+
commands =
266+
sphinx-autobuild \
267+
-b html -d "{envtmpdir}/doctrees" \
268+
--host=localhost \
269+
"{toxinidir}/docs" \
270+
"{toxworkdir}/docs/html"
271+
272+
254273
##
255274
# Packaging
256275
##

0 commit comments

Comments
 (0)