Sphinx was released in early 2008 as a tool to process the python documentation
The code depends on
- docutils (restructured text parser),
- jinja2 (templating tool) and
- pygments (highlighter).
- latex (fonts, mathematical formatting) - with the texlive package you’ll need latex-recommended, latex-extra and fonts-recommended.
- see the sphinx extension docs for how to use ReportLab’s rst2pdf instead.
The markup extends restructured text of docutils - adding more directives and roles, and linking across documents. As with ReST, text is white-space sensitive.
It has a set of extensions which includes:
- autodoc
- extract docstrings from documented code
- intersphinx
- link documentation to other python documentation
- doctest
- run docstrings through doctest
- linkcheck
- check all hyperlinks in document tree