summaryrefslogtreecommitdiff
path: root/doc/site.xsl
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-01-10 09:07:09 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-01-10 09:07:09 +0000
commita9b1363e0219e525792c65f0d0602995cf04e247 (patch)
tree608ff25f992fae96b6aa0a97442f871ac4b3e839 /doc/site.xsl
parentc2b06559f52f23285dfd07a9ba11491a3cc8b789 (diff)
downloadlibxslt-a9b1363e0219e525792c65f0d0602995cf04e247.tar.gz
libxslt-a9b1363e0219e525792c65f0d0602995cf04e247.tar.bz2
libxslt-a9b1363e0219e525792c65f0d0602995cf04e247.zip
Added new facility to "autogen" the search script. Fixed a few more
* doc/search.xml, doc/search.templ, doc/Makefile.am, doc/search.php.inc: Added new facility to "autogen" the search script. Fixed a few more problems with the API page generation. * doc/site.xsl, doc/api.xsl, doc/newapi.xsl: integrated the autogeneration of the php script. Note that from this point doc/search.php will be include in the generic "Rebuilt docs". * doc/*: api docs rebuilt.
Diffstat (limited to 'doc/site.xsl')
-rw-r--r--doc/site.xsl9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/site.xsl b/doc/site.xsl
index d2b89c0f..15979b85 100644
--- a/doc/site.xsl
+++ b/doc/site.xsl
@@ -13,12 +13,12 @@
<!-- dirname is used to 'choose' between libxslt and libexslt -->
<xsl:param name="dirname" select="''"/>
<!-- libname is the name of the library being documented -->
- <xsl:param name="libname" select="libxslt"/>
+ <xsl:param name="libname" select="'libxslt'"/>
<!-- logo_base points to the *.png logos used in headers -->
<xsl:param name="logo_base" select="''"/>
<!-- href_base gives the location of 'base documentation' files
- and is often changed by importing stylesheets -->
+ and can be changed by importing stylesheets -->
<xsl:variable name="href_base" select="''"/>
<xsl:variable name="home_base">
@@ -32,6 +32,8 @@
</xsl:choose>
</xsl:variable>
+ <xsl:variable name="menu_name" select="'Main Menu'"/>
+
<!--
- returns the filename associated to an ID in the original file
-->
@@ -173,7 +175,7 @@
<tr>
<td colspan="1" bgcolor="#eecfa1" align="center">
<center>
- <b>Main Menu</b>
+ <b><xsl:value-of select="$menu_name"/></b>
</center>
</td>
</tr>
@@ -394,6 +396,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<xsl:call-template name="generic_page">
<xsl:with-param name="title" select="$title"/>
<xsl:with-param name="target" select="$target"/>
+ <xsl:with-param name="toc" select="$toc"/>
</xsl:call-template>
</xsl:document>
</xsl:template>