Skip to content

Commit

Permalink
DOC: group doc jobs for tox list
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 11, 2024
1 parent 57f6985 commit a73c8c6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -38,27 +52,13 @@ 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
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
Expand Down

0 comments on commit a73c8c6

Please sign in to comment.