Implement translation of Doxygen formulae to Sphinx notation.

This allows to automatically have nicely looking formulae in HTML output when
using Sphinx with e.g. sphinx.ext.mathjax extension.
This commit is contained in:
Vadim Zeitlin 2014-07-12 19:26:29 +02:00
commit b96dd8bb97

View file

@ -93,13 +93,16 @@ r"""
\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}
:math:`\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}`
.. math::
\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}
.. math::
\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}
@ -113,6 +116,7 @@ r"""
This will only appear in hmtl
""")