We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0810857 commit 50ed564Copy full SHA for 50ed564
pybind11_mkdoc/mkdoc_lib.py
@@ -153,7 +153,9 @@ def process_comment(comment):
153
s = re.sub(r'[\\@]code\s?(.*?)\s?[\\@]endcode',
154
r"```\n\1\n```\n", s, flags=re.DOTALL)
155
s = re.sub(r'[\\@]warning\s?(.*?)\s?\n\n',
156
- r'$.. warning::\n\n\1\n\n', s, flags=re.DOTALL)
+ r'\n\n$.. warning::\n\n\1\n\n', s, flags=re.DOTALL)
157
+ s = re.sub(r'[\\@]note\s?(.*?)\s?\n\n',
158
+ r'\n\n$.. note::\n\n\1\n\n', s, flags=re.DOTALL)
159
# Deprecated expects a version number for reST and not for Doxygen. Here the first word of the
160
# doxygen directives is assumed to correspond to the version number
161
s = re.sub(r'[\\@]deprecated\s(.*?)\s?(.*?)\s?\n\n',
0 commit comments