Author: fhanik
Date: Mon Jun 15 16:43:27 2009
New Revision: 784853
URL: http://svn.apache.org/viewvc?rev=784853&view=rev
Log:
Add in relative path to the left side menu. It's . by default so no changes.
But this lets one generate docs and point to a location.
Modified:
tomcat/trunk/webapps/docs/tomcat-docs.xsl
Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=784853&r1=784852&r2=784853&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Mon Jun 15 16:43:27 2009
@@ -178,7 +178,7 @@
<!-- Process a menu item for the navigation bar -->
<xsl:template match="item">
<xsl:variable name="href">
- <xsl:value-of select="@href"/>
+ <xsl:value-of select="$relative-path"/>/<xsl:value-of select="@href"/>
</xsl:variable>
<li><a href="{$href}"><xsl:value-of select="@name"/></a></li>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]