mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Omit headers when there are no functions in them
[SVN r32757]
This commit is contained in:
parent
6d711bb2c1
commit
d0e0d55cab
@ -595,11 +595,19 @@ Cannot handle compounddef with kind=<xsl:value-of select="@kind"/>
|
||||
<xsl:apply-templates/>
|
||||
</xsl:when>
|
||||
<xsl:when test="@kind='private-func'">
|
||||
<method-group name="private member functions">
|
||||
<xsl:apply-templates>
|
||||
<xsl:with-param name="in-section" select="true()"/>
|
||||
</xsl:apply-templates>
|
||||
</method-group>
|
||||
<xsl:variable name="members" select="./memberdef"/>
|
||||
<xsl:variable name="num-internal-only">
|
||||
<xsl:value-of
|
||||
select="count($members[contains(detaileddescription/para,
|
||||
'INTERNAL ONLY')])"/>
|
||||
</xsl:variable>
|
||||
<xsl:if test="$num-internal-only < count($members)">
|
||||
<method-group name="private member functions">
|
||||
<xsl:apply-templates>
|
||||
<xsl:with-param name="in-section" select="true()"/>
|
||||
</xsl:apply-templates>
|
||||
</method-group>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates/>
|
||||
</xsl:when>
|
||||
<xsl:when test="@kind='public-static-attrib' or @kind='public-attrib'">
|
||||
|
Loading…
x
Reference in New Issue
Block a user