Translate Doxygen code blocks to Sphinx code blocks.

This ensures they are formatted correctly and syntax highlighted (currently
always as C++ code).
This commit is contained in:
Vadim Zeitlin 2014-08-06 18:18:20 +02:00
commit d678891e43
5 changed files with 65 additions and 4 deletions

View file

@ -50,7 +50,10 @@ commentVerifier.check(doxygen_basic_translate.function4.__doc__,
Warning: This may not work as expected
int main() { while(true); }
.. code-block:: c++
int main() { while(true); }
}
"""