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:
parent
0f21adf3f9
commit
d678891e43
5 changed files with 65 additions and 4 deletions
|
|
@ -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); }
|
||||
|
||||
}
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue