Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering C# enums with the Sphinx renderer causes an exception #847

Closed
Esvandiary opened this issue Jun 8, 2022 · 0 comments · Fixed by #849
Closed

Rendering C# enums with the Sphinx renderer causes an exception #847

Esvandiary opened this issue Jun 8, 2022 · 0 comments · Fixed by #849

Comments

@Esvandiary
Copy link

Using doxygen version 1.9.4 (5d15657a55555e6181a7830a5c723af75e7577e2), Doxygen XML is generated and passed into Breathe to be rendered with Sphinx. If any C# enums are present in the input, Breathe's Sphinx renderer throws an exception:

Exception occurred:
    File "C:\Users\MyUsername\company\repo\build64\venv\lib\site-packages\breathe\renderer\sphinxrenderer.py", line 
  332, in create
      cls, name = DomainDirectiveFactory.cs_classes[args[0]]
  KeyError: 'enum-class'

(Full traceback is here).

An example input that causes the error is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant