mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
INTERNAL ONLY works for macros, consistent file name check
[SVN r32244]
This commit is contained in:
parent
2a0878cc42
commit
0511e808ef
@ -379,7 +379,14 @@ Cannot handle compounddef with kind=<xsl:value-of select="@kind"/>
|
||||
<xsl:param name="with-namespace-refs"/>
|
||||
<xsl:param name="in-file"/>
|
||||
|
||||
<xsl:if test="@kind='define'">
|
||||
<xsl:choose>
|
||||
<!-- If the string INTERNAL ONLY is in the description, don't
|
||||
emit this entity. This hack is necessary because Doxygen doesn't
|
||||
tell us what is \internal and what isn't. -->
|
||||
<xsl:when test="contains(detaileddescription/para, 'INTERNAL ONLY')"/>
|
||||
<xsl:when test="contains(briefdescription/para, 'INTERNAL ONLY')"/>
|
||||
|
||||
<xsl:when test="@kind='define'">
|
||||
<macro>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="name/text()"/>
|
||||
@ -402,7 +409,8 @@ Cannot handle compounddef with kind=<xsl:value-of select="@kind"/>
|
||||
<xsl:apply-templates select="briefdescription" mode="passthrough"/>
|
||||
<xsl:apply-templates select="detaileddescription" mode="passthrough"/>
|
||||
</macro>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="innerclass" mode="toplevel">
|
||||
@ -686,7 +694,8 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
<xsl:template name="typedef">
|
||||
<xsl:param name="in-file" select="''"/>
|
||||
|
||||
<xsl:if test="contains(string(location/attribute::file), $in-file)">
|
||||
<xsl:if test="contains(string(location/attribute::file),
|
||||
concat('/', $in-file))">
|
||||
<!-- TBD: Handle public/protected/private -->
|
||||
<typedef>
|
||||
<!-- Name of the type -->
|
||||
@ -969,7 +978,8 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
<!-- Handle member variables -->
|
||||
<xsl:template name="variable">
|
||||
<xsl:param name="in-file"/>
|
||||
<xsl:if test="contains(string(location/attribute::file), $in-file)">
|
||||
<xsl:if test="contains(string(location/attribute::file),
|
||||
concat('/', $in-file))">
|
||||
<data-member>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="name/text()"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user