From a73c8c6f616525d6d3b2083d853696ed098e87b1 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:24:43 +0200 Subject: [PATCH] DOC: group doc jobs for `tox list` --- tox.ini | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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