JakubAndrysek / MkDoxy

📖 Automatically generates API documentation for your project based on Doxygen comments and code snippets in your markdown files.
https://mkdoxy.kubaandrysek.cz/
MIT License
60 stars 16 forks source link

Support @par and other Doxygen commands #86

Closed zyphlar closed 4 months ago

zyphlar commented 4 months ago

Got this error:

  File "C:\Users\me\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mkdoxy\xml_parser.py", line 247, in paras
    ret.extend((Br(), MdBold([Text(SIMPLE_SECTIONS[kind])])))
KeyError: 'par'

As a temporary workaround I added this line to SIMPLE_SECTIONS in xml_parser.py:

"par": "\r\n",

Support for all/most Doxygen commands (or at least an easy workaround or warning for unknown commands) would be great: https://www.doxygen.nl/manual/commands.html