| 1 |
The basic Sphinx documentation for testing |
| 2 |
========================================== |
| 3 |
|
| 4 |
Sphinx is a tool that makes it easy to create intelligent and beautiful |
| 5 |
documentation for Python projects (or other documents consisting of multiple |
| 6 |
reStructuredText sources), written by Georg Brandl. It was originally created |
| 7 |
for the new Python documentation, and has excellent facilities for Python |
| 8 |
project documentation, but C/C++ is supported as well, and more languages are |
| 9 |
planned. |
| 10 |
|
| 11 |
Sphinx uses reStructuredText as its markup language, and many of its strengths |
| 12 |
come from the power and straightforwardness of reStructuredText and its parsing |
| 13 |
and translating suite, the Docutils. |
| 14 |
|
| 15 |
features |
| 16 |
-------- |
| 17 |
|
| 18 |
Among its features are the following: |
| 19 |
|
| 20 |
* Output formats: HTML (including derivative formats such as HTML Help, Epub |
| 21 |
and Qt Help), plain text, manual pages and LaTeX or direct PDF output |
| 22 |
using rst2pdf |
| 23 |
* Extensive cross-references: semantic markup and automatic links |
| 24 |
for functions, classes, glossary terms and similar pieces of information |
| 25 |
* Hierarchical structure: easy definition of a document tree, with automatic |
| 26 |
links to siblings, parents and children |
| 27 |
* Automatic indices: general index as well as a module index |
| 28 |
* Code handling: automatic highlighting using the Pygments highlighter |
| 29 |
* Flexible HTML output using the Jinja 2 templating engine |
| 30 |
* Various extensions are available, e.g. for automatic testing of snippets |
| 31 |
and inclusion of appropriately formatted docstrings |