Convert Jupyter notebooks to static html pages using
nbconvert. For example, we have a Jupyter notebook file,
my_example.ipynb. We run
jupyter nbconvert --to html --template full 2017-02-01-112657.ipynb
The above produce a whole HTML document including HTML header. If you wish to embed the notebook into your own page, you may use option
jupyter nbconvert --to html --template basic 2017-02-01-112657.ipynb
Another method is to use a
Pelicanextension, see ipynb_reader.
You can also use
nbviewerservice. See the following example and examine the URL.
Note that Github can now render a Jupyter notebook from its repository view. However, that is different from viewing a Jupyter notebook on a Github Pages site.