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 e260514 commit 00012aaCopy full SHA for 00012aa
pybind11_mkdoc/mkdoc_lib.py
@@ -92,13 +92,13 @@ def process_comment(comment):
92
leading_spaces = float('inf')
93
for s in comment.expandtabs(tabsize=4).splitlines():
94
s = s.strip()
95
- if s.startswith('/*'):
96
- s = s[2:].lstrip('*')
97
- elif s.endswith('*/'):
+ if s.endswith('*/'):
98
s = s[:-2].rstrip('*')
99
- elif s.startswith('///'):
100
- s = s[3:]
101
- if s.startswith('*'):
+ if s.startswith('/*'):
+ s = s[2:].lstrip('*!<')
+ elif s.startswith('//'):
+ s = s[2:].lstrip('/!<')
+ elif s.startswith('*'):
102
s = s[1:]
103
if len(s) > 0:
104
leading_spaces = min(leading_spaces, len(s) - len(s.lstrip()))
0 commit comments