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

Fixed doxygenfile causing duplicate IDs. #622

Merged
merged 1 commit into from
Jan 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions breathe/renderer/sphinxrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,13 +1165,13 @@ def render_derivedcompoundref(node):

# Get all sub sections
for sectiondef in node.sectiondef:
kind = sectiondef.kind
if section_order is not None and kind not in section_order:
continue
child_nodes = self.render(sectiondef)
if not child_nodes:
# Skip empty section
continue
kind = sectiondef.kind
if section_order is not None and kind not in section_order:
continue
rst_node = nodes.container(classes=['breathe-sectiondef'])
rst_node.document = self.state.document
rst_node['objtype'] = kind
Expand Down