summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-16 17:07:25 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-16 17:07:28 +0000
commit25ae1c13833b4797338111fc55372938ec71ade4 (patch)
treee2fd102912b14f200dde7aa3f03614c8db5aa586 /doc
parenta1577e5f775d1563714e4f24f437674ea8d0ebb5 (diff)
parent4170023d6326a8c5dd15c7e5688c97f5c3a14c49 (diff)
Merge remote branch 'randomguy3/optional-pages'
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32442 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'doc')
-rw-r--r--doc/templates/devhelp.devhelp24
-rw-r--r--doc/templates/index.html10
-rw-r--r--doc/templates/interfaces.html10
3 files changed, 24 insertions, 0 deletions
diff --git a/doc/templates/devhelp.devhelp2 b/doc/templates/devhelp.devhelp2
index ca0a3ba6..cd7fe7a8 100644
--- a/doc/templates/devhelp.devhelp2
+++ b/doc/templates/devhelp.devhelp2
@@ -4,8 +4,12 @@
#for $interface in $spec.interfaces
<sub name="$interface.name" link="$interface.get_url()"/>
#end for
+#if len($spec.generic_types) > 0
<sub name="Generic Types" link="generic-types.html"/>
+#end if
+#if len($spec.errors) > 0
<sub name="Errors" link="errors.html"/>
+#end if
<sub name="Full Index" link="fullindex.html"/>
</chapters>
<functions>
diff --git a/doc/templates/index.html b/doc/templates/index.html
index 2b886179..90b7c665 100644
--- a/doc/templates/index.html
+++ b/doc/templates/index.html
@@ -10,8 +10,12 @@
<h1>$spec.title</h1>
<a href="#interfaces">Interfaces</a>
(<a href="interfaces.html">Compact</a>)
+#if len($spec.generic_types) > 0
| <a href="generic-types.html">Generic Types</a>
+#end if
+#if len($spec.errors) > 0
| <a href="errors.html">Errors</a>
+#end if
| <a href="fullindex.html">Full Index</a>
</div>
@@ -66,12 +70,18 @@
$output($spec.items)
</ul>
+#if len($spec.generic_types) > 0 or len($spec.errors) > 0
<a name="other"></a>
<h3>Other</h3>
<ul>
+ #if len($spec.generic_types) > 0
<li><a href="generic-types.html">Generic Types</a></li>
+ #end if
+ #if len($spec.errors) > 0
<li><a href="errors.html">Errors</a></li>
+ #end if
</ul>
+#end if
</div>
</body>
diff --git a/doc/templates/interfaces.html b/doc/templates/interfaces.html
index bf9e0ffc..85504d74 100644
--- a/doc/templates/interfaces.html
+++ b/doc/templates/interfaces.html
@@ -9,8 +9,12 @@
<div class="header">
<h1>$spec.title</h1>
<a href="index.html">Full</a>
+#if len($spec.generic_types) > 0
| <a href="generic-types.html">Generic Types</a>
+#end if
+#if len($spec.errors) > 0
| <a href="errors.html">Errors</a>
+#end if
| <a href="fullindex.html">Full Index</a>
</div>
@@ -38,12 +42,18 @@
#end for
</ul>
+#if len($spec.generic_types) > 0 or len($spec.errors) > 0
<a name="other"></a>
<h3>Other</h3>
<ul>
+ #if len($spec.generic_types) > 0
<li><a href="generic-types.html">Generic Types</a></li>
+ #end if
+ #if len($spec.errors) > 0
<li><a href="errors.html">Errors</a></li>
+ #end if
</ul>
+#end if
</div>
</body>