mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
boostbook/xsl/doxygen/doxygen2boostbook.xsl:
- XSL stylesheet parameter boost.doxygen.reftitle sets the title of the generated library-reference element. build/v2/tools/doxygen.jam: - Free feature "reftitle" sets the title of the generated library-reference element. [SVN r23332]
This commit is contained in:
parent
9ea136fecd
commit
98f0c95ef0
@ -23,6 +23,10 @@
|
|||||||
mask from within Doxygen. This is a hack (big surprise). -->
|
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">detail::</xsl:param>
|
||||||
|
|
||||||
|
<!-- The title that will be used for the BoostBook library reference emitted.
|
||||||
|
If left blank, BoostBook will assign a default title. -->
|
||||||
|
<xsl:param name="boost.doxygen.reftitle" select="''"/>
|
||||||
|
|
||||||
<xsl:output method="xml" indent="yes" standalone="yes"/>
|
<xsl:output method="xml" indent="yes" standalone="yes"/>
|
||||||
|
|
||||||
<xsl:key name="compounds-by-kind" match="compounddef" use="@kind"/>
|
<xsl:key name="compounds-by-kind" match="compounddef" use="@kind"/>
|
||||||
@ -37,6 +41,9 @@
|
|||||||
|
|
||||||
<xsl:template match="doxygen">
|
<xsl:template match="doxygen">
|
||||||
<library-reference>
|
<library-reference>
|
||||||
|
<xsl:if test="string($boost.doxygen.reftitle) != ''">
|
||||||
|
<title><xsl:copy-of select="$boost.doxygen.reftitle"/></title>
|
||||||
|
</xsl:if>
|
||||||
<xsl:apply-templates select="key('compounds-by-kind', 'file')"/>
|
<xsl:apply-templates select="key('compounds-by-kind', 'file')"/>
|
||||||
</library-reference>
|
</library-reference>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user