Jupyter Notebook Tools for Sphinx¶
nbsphinx is a Sphinx extension that provides a source parser for
Custom Sphinx directives are used to show Jupyter Notebook code cells (and of
course their results) in both HTML and LaTeX output.
Un-evaluated notebooks – i.e. notebooks without stored output cells – will be
automatically executed during the Sphinx build process.
- Documentation (and example of use):
- Python Package Index:
- MIT – see the file
- Quick Start:
pip install nbsphinx --user
index.rstand add the names of your
*.ipynbfiles to the
All content shown below – except for the section A Normal reStructuredText File – was generated from Jupyter notebooks.
- Markdown Cells
- Code Cells
- Raw Cells
- A Pre-Executed Notebook
- Ignoring Errors
- Hidden Cells
- A Notebook in a Sub-Directory
toctreeIn A Notebook
- A Normal reStructuredText File
- External Links
There is also An Orphan Notebook (HTML Only), just for the sake of it.