[gtk-doc] mkdb,tests: fix the tests
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb,tests: fix the tests
- Date: Mon, 20 Sep 2010 07:58:21 +0000 (UTC)
commit 7810dcbf594a4debd8d414ff7dccc2399ea6b529
Author: Stefan Kost <ensonic users sf net>
Date: Mon Sep 20 10:54:05 2010 +0300
mkdb,tests: fix the tests
mkdb should also output the deprecated xi:include on first run. Add a few of the
missing xi:inlcudes in the tests.
gtkdoc-mkdb.in | 4 ++++
tests/annotations/docs/tester-docs.xml | 9 ++++++---
tests/bugs/docs/tester-docs.xml | 4 ++++
3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index d192852..bf5bbc7 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2496,6 +2496,10 @@ print OUTPUT <<EOF;
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
+ <index id="deprecated-api-index" role="deprecated">
+ <title>Index of deprecated API</title>
+ <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
+ </index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>
diff --git a/tests/annotations/docs/tester-docs.xml b/tests/annotations/docs/tester-docs.xml
index 3ef9ca0..69021c4 100644
--- a/tests/annotations/docs/tester-docs.xml
+++ b/tests/annotations/docs/tester-docs.xml
@@ -27,13 +27,16 @@
<index id="api-index">
<title>API Index</title>
+ <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
+ <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="api-index-0-1" role="0.1">
+ <title>Index of new API in 0.1</title>
+ <xi:include href="xml/api-index-0.1.xml"><xi:fallback /></xi:include>
</index>
- <!--index id="api-index-0-9" role="0.9">
- <title>Index of new API in 0.9</title>
- </index-->
<glossary>
<title>Glossary</title>
diff --git a/tests/bugs/docs/tester-docs.xml b/tests/bugs/docs/tester-docs.xml
index b804af6..67b18ef 100644
--- a/tests/bugs/docs/tester-docs.xml
+++ b/tests/bugs/docs/tester-docs.xml
@@ -27,5 +27,9 @@
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
+ <index id="api-index-0-1" role="0.1">
+ <title>Index of new API in 0.1</title>
+ <xi:include href="xml/api-index-0.1.xml"><xi:fallback /></xi:include>
+ </index>
</book>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]