Skip to content

Commit

Permalink
Merge branch 'fix-section-target' of https://github.com/utzig/breathe
Browse files Browse the repository at this point in the history
  • Loading branch information
vermeeren committed Feb 14, 2021
2 parents f4945ee + 9f2c660 commit 3c057f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion breathe/renderer/sphinxrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,8 @@ def visit_docsectN(self, node) -> List[Node]:
@section == sect1, @subsection == sect2, @subsubsection == sect3
'''
section = nodes.section()
section['ids'].append(node.id)
section['ids'].append(self.get_refid(node.id))
section += self.create_doxygen_target(node)
section += nodes.title(node.title, node.title)
section += self.render_iterable(node.content_)
return [section]
Expand Down

0 comments on commit 3c057f9

Please sign in to comment.