Skip to content

Commit f36468c

Browse files
committed
Fix docs-live command
1 parent 82e8d18 commit f36468c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,19 @@ commands =
3838
sphinx-build -n --keep-going -b {posargs:html} docs/ docs/_build/{posargs:html}
3939

4040
[testenv:docs-live]
41+
usedevelop = true
4142
extras =
4243
doc
4344
deps =
4445
sphinx-theme-builder[cli]
46+
sphinx-autobuild
4547
commands =
46-
stb serve docs --open-browser
48+
sphinx-autobuild docs docs/_build/html --open-browser \
49+
--watch src/sphinx_book_theme/assets \
50+
--watch src/sphinx_book_theme/theme \
51+
--ignore "docs/_build/*" \
52+
--re-ignore ".*\.pyc" \
53+
--re-ignore ".*~"
4754

4855
[testenv:py{311,312,313}-sphinx{7,8}]
4956
extras = test

0 commit comments

Comments
 (0)