]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/docca/include/docca/config.xsl
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / tools / docca / include / docca / config.xsl
1 <xsl:stylesheet version="3.0"
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
4 xmlns:d="http://github.com/vinniefalco/docca"
5 exclude-result-prefixes="xs d"
6 expand-text="yes">
7
8 <!-- CONFIG_TEMPLATE -->
9
10 <xsl:variable name="additional-id-replacements" as="element(replace)*">
11 <replace pattern="boost::asio::error" with=""/>
12 </xsl:variable>
13
14 <xsl:variable name="additional-type-replacements" as="element(replace)*">
15 <replace pattern="BOOST_ASIO_DECL ?(.*)" with="$1"/>
16 </xsl:variable>
17
18 <!-- TODO: refactor the stage-two-specific rules into a separate module that can't intefere with stage one -->
19 <xsl:template mode="includes-template" match="location"
20 >Defined in header [include_file {substring-after(@file, 'include/')}]
21 </xsl:template>
22
23 <!-- INCLUDES_FOOT_TEMPLATE -->
24
25 <xsl:function name="d:should-ignore-compound">
26 <xsl:param name="element" as="element(compound)"/>
27 <xsl:sequence select="contains($element/name, '::detail')"/> <!-- TODO: Confirm this should be custom and not built-in behavior -->
28 </xsl:function>
29
30 <xsl:function name="d:should-ignore-base">
31 <xsl:param name="element" as="element(basecompoundref)"/>
32 <xsl:sequence select="contains($element, '::detail')"/> <!-- TODO: Confirm this should be custom and not built-in behavior -->
33 </xsl:function>
34
35 <xsl:function name="d:should-ignore-inner-class">
36 <xsl:param name="element" as="element(innerclass)"/>
37 <xsl:sequence select="contains($element, '_handler')"/>
38 </xsl:function>
39
40 <xsl:function name="d:should-ignore-friend">
41 <xsl:param name="element" as="element(memberdef)"/>
42 <xsl:sequence select="contains($element, '_helper')"/>
43 </xsl:function>
44
45 </xsl:stylesheet>