|
Boost-Commit : |
From: fmhess_at_[hidden]
Date: 2007-09-12 09:28:38
Author: fmhess
Date: 2007-09-12 09:28:37 EDT (Wed, 12 Sep 2007)
New Revision: 39213
URL: http://svn.boost.org/trac/boost/changeset/39213
Log:
Fixed the link to LICENSE_1_0.txt in the footer of the html
output, making it look for the file in the project's root directory.
Text files modified:
sandbox/boost_docs/trunk/tools/boostbook/xsl/footer.xsl | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/footer.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/footer.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/footer.xsl 2007-09-12 09:28:37 EDT (Wed, 12 Sep 2007)
@@ -44,7 +44,12 @@
</div>
<div id="license">
<p>Distributed under the
- <a href="/LICENSE_1_0.txt"
+ <xsl:variable name="fixedup.project.root">
+ <xsl:call-template name="href.target.relative">
+ <xsl:with-param name="target" select="$project.root"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <a href="{$fixedup.project.root}/LICENSE_1_0.txt"
class="internal">Boost Software License, Version 1.0</a>.
</p>
</div>
@@ -88,7 +93,7 @@
<xsl:when test="$month=11">November</xsl:when>
<xsl:when test="$month=12">December</xsl:when>
</xsl:choose>
- </xsl:template>
+ </xsl:template>
<xsl:template name="format.cvs.revision">
@@ -224,4 +229,4 @@
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk