Skip to content

Support nested folder structure for tutorial notebooks - #62

Open
markbujehein wants to merge 1 commit into
easyscience:developfrom
markbujehein:add-nbstripout-recursive-globbing
Open

markbujehein wants to merge 1 commit into
easyscience:developfrom
markbujehein:add-nbstripout-recursive-globbing

Conversation

@markbujehein

Copy link
Copy Markdown

Allow tutorials to use a nested folder structure under docs/docs/tutorials/. Currently, the notebook-strip task only supports a flat folder structure, meaning notebooks in subfolders are not stripped. Supporting a nested folder structure would be beneficial for EasyScience libs with a lot of tutorials.

AFAIK, the globbing is handled entirely by pixi and hasn't caused any OS-related path issues during testing.

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.
@damskii9992 damskii9992 added [scope] bug Bug report or fix (major.minor.PATCH) [priority] medium Normal/default priority labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] medium Normal/default priority [scope] bug Bug report or fix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants