Subject: [Boost-docs] [boostbook] patch to trunk for cross-referencing typedefs
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-12-13 20:30:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Attached is a 1 line patch that makes putting the name of a typedef inside
a "classname" element successfully produce a link to the typedef's
documentation.
It might be more in keeping with the classname/methodname/functionname etc.
elements to introduce a "typedefname" element instead of broadening the use
of "classname", but I don't see any point in requiring documentation writers
to distinguish between real classes and typedef names. But I could do it
that way, if it is preferred.
I'll commit it to trunk in a few days if noone objects.
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHYZZo5vihyNWuA4URAhMHAKC9zf4eIfWEWoBt0HqIClQteqFuAACbB1Wg
sPelukTqarDOXr0NYE+KpkI=
=dwHd
-----END PGP SIGNATURE-----
--Boundary-00=_oZZYHTDd4yg4ONx
Content-Type: text/x-diff;
charset="utf-8";
name="xref_typedefs.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="xref_typedefs.patch"
Index: tools/boostbook/xsl/annotation.xsl
===================================================================
--- tools/boostbook/xsl/annotation.xsl (revision 42019)
+++ tools/boostbook/xsl/annotation.xsl (working copy)
@@ -8,7 +8,7 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <xsl:key name="classes" match="class|struct|union" use="@name"/>
+ <xsl:key name="classes" match="class|struct|union|typedef" use="@name"/>
<xsl:key name="methods" match="method|overloaded-method" use="@name"/>
<xsl:key name="functions" match="function|overloaded-function" use="@name"/>
<xsl:key name="enums" match="enum" use="@name"/>
--Boundary-00=_oZZYHTDd4yg4ONx--
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC