Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 2.18 KB

a-normal-rst-file.rst

File metadata and controls

77 lines (52 loc) · 2.18 KB

Normal reStructuredText Files

This is a normal RST file.

Note

Those still work!

Links to notebooks can be easily created: subdir/a-notebook-in-a-subdir.ipynb (the notebook title is used as link text). You can also use an alternative text <subdir/a-notebook-in-a-subdir.ipynb>.

The above links were created with:

:ref:`subdir/a-notebook-in-a-subdir.ipynb`
:ref:`an alternative text <subdir/a-notebook-in-a-subdir.ipynb>`

Links to subsections are also possible, e.g. subdir/a-notebook-in-a-subdir.ipynb#A-Sub-Section (the subsection title is used as link text) and alternative text <subdir/a-notebook-in-a-subdir.ipynb#A-Sub-Section>.

These links were created with:

:ref:`subdir/a-notebook-in-a-subdir.ipynb#A-Sub-Section`
:ref:`alternative text <subdir/a-notebook-in-a-subdir.ipynb#A-Sub-Section>`

Note

  • 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 Info/Warning Boxes

Warning:

This is an experimental feature! Its usage may change in the future or it might disappear completely, so don't use it for now.

With a bit of luck, it will be possible (some time in the future) to create info/warning boxes in Markdown cells, see jupyter/notebook#1292. If this ever happens, nbsphinx will provide directives for creating such boxes. For now, there are two directives available: nbinfo and nbwarning. This is how an info box looks like:

Note:

This is an info box.

It may include nested formatting, even another info/warning box:

Warning: You should probably not use nested boxes!

Domain Objects