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.
python3 -m pip install nbsphinx --user
conf.py and add
index.rst and add the names of your
All content shown below – except for the section Normal reStructuredText Files – was generated from Jupyter notebooks.
toctreeIn A Notebook
There is also An Orphan Notebook (HTML Only), just for the sake of it.