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):
- Source code repository (and issue tracker):
- Python Package Index:
- MIT – see the file
- Quick Start:
python3 -m pip install nbsphinx --user
index.rstand add the names of your
*.ipynbfiles to the
All content shown below – except for the section Normal reStructuredText Files – was generated from Jupyter notebooks.
- Markdown Cells
- Code Cells
- Raw Cells
- Hidden Cells
- Controlling Notebook Execution
- Notebooks in Sub-Directories
toctreeIn A Notebook
- Normal reStructuredText Files
- External Links
There is also An Orphan Notebook (HTML Only), just for the sake of it.