diff --git a/tox.ini b/tox.ini index 81fb37e..9207dae 100644 --- a/tox.ini +++ b/tox.ini @@ -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