Skip to content

refactor: migrate from Jupyter Book to MyST MD#99

Merged
henryiii merged 2 commits into
mainfrom
henryiii/refactor/mystmd
May 28, 2026
Merged

refactor: migrate from Jupyter Book to MyST MD#99
henryiii merged 2 commits into
mainfrom
henryiii/refactor/mystmd

Conversation

@henryiii

@henryiii henryiii commented May 28, 2026

Copy link
Copy Markdown
Collaborator

I also hand fixed the build warnings, mostly already there before this upgrade.

🤖 Human guided, AI assisted PR (using this skill). AI text below. 🤖

Summary

Replace jupyter-book with mystmd for building the course site, modernizing to the native MyST MD toolchain.

Changes

  • myst.yml (new) — Consolidates _config.yml and _toc.yml into the MyST MD native configuration format, including project metadata, TOC (converted from JB parts/chapters to MyST title/children), exclude patterns, and site actions.
  • pixi.toml — Swapped jupyter-book and sphinxcontrib-mermaid for mystmd; updated build tasks to myst build --execute --html and myst build --execute --pdf.
  • environment.yml — Same dependency changes as pixi.toml.
  • noxfile.py — Removed the book session (building is now exclusively via pixi).
  • .github/workflows/cd.yml — Renamed artifact from jupyterbook to myst-site.
  • AGENTS.md — Updated to reflect mystmd tooling and myst.yml config references.
  • Deleted _config.yml and _toc.yml (replaced by myst.yml).

Assisted-by: OpenCode:glm-5

Replace jupyter-book with mystmd for building the course site.
- Create myst.yml consolidating _config.yml and _toc.yml into
  the MyST MD native configuration format
- Update pixi.toml: swap jupyter-book/sphinxcontrib-mermaid for
  mystmd, change build commands to myst build --execute --html
- Update environment.yml to match pixi.toml dependency changes
- Remove _config.yml and _toc.yml (replaced by myst.yml)
- Remove noxfile.py book session (building now via pixi only)
- Update cd.yml artifact name from jupyterbook to myst-site
- Update AGENTS.md to reflect new tooling and config

Assisted-by: OpenCode:glm-5
@henryiii henryiii force-pushed the henryiii/refactor/mystmd branch from 9bc5ed2 to d939f6e Compare May 28, 2026 21:28
@henryiii henryiii merged commit 71b7da1 into main May 28, 2026
4 checks passed
@henryiii henryiii deleted the henryiii/refactor/mystmd branch May 28, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant