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



2008/10/27 Ross Burton <ross burtonini com>:
> 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.

Thanks for the quick reply!


-- 
mvh Björn


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