Kevin Putnam

Results 17 comments of Kevin Putnam

@anjalirajasekhar I just returned from vacation, so I'm a little rusty. Which directive are you using?

ids for the nodes are set in sphinxrenderer.py [here](https://github.com/breathe-doc/breathe/blob/bf020a8c284929f48033c0c8fb9de37615d5c0c1/breathe/renderer/sphinxrenderer.py#L1430C55-L1430C55). Adding the refid for the parent object would make the entries fully unique.

Based on a little experimenting, this appears to work: ``` python refidtext = self.get_refid(self.qualification_stack[0].refid) idtext = text.replace(" ", "-").lower() rubric = nodes.rubric( text=text, classes=["breathe-sectiondef-title"], ids=[refidtext + "-breathe-section-title-" + idtext], )...

I haven't dived fully into the code yet, but I think I know the basics of what is going on here. Notes and Warnings appear as `` and `` in...

Sorry, I spoke too soon, not being familiar with how Verbatim works. My case is different as the warnings and notes are generated from Markdown content and rendered into Doxygen...

So completely wrong with my guess. The culprit for both problems is sphinxrenderer.py lines 889 and 890: ``` python pullup(candNode, nodes.note, admonitions) pullup(candNode, nodes.warning, admonitions) ```

Is there a reason that this would be a good idea, since it appears to be on purpose?