mirror of
https://github.com/boostorg/docca.git
synced 2026-01-19 04:12:08 +00:00
suppress private friends
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
<xsl:function name="d:should-ignore-friend">
|
||||
<xsl:param name="element" as="element(memberdef)"/>
|
||||
<xsl:sequence select="contains($element, '_helper')"/>
|
||||
<xsl:sequence select="not($element/@d:prot eq 'public') or contains($element, '_helper')"/>
|
||||
</xsl:function>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
||||
@@ -189,6 +189,7 @@
|
||||
<!-- Insert a reference to each child member's page ID -->
|
||||
<xsl:template mode="compound-page-insert" match="memberdef">
|
||||
<xsl:attribute name="d:page-refid" select="d:make-id(/doxygen/compounddef/compoundname||'.'||name)"/>
|
||||
<xsl:attribute name="d:prot" select="@prot"/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Alternative implementation in case we need to start controlling whitespace more
|
||||
|
||||
Reference in New Issue
Block a user