Re: Chapter IDs instead of chapter numbers



On Sun, Jul 19, 2009 at 10:42:02AM +0200, Murray Cumming wrote:
> How can we make gtk-doc use a (DocBook?) specified chapter id (or one
> based on the title) instead of a generated chapter number, so that the
> URL stays the same even if a chapter is added in the middle:

If you give it an id in the DocBook source, e.g.

<refentry id="...">
<chapter id="...">

it should be used because gtk-doc.xsl does

<xsl:param name="use.id.as.filename" select="1"/>

It works for me.

Yeti



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