Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2007-11-28 12:03:31


Author: fmhess
Date: 2007-11-28 12:03:31 EST (Wed, 28 Nov 2007)
New Revision: 41435
URL: http://svn.boost.org/trac/boost/changeset/41435

Log:
Made class name in synopsis a link to class reference page, which is useful
for nested classes.

Text files modified:
   sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl | 14 +++++++++++++-
   1 files changed, 13 insertions(+), 1 deletions(-)

Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl 2007-11-28 12:03:31 EST (Wed, 28 Nov 2007)
@@ -880,7 +880,19 @@
       <xsl:with-param name="keyword" select="$class-key"/>
     </xsl:call-template>
     <xsl:text> </xsl:text>
- <xsl:value-of select="@name"/>
+
+ <!-- Make the class name a link to the class reference page (useful for nested classes) -->
+ <xsl:call-template name="internal-link">
+ <xsl:with-param name="to">
+ <xsl:call-template name="generate.id">
+ <xsl:with-param name="node" select="."/>
+ </xsl:call-template>
+ </xsl:with-param>
+ <xsl:with-param name="text">
+ <xsl:value-of select="@name"/>
+ </xsl:with-param>
+ </xsl:call-template>
+
     <xsl:apply-templates select="specialization"/>
 
     <xsl:choose>


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