<p>In <a href="https://github.com/geany/geany/pull/890#discussion_r53470941">scripts/gen-api-gtkdoc.py</a>:</p>
<pre style='color:#555'>> +        proc = DoxygenProcess()
> +        self.brief = proc.process_element(xml)
> +        self.extra += proc.get_extra()
> +
> +    def add_detail(self, xml):
> +        proc = DoxygenProcess()
> +        self.detail = proc.process_element(xml)
> +        self.extra += proc.get_extra()
> +        self.since = proc.get_since()
> +
> +    def add_member(self, xml):
> +        name = xml.find("name").text
> +        proc = DoxygenProcess()
> +        brief = proc.process_element(xml.find("briefdescription"))
> +        # optional doxygen command output appears within <detaileddescription />
> +        proc.process_element(xml.find("detaileddescription"))
</pre>
<p>I forgot to add: in the first case, the detaildescription part has only annotations (all text is in the briefdescription). This is because <a href="https://github.com/command" class="user-mention">@command</a> appear after the dot of the brief sentence.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/890/files#r53470941">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ937hLHe59_NSrM2qseD8BE7Cv8zks5plybWgaJpZM4HM9VD.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/890/files#r53470941"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>