The marimo .py files in demos/ are the source of truth for our demo notebooks. We generate .ipynb files with executed outputs for GitHub preview and sharing.
- Before merging PRs that modify marimo notebooks
- After creating new demo notebooks
- When updating notebook outputs with latest library changes
uv run scripts/generate_ipynbs.pyThis will:
- Export all marimo notebooks to
.ipynbformat - Execute them to capture outputs
- Save in the
demos/directory