Author: kpreisser Date: Thu Sep 26 12:37:07 2013 New Revision: 1526460 URL: http://svn.apache.org/r1526460 Log: Fix broken link to comments.html page when the directory of the docs is not "tomcat-x.x-doc", as reported on the users list.
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=1526460&r1=1526459&r2=1526460&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original) +++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Thu Sep 26 12:37:07 2013 @@ -50,7 +50,7 @@ <xsl:param name="filename" select="'-'"/> <!-- Defined variables (non-overrideable) --> - <xsl:variable name="commentslink">/<xsl:value-of select="$sitedir"/>comments.html</xsl:variable> + <xsl:variable name="commentslink"><xsl:value-of select="$relative-path"/>/comments.html</xsl:variable> <!-- Process an entire document into an HTML page --> <xsl:template match="document"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org