mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
function.xsl: Fix problem with ungrouped methods
[SVN r21065]
This commit is contained in:
parent
02fd5d3611
commit
91c19f9b91
@ -731,7 +731,19 @@
|
|||||||
|
|
||||||
<xsl:template name="function.documentation.compact">
|
<xsl:template name="function.documentation.compact">
|
||||||
<xsl:param name="text"/>
|
<xsl:param name="text"/>
|
||||||
<listitem><xsl:copy-of select="$text"/></listitem>
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="count(ancestor::free-function-group) > 0
|
||||||
|
or count(ancestor::method-group) > 0
|
||||||
|
or local-name(.)='constructor'
|
||||||
|
or local-name(.)='copy-assignment'
|
||||||
|
or local-name(.)='destructor'">
|
||||||
|
<listitem><xsl:copy-of select="$text"/></listitem>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:copy-of select="$text"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template name="function.documentation.standardese">
|
<xsl:template name="function.documentation.standardese">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user