Re: gtk-doc doesn't handle multiple <title> tags



On Sun, 2008-10-26 at 22:18 +0100, BJörn Lindqvist wrote:
> I have gtk-doc documentation with an SGML structure like this:
> 
> <refsect1>
>   <title>blah</title>
>   <para>...</para>
>   <title>bla bla</title>
>   <para>...</para>
> </refsect1>
> 
> This used to generate HTML like this:
> 
> <h2>blah</h2>
> <p>...</p>
> <h2>bla bla</h2>
> <p>...</p>
> 
> But gtk-doc doesn't seem to do that anymore. It only generates a <h2>
> tag for the first <title> tag and suppresses the other <title> tags
> which makes me sad. Is it a bug in gtk-doc or something?

That was a bug in gtk-doc.  See
http://www.docbook.org/tdg/en/html/refsect1.html, a refsect1 can only
have a single title.  What you want is a refsect1 with multiple child
sections.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                           www: http://burtonini.com

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]