A Normal reStructuredText File
This is a normal RST file.
Links to Notebooks
Links to notebooks can be easily created: A Notebook in a Sub-Directory (the
notebook title is used as link text).
You can also use an alternative text.
The above links were created with:
:ref:`an alternative text <subdir/another.ipynb>`
Links to subsections are also possible,
e.g. A Sub-Section (the subsection title is used
as link text) and alternative text.
These links were created with:
:ref:`alternative text <subdir/another.ipynb#A-Sub-Section>`
- Spaces in the section title have to be replaced by hyphens!
../” is not allowed, you have to specify the full path even if the
current source file is in a subdirectory!
Sphinx Directives for Jupyter Notebook Cells
For comparison, this is a “normal” Sphinx code block using
nbsphinx extension provides custom directives to show notebook cells:
This was created with
.. nbinput:: ipython3
6 * 7