From 66d7ca6ff89002f09c3c1f905520401026e43ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20S=C3=B8rensen?= <191927387+markbujehein@users.noreply.github.com> Date: Wed, 21 Oct 2026 14:21:08 +0200 Subject: [PATCH] Support nested folder structure for tutorial notebooks Use recursive globbing in the notebook-strip pixi task so nbstripout also covers notebooks in subdirectories of docs/docs/tutorials, allowing tutorials to be organised into folders. --- template/pixi.toml.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/pixi.toml.jinja b/template/pixi.toml.jinja index aa6a72f..967ed20 100644 --- a/template/pixi.toml.jinja +++ b/template/pixi.toml.jinja @@ -199,7 +199,7 @@ cov = { depends-on = [ ######################## notebook-convert = 'jupytext docs/docs/tutorials/*.py --from py:percent --to ipynb' -notebook-strip = 'nbstripout docs/docs/tutorials/*.ipynb' +notebook-strip = 'nbstripout docs/docs/tutorials/**/*.ipynb' notebook-tweak = 'python tools/tweak_notebooks.py docs/docs/tutorials/' notebook-exec = 'python -m pytest --nbmake docs/docs/tutorials/ --nbmake-timeout=1200 --overwrite --color=yes -n auto -v'