| 1 |
|
| 2 |
Deviations from Doxygen & Autodoc |
| 3 |
================================= |
| 4 |
|
| 5 |
As Breathe attempts to bridge the gap between Sphinx and Doxygen it is confined |
| 6 |
by both what Doxygen outputs in its XML and what Sphinx will accept through the |
| 7 |
Docutils document model. |
| 8 |
|
| 9 |
This leads to a few differences between Breathe output and the Doxygen HTML |
| 10 |
output and the Sphinx Autodoc output. |
| 11 |
|
| 12 |
These are incomplete lists but we're keen to expand them as issues are brought |
| 13 |
to our attention. |
| 14 |
|
| 15 |
Doxygen |
| 16 |
------- |
| 17 |
|
| 18 |
- Doxygen allows both HTML and Markdown syntax for headings in comments. These |
| 19 |
are rendered as standard HTML headings in the output (h1, h2, h3, etc.) |
| 20 |
|
| 21 |
RestructuredText only allows headings at the start of document sections and |
| 22 |
you cannot put arbitrary sections into the output to gain the appearance of |
| 23 |
headings so any headings found in the doxygen comments are rendered as |
| 24 |
emphasized text in the Breathe HTML output. |
| 25 |
|
| 26 |
|
| 27 |
Sphinx Autodoc |
| 28 |
-------------- |
| 29 |
|
| 30 |
- No differences highlighted yet, though they certainly exist. |