diff --git a/tox.ini b/tox.ini index 8731063..f0b0cf1 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,20 @@ commands = docs/ docs/_build/html description = Build documentation and API through Sphinx +[testenv:docnb] +base = doc +description = {[testenv:doc]description} with cached notebook execution +setenv = + {[testenv:doc]setenv} + EXECUTE_NB = yes + +[testenv:docnb-force] +base = doc +description = {[testenv:doc]description} with notebook execution (no cache) +setenv = + {[testenv:doc]setenv} + FORCE_EXECUTE_NB = yes + [testenv:doclive] allowlist_externals = sphinx-autobuild @@ -38,13 +52,6 @@ commands = docs/ docs/_build/html description = Set up a server to directly preview changes to the HTML pages -[testenv:docnb] -base = doc -description = {[testenv:doc]description} with cached notebook execution -setenv = - {[testenv:doc]setenv} - EXECUTE_NB = yes - [testenv:docnblive] base = doclive description = {[testenv:doclive]description} with cached notebook execution @@ -52,13 +59,6 @@ setenv = {[testenv:doclive]setenv} EXECUTE_NB = yes -[testenv:docnb-force] -base = doc -description = {[testenv:doc]description} with notebook execution (no cache) -setenv = - {[testenv:doc]setenv} - FORCE_EXECUTE_NB = yes - [testenv:linkcheck] allowlist_externals = sphinx-build