2
0
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:
Krystian Stasiowski
2023-07-25 12:04:04 -04:00
parent 4b61682742
commit 8ba36c0c1e
2 changed files with 2 additions and 1 deletions

View File

@@ -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>

View File

@@ -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