doc: fix generation of API indices

The index id is expected to be "api-index-*" not just "index-*", and for
some reason newer versions of gtk-doc don’t like these "role" attributes
and will not generate the index if they are present. Also add missing
indices for 1.0 and 1.18.
This commit is contained in:
Khaled Hosny 2023-01-26 13:39:36 +02:00
parent 0151a67e33
commit 3cea38c02c

View file

@ -56,32 +56,38 @@
<xi:include href="xml/cairo-version.xml"/>
<xi:include href="xml/cairo-types.xml"/>
</chapter>
<index id="index-all">
<index id="api-index-all">
<title>Index</title>
</index>
<index id="index-1.2" role="1.2">
<index id="api-index-1.0">
<title>Index of new symbols in 1.0</title>
</index>
<index id="api-index-1.2">
<title>Index of new symbols in 1.2</title>
</index>
<index id="index-1.4" role="1.4">
<index id="api-index-1.4">
<title>Index of new symbols in 1.4</title>
</index>
<index id="index-1.6" role="1.6">
<index id="api-index-1.6">
<title>Index of new symbols in 1.6</title>
</index>
<index id="index-1.8" role="1.8">
<index id="api-index-1.8">
<title>Index of new symbols in 1.8</title>
</index>
<index id="index-1.10" role="1.10">
<index id="api-index-1.10">
<title>Index of new symbols in 1.10</title>
</index>
<index id="index-1.12" role="1.12">
<index id="api-index-1.12">
<title>Index of new symbols in 1.12</title>
</index>
<index id="index-1.14" role="1.14">
<index id="api-index-1.14">
<title>Index of new symbols in 1.14</title>
</index>
<index id="index-1.16" role="1.16">
<index id="api-index-1.16">
<title>Index of new symbols in 1.16</title>
</index>
<index id="api-index-1.18">
<title>Index of new symbols in 1.18</title>
</index>
<xi:include href="language-bindings.xml"/>
</book>