-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
DoxygenRelated to -doxygen command line optionRelated to -doxygen command line option
Description
I'm not getting the expected results for python docstrings in this example:
%module mytest
%feature("doxygen:alias:examplePython") "\code{.py}"
%feature("doxygen:alias:endexamplePython") "\endcode"
/**
A splendid function.
@examplePython
Splendid('world')
@endexamplePython
*/
void Splendid(const char* str);
I'm getting this result:
def Splendid(str):
r"""
A splendid function.
\code{.py}
Splendid('world')
^[ndcode
"""
return _mytest.Splendid(str)
and am expecting to get this instead:
def Splendid(str):
r"""
A splendid function.
.. code-block:: python
Splendid('world')
"""
return _mytest.Splendid(str)
Metadata
Metadata
Assignees
Labels
DoxygenRelated to -doxygen command line optionRelated to -doxygen command line option