From 6675825eab07f1f690d7583466f70c4b1676e36c Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Wed, 26 Jul 2023 14:55:10 +0100 Subject: [PATCH] Support doxygen `@exception` command 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 --- pybind11_mkdoc/mkdoc_lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pybind11_mkdoc/mkdoc_lib.py b/pybind11_mkdoc/mkdoc_lib.py index 0d591d4..44b7e69 100755 --- a/pybind11_mkdoc/mkdoc_lib.py +++ b/pybind11_mkdoc/mkdoc_lib.py @@ -140,6 +140,7 @@ def process_comment(comment): 'sa': 'See also', 'see': 'See also', 'extends': 'Extends', + 'exception': 'Throws', 'throws': 'Throws', 'throw': 'Throws' }.items():