mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
doxygen/doxygen2boostbook.xsl:
- Don't emit <simpara>'s inside <purpose> - Don't emit namespaces with "detail" in them _at all_ [SVN r24197]
This commit is contained in:
parent
37d18ae5eb
commit
66296dbae8
@ -19,9 +19,13 @@
|
||||
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
||||
</xsl:param>
|
||||
|
||||
<!-- The namespace used to identify code that should not be
|
||||
processed at all. -->
|
||||
<xsl:param name="boost.doxygen.detailns">detail</xsl:param>
|
||||
|
||||
<!-- The substring used to identify unspecified types that we can't
|
||||
mask from within Doxygen. This is a hack (big surprise). -->
|
||||
<xsl:param name="boost.doxygen.detail">detail::</xsl:param>
|
||||
<xsl:param name="boost.doxygen.detail"><xsl:value-of select="$boost.doxygen.detailns"/>::</xsl:param>
|
||||
|
||||
<!-- The title that will be used for the BoostBook library reference emitted.
|
||||
If left blank, BoostBook will assign a default title. -->
|
||||
@ -103,7 +107,8 @@ Cannot handle compounddef with kind=<xsl:value-of select="@kind"/>
|
||||
|
||||
<xsl:variable name="fullname" select="string(compoundname)"/>
|
||||
|
||||
<xsl:if test="$with-namespace-refs[string(text())=$fullname]">
|
||||
<xsl:if test="$with-namespace-refs[string(text())=$fullname]
|
||||
and not(contains($fullname, $boost.doxygen.detailns))">
|
||||
<!-- Namespace without the prefix -->
|
||||
<xsl:variable name="rest">
|
||||
<xsl:call-template name="strip-qualifiers">
|
||||
@ -1204,9 +1209,7 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="para" mode="purpose">
|
||||
<simpara>
|
||||
<xsl:apply-templates select="*|text()" mode="passthrough"/>
|
||||
</simpara>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user