Skip to content

Create an examples gallery with sphinx from Jupyter Notebooks

License

Notifications You must be signed in to change notification settings

zyw400/sphinx-nbexamples

 
 

Repository files navigation

Create an examples gallery with sphinx from Jupyter Notebooks

docs Documentation Status
tests Travis Requirements Status Coverage
package PyPI Package latest release conda Latest github release
implementations Supported versions Supported implementations

Welcome! Similarly to Oscar Najeras sphinx-gallery module, this module intends to create an example gallery for your documentation. However, we don't use python scripts, instead we create the example gallery out of a bunch of jupyter notebooks using nbconvert.

This package can be used to

  1. Put all the examples you prepared in different notebooks in an pictured gallery
  2. use the same html (sphinx) scheme for your examples that you are using for your documentation
  3. Include the example notebooks in an offline (pdf) documentation
  4. Include not only the code, but also the link to required supplementary files
  5. Include a link to the Jupyter nbviewer

Installation

Simply install it via pip:

$ pip install sphinx-nbexamples

Or you install it via:

$ python setup.py install

from the source on GitHub.

Requirements

The package only requires Sphinx, ipython and nbconvert to be installed. It has been tested for versions higher than 1.3.

About

Create an examples gallery with sphinx from Jupyter Notebooks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.8%
  • Jupyter Notebook 23.9%
  • CSS 2.3%