Skip to content

Commit 011de31

Browse files
authored
Support doxygen @exception command (#33)
Add support for the doxygen `@exception` command. The `@throws` and `@throw` commands are synonyms of `@exception`, but are already supported by pybind11_mkdoc. See https://www.doxygen.nl/manual/commands.html#cmdexception
1 parent 50ed564 commit 011de31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pybind11_mkdoc/mkdoc_lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def process_comment(comment):
140140
'sa': 'See also',
141141
'see': 'See also',
142142
'extends': 'Extends',
143+
'exception': 'Throws',
143144
'throws': 'Throws',
144145
'throw': 'Throws'
145146
}.items():

0 commit comments

Comments
 (0)