diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/templates/devhelp.devhelp2 | 4 | ||||
-rw-r--r-- | doc/templates/index.html | 10 | ||||
-rw-r--r-- | doc/templates/interfaces.html | 10 |
3 files changed, 24 insertions, 0 deletions
diff --git a/doc/templates/devhelp.devhelp2 b/doc/templates/devhelp.devhelp2 index 6cf685ac..770a93c6 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 7c03fe6c..0a3cde58 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 a93334c6..a3ee5040 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> |