diff --git a/tox.ini b/tox.ini index d9da4b63..e476fc6f 100644 --- a/tox.ini +++ b/tox.ini @@ -49,6 +49,8 @@ commands = --show-traceback \ docs/ docs/_build/html description = Build documentation and API through Sphinx +setenv = + PYTHONWARNINGS = [testenv:doclive] allowlist_externals = @@ -77,23 +79,25 @@ commands = --watch=src \ docs/ docs/_build/html description = Set up a server to directly preview changes to the HTML pages +setenv = + {[testenv:doc]setenv} [testenv:docnb] base = doc setenv = - {[testenv:doc]}setenv + {[testenv:doc]setenv} EXECUTE_NB = yes [testenv:docnb-force] base = doc setenv = - {[testenv:doc]}setenv + {[testenv:doc]setenv} FORCE_EXECUTE_NB = yes [testenv:docnblive] base = doclive setenv = - {[testenv:doclive]}setenv + {[testenv:doclive]setenv} EXECUTE_NB = yes [testenv:linkcheck] @@ -105,6 +109,8 @@ commands = --show-traceback \ docs/ docs/_build/linkcheck description = Check external links in the documentation (requires internet connection) +setenv = + {[testenv:doclive]setenv} [testenv:nb] allowlist_externals =