[Boost-docs] [boostbook][patch]remove spurious paragraph in overloaded method descriptions

Subject: [Boost-docs] [boostbook][patch]remove spurious paragraph in overloaded method descriptions
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-10-29 18:05:54


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

And here is another small patch for merging to trunk. It tweaks the anchor
for the description of an overloaded method so it doesn't generate an
otherwise empty paragraph in the html output.

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHJiEF5vihyNWuA4URAjZSAJ4/SFkH2zRbS5T0pR1yZJkiZUUGagCeI1S1
ZtS2AN0QfNAnyl1JOb+yyDg=
=JFPM
-----END PGP SIGNATURE-----

--Boundary-00=_FEiJHShoqYdqpnd
Content-Type: text/x-diff; charset="utf-8";
        name="overloaded_method_extra_paragraph.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
        filename="overloaded_method_extra_paragraph.patch"

Index: tools/boostbook/xsl/function.xsl
===================================================================
--- tools/boostbook/xsl/function.xsl (revision 40555)
+++ tools/boostbook/xsl/function.xsl (working copy)
@@ -995,10 +995,6 @@
     <xsl:call-template name="function.documentation">
       <xsl:with-param name="text">
         <para>
- <xsl:attribute name="id">
- <xsl:call-template name="generate.id"/>
- </xsl:attribute>
-
           <xsl:call-template name="preformatted">
             <xsl:with-param name="text">
               <xsl:for-each select="signature">
@@ -1009,6 +1005,11 @@
                   <xsl:with-param name="standalone" select="true()"/>
                 </xsl:call-template>
               </xsl:for-each>
+ <xsl:call-template name="anchor">
+ <xsl:with-param name="to">
+ <xsl:call-template name="generate.id"/>
+ </xsl:with-param>
+ </xsl:call-template>
             </xsl:with-param>
           </xsl:call-template>
         </para>

--Boundary-00=_FEiJHShoqYdqpnd--


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC