From 055377f4dd85a509d05eebbc4c4192ff637cb2d5 Mon Sep 17 00:00:00 2001 From: Neil Vaytet Date: Sat, 17 Jan 2026 21:50:51 +0100 Subject: [PATCH 1/2] do not build notebooks when doing linkcheck --- template/tox.ini.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/tox.ini.jinja b/template/tox.ini.jinja index e263df8..b07d764 100644 --- a/template/tox.ini.jinja +++ b/template/tox.ini.jinja @@ -27,7 +27,7 @@ description = invoke sphinx-build to build the HTML docs deps = -r requirements/docs.txt allowlist_externals=find commands = python -m sphinx -W -j2 -v -b html -d {toxworkdir}/docs_doctrees docs html - python -m sphinx -W -j2 -v -b doctest -d {toxworkdir}/docs_doctrees docs html + python -m sphinx -W -j2 -v -b doctest -d {toxworkdir}/docs_doctrees -D nbsphinx_execute=never docs html find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete [testenv:releasedocs] From 646087019bdbdf1a7f4e6c079700368fd167d6f0 Mon Sep 17 00:00:00 2001 From: Neil Vaytet Date: Mon, 19 Jan 2026 14:19:19 +0100 Subject: [PATCH 2/2] do not build for linkcheck --- template/tox.ini.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/tox.ini.jinja b/template/tox.ini.jinja index b07d764..25f9f27 100644 --- a/template/tox.ini.jinja +++ b/template/tox.ini.jinja @@ -42,7 +42,7 @@ commands = {[testenv:docs]commands} [testenv:linkcheck] description = Run Sphinx linkcheck deps = -r requirements/docs.txt -commands = python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees docs html +commands = python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees -D nbsphinx_execute=never docs html [testenv:static] description = Code formatting and static analysis