nbsphinx is a Sphinx extension that provides a source parser for
*.ipynb files.
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.
Install nbsphinx
Edit your conf.py and add 'nbsphinx' to extensions.
Edit your index.rst and add the names of your *.ipynb files
to the toctree.
Run Sphinx!
MIT – see the file LICENSE for details.
All of the following content was generated from Jupyter notebooks, except for the sections Normal reStructuredText Files, Contributing, References and Version History, which were generated from Sphinx’s built-in reStructuredText format. The sections Custom Notebook Formats, Dummy Notebook 2 for Gallery and Using Markdown Files are using alternative storage formats for Jupyter notebooks, see Custom Notebook Formats for details.
nbsphinx Configuration Valuesnbsphinx_allow_errorsnbsphinx_assume_equationsnbsphinx_codecell_lexernbsphinx_custom_formatsnbsphinx_epilognbsphinx_executenbsphinx_execute_argumentsnbsphinx_input_promptnbsphinx_kernel_namenbsphinx_output_promptnbsphinx_prolognbsphinx_prompt_widthnbsphinx_requirejs_optionsnbsphinx_requirejs_pathnbsphinx_responsive_widthnbsphinx_thumbnailsnbsphinx_timeoutnbsphinx_widgets_optionsnbsphinx_widgets_pathtoctree In A Notebook
There is also An Orphan Notebook (HTML Only), just for the sake of it.