Skip to content

Commit

Permalink
DX: define tox -e docnblive job
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 9, 2023
1 parent 9a182e7 commit 95efc4b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,25 @@ setenv =
EXECUTE_NB = yes
FORCE_COLOR = yes

[testenv:docnblive]
allowlist_externals =
sphinx-autobuild
commands =
sphinx-autobuild \
--watch docs \
--watch src \
--re-ignore docs/.*\.inv \
--re-ignore docs/_build/.* \
--re-ignore docs/api/.* \
--open-browser \
docs/ docs/_build/html
description =
Set up a server to preview changes to the HTML pages live
passenv = *
setenv =
EXECUTE_NB = yes
FORCE_COLOR = yes

[testenv:linkcheck]
allowlist_externals =
sphinx-build
Expand Down

0 comments on commit 95efc4b

Please sign in to comment.