Jupyter Book builds publication-quality books and web narratives from notebooks or MyST Markdown, executing code at build time and publishing interactive sites or PDF output.
Overview
Jupyter Book is an open-source tool for turning computational content into reusable, reproducible documents. Authors write in Jupyter notebooks or MyST Markdown, embed code cells, and use citations, cross-references, and numbered equations in the source.
A single command can execute embedded code, cache outputs, and produce both an interactive website and a publication-quality PDF. The current major release is built on the MyST document engine with faster builds and updated workflows compared to the earlier Sphinx-based line.
Build-time execution supports Python, R, Julia, and other languages named in the docs. Sites can cross-link to other MyST sites, connect to JupyterHub or Binder, or run Python in the browser for interactive widgets. Installation is through pip, with jupyter book init to scaffold a project and jupyter book start to build and preview locally.
Jupyter Book is an official Jupyter sub-project aimed at researchers, educators, and data scientists who want one pipeline from authored notebooks to deployed web books.
Key features
- Notebook and MyST Markdown authoring
- Build-time code execution
- Cross-references and citations
- Web book and PDF export
- MyST document engine
- Interactive widgets on published sites
- CLI init, build, and preview
Use cases
- Publish course or research books
- Share reproducible computational reports
- Convert notebooks to static websites
- Link documentation across MyST sites