Sphinx and reStructuredText

This section contains more information on the document generation engine Sphinx and reStructuredText markup language.

Structure of a reStructureText File

A typical reStructuredText source file contains a mixture of basic text, light markup elements (headings, tables, lists, etc.), as well as special inline and block markup elements, called roles and directives respectively. This is illustrated in the following figure:

../_images/rst-cc.jpeg

Typical structure of a reStructure.

More information on the various markup elements can be found from the following sources:

Links to reStructuredText documentation

Basic syntax and elements such as font style, lists and tables.

docutils or the rst primer

Advanced docutils directives.

docutils directives

Additional roles and directives provided by Sphinx.

sphinx directives

Additional roles and directives available in rapyds.

rapyds directives