Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spatialaudio/nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://github.com/spatialaudio/nbsphinx

jupyter-notebook sphinx-doc sphinx-extension

Last synced: 7 days ago
JSON representation

:ledger: Sphinx source parser for Jupyter notebooks

Awesome Lists containing this project

README

        

Jupyter Notebook Tools for Sphinx
=================================

``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.

Quick Start:
#. 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!

Online documentation (and example of use):
https://nbsphinx.readthedocs.io/

Source code repository (and issue tracker):
https://github.com/spatialaudio/nbsphinx/

License:
MIT -- see the file ``LICENSE`` for details.

.. _Sphinx: https://www.sphinx-doc.org/
.. _Jupyter Notebook: https://jupyter.org/