Re: [Boost-docs] using boost_doc for non-boost lib

Subject: Re: [Boost-docs] using boost_doc for non-boost lib
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-09-04 23:25:02


On Tuesday 04 September 2007 19:18 pm, Frank Mori Hess wrote:
> Okay, I've traced my problem down to this bit in docbook.xsl:
>
> <!-- If there is no "namespace-reference" mode, forward to
> "reference" mode -->
> <xsl:template match="*" mode="namespace-reference">
> <xsl:apply-templates select="." mode="reference"/>
> </xsl:template>
>
> When I comment it out, the detailed documentation for my classes is
> generated. Moving it to the end of reference.xsl might also have been
> sufficient, if memory serves. For me, it prevents the
>
> <xsl:template match="class|class-specialization|
> struct|struct-specialization|
> union|union-specialization" mode="namespace-reference">
>
> template in type.xsl from getting applied. Does anyone else experience
> this problem?

And to reply to myself one more time, I suspect the reason things worked with
boost 1.34.1 was that its docbook.xsl does

<xsl:include href="reference.xsl"/

while boost_doc svn does

<xsl:import href="reference.xsl"/>

and imports have lower precedence than includes.

-- 
Frank



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