You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2009/06/15 18:43:28 UTC
svn commit: r784853 - /tomcat/trunk/webapps/docs/tomcat-docs.xsl
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org