GNOME Bugzilla – Bug 562064
index generation trouble
Last modified: 2008-12-01 09:23:52 UTC
I am seeing a problem with index entries for child properties and style properties. The links in the the index point to the name as for a regular property, e.g. GtkBox--pack-type or GtkDialog--content-area-spacing, but the ids that are generated are GtkBox--c-pack-type and GtkDialog--s-content-area-spacing. Looking at the generated xml in api-index-full.xml, I see <indexentry><primaryie linkends="GtkBox--c-pack-type"><link linkend="GtkBox--pack-type">GtkBox:pack-type</link></primaryie></indexentry> The primaryie linkends are correct, but there is a link inside it with the wrong linkend, and the html link seems to be generated from the link element, not the primaryie element. This is with gtk-doc 1.11, ie the index is generated in perl by gtkdoc-mkdb, not in xsl.
Created attachment 123287 [details] [review] a patch
Works. Thanks for patch 2008-12-01 Stefan Kost <ensonic@users.sf.net> patch by: Matthias Clasen <mclasen@redhat.com> * gtkdoc-mkdb.in: Fix index-id generation for child and style properties. Fixes #562064.