Skip to article frontmatterSkip to article content

A new paper on the design principles behind Jupyter Book 2 and the MyST Ecosystem

We’ve published a new paper in the SciPy Proceedings from 2025 It describes the design principles and architecture of Jupyter Book 2 and the MyST Document Engine. Read the full paper here.

High-level overview of Jupyter Book 2 components.
JB2 combines several components in the MyST ecosystem, configured for multi-document workflows such as community knowledge bases, websites, and books.
The MyST Document Engine parses MyST Markdown (and other flavors of text-based content) into an Abstract Syntax Tree (AST) that follows the MyST Document Specification.
It resolves and transforms this AST to enrich it with extra document metadata (such as resolving DOIs).
The engine then renders this AST to React components that are bundled with the Book Theme, which makes up the end-user application most-often used with JB2.

Figure 1:High-level overview of Jupyter Book 2 components. JB2 combines several components in the MyST ecosystem, configured for multi-document workflows such as community knowledge bases, websites, and books. The MyST Document Engine parses MyST Markdown (and other flavors of text-based content) into an Abstract Syntax Tree (AST) that follows the MyST Document Specification. It resolves and transforms this AST to enrich it with extra document metadata (such as resolving DOIs). The engine then renders this AST to React components that are bundled with the Book Theme, which makes up the end-user application most-often used with JB2.

Key principles

The paper outlines five design principles that guide Jupyter Book 2 and the MyST ecosystem:

Join us

We’re inviting the community to explore these ideas, try out Jupyter Book 2, and help shape the next generation of scientific publishing tools. Check out the paper to learn more about the technical details and design decisions.

Links:

References
  1. Jupyter, P., Bolyen, E., Caporaso, J. G., Cockett, R., Garside, D., Holdgraf, C., Hollands, A., Kent, J., Koch, F., Madge, J., McKay, M., Morrison, M., Pérez, F., Purves, S., Kelley, M. R., Rose, B. E. J., Sharan, M., Sipőcz, B. M., Walt, S. J., & Whitaker, K. J. (2025). Jupyter Book 2 and the MyST Document Stack: A modular, extensible, web-native stack for authoring and publishing computational narratives. Proceedings of the 24th Python in Science Conference, 173–193. 10.25080/hwcj9957