Repository navigation
Description
A future enhancement. #337 proposes an engine input for build-lectures. Its default, jb1, runs today's jb build, and mystmd runs mystmd's own CLI, myst build. The issue's body says myst; the maintainer has since named the value mystmd, as recorded there. Jupyter Book 2 is built on mystmd and reads the same myst.yml, but it has its own command line, jupyter book, and it bundles its own mystmd: its package describes itself as "an opinionated distribution of mystmd". The maintainer wants it supported later, as a value of its own (2026-11-28).
Why it isn't in #337. QuantEcon's mystmd builds run myst build from a mystmd they build themselves: QuantEcon/test-lecture-theme-mystmd's CI builds it from the QuantEcon/mystmd fork at a pinned commit. A Jupyter Book 2 engine would run the mystmd Jupyter Book 2 bundles, not the fork. The fork also has things upstream lacks, such as myst build --ipynb. So mystmd comes first, and Jupyter Book 2 follows when a site needs it.
Proposal. Once #337 has shipped, add an engine value for Jupyter Book 2. The action runs jupyter book build with the builder's flag, from the folder that holds myst.yml, and applies the mystmd engine's checks where they carry over. The chapter says which apply. One pull request, with a harness job, a CHANGELOG entry and a staged release.
To settle when it's taken up.
- The value's name.
jb2is the natural choice besidejb1. But at QuantEcon "jb2" has also named the experimental mystmd-fork builds: lecture-python-programming'sjb2branch, and test-lecture-theme-mystmd's "experimental jb2 build". So the name should be one nobody can read as the fork. - How it reaches the runner. Jupyter Book 1 and 2 are the same PyPI package,
jupyter-book, and both images pin it below 2. So Jupyter Book 2 can't share an environment withjb1: it would come from the caller, an image of its own, or the action from a pin. - Shared checks. Whether it and
mystmdcan share the action's checks and its output layout.
Claude Code (on behalf of mmcky)
Activity