mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 23:13:58 +00:00
patches to make doxy-to-boostbook work with latest version of Doxygen (1.4.6)
[SVN r33692]
This commit is contained in:
parent
5151a710a9
commit
13909dc8da
@ -448,11 +448,20 @@ Cannot handle compounddef with kind=<xsl:value-of select="@kind"/>
|
|||||||
<xsl:param name="with-namespace-refs"/>
|
<xsl:param name="with-namespace-refs"/>
|
||||||
<xsl:param name="in-file"/>
|
<xsl:param name="in-file"/>
|
||||||
|
|
||||||
<xsl:apply-templates select="key('compounds-by-id', @refid)">
|
<xsl:variable name="name">
|
||||||
<xsl:with-param name="with-namespace-refs"
|
<xsl:call-template name="strip-qualifiers">
|
||||||
select="$with-namespace-refs"/>
|
<xsl:with-param name="name" select="."/>
|
||||||
<xsl:with-param name="in-file" select="$in-file"/>
|
</xsl:call-template>
|
||||||
</xsl:apply-templates>
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!-- Only process this if it is indeed global -->
|
||||||
|
<xsl:if test=".=$name">
|
||||||
|
<xsl:apply-templates select="key('compounds-by-id', @refid)">
|
||||||
|
<xsl:with-param name="with-namespace-refs"
|
||||||
|
select="$with-namespace-refs"/>
|
||||||
|
<xsl:with-param name="in-file" select="$in-file"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="innerclass">
|
<xsl:template match="innerclass">
|
||||||
@ -795,7 +804,7 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
|||||||
<xsl:value-of select="normalize-space(declname/text())"/>
|
<xsl:value-of select="normalize-space(declname/text())"/>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:apply-templates select="../detaileddescription/para/parameterlist[attribute::kind='param']/parameterdescription"
|
<xsl:apply-templates select="../detaileddescription//parameterlist[attribute::kind='param']/*"
|
||||||
mode="parameter.description">
|
mode="parameter.description">
|
||||||
<xsl:with-param name="name">
|
<xsl:with-param name="name">
|
||||||
<xsl:value-of select="$name"/>
|
<xsl:value-of select="$name"/>
|
||||||
@ -804,6 +813,18 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
|||||||
</parameter>
|
</parameter>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="parameteritem" mode="parameter.description">
|
||||||
|
<!-- The parameter name we are looking for -->
|
||||||
|
<xsl:param name="name"/>
|
||||||
|
|
||||||
|
<xsl:if test="string(parameternamelist/parametername) = $name">
|
||||||
|
<description>
|
||||||
|
<xsl:apply-templates select="parameterdescription/para" mode="passthrough"/>
|
||||||
|
</description>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- For older versions of Doxygen, which didn't use parameteritem -->
|
||||||
<xsl:template match="parameterdescription" mode="parameter.description">
|
<xsl:template match="parameterdescription" mode="parameter.description">
|
||||||
<!-- The parameter name we are looking for -->
|
<!-- The parameter name we are looking for -->
|
||||||
<xsl:param name="name"/>
|
<xsl:param name="name"/>
|
||||||
@ -1148,12 +1169,12 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
|||||||
<xsl:if test="@kind='exception'">
|
<xsl:if test="@kind='exception'">
|
||||||
<simpara>
|
<simpara>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="normalize-space(parametername/text())='nothrow'">
|
<xsl:when test="normalize-space(.//parametername/text())='nothrow'">
|
||||||
<xsl:text>Will not throw.</xsl:text>
|
<xsl:text>Will not throw.</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<classname>
|
<classname>
|
||||||
<xsl:value-of select="parametername/text()"/>
|
<xsl:value-of select=".//parametername/text()"/>
|
||||||
</classname>
|
</classname>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<xsl:apply-templates
|
<xsl:apply-templates
|
||||||
|
Loading…
x
Reference in New Issue
Block a user