summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2023-01-26 13:39:36 +0200
committerKhaled Hosny <khaled@aliftype.com>2023-01-26 13:39:36 +0200
commit3cea38c02c0b04409069f19614d08e7850730905 (patch)
treed00753c744487810ad2e62fea7659c6fd8766654 /doc
parent0151a67e33f7c96645ae581b31861780b531a7e1 (diff)
downloadcairo-3cea38c02c0b04409069f19614d08e7850730905.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/public/cairo-docs.xml24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/public/cairo-docs.xml b/doc/public/cairo-docs.xml
index b5afa1b90..0a0e462f9 100644
--- a/doc/public/cairo-docs.xml
+++ b/doc/public/cairo-docs.xml
@@ -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>