]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/docca/include/docca/base-config.xsl
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / docca / include / docca / base-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 <!-- Projects should override these default values using a project-specific custom-overrides.xsl module -->
9 <xsl:variable name="doc-ref" select="'docca.ref'"/>
10 <xsl:variable name="doc-ns" select="'example'"/>
11
12 <xsl:variable name="include-private-members" select="false()"/>
13
14 <xsl:variable name="additional-id-replacements" as="element(replace)*">
15 <replace pattern="boost::asio::error" with=""/>
16 </xsl:variable>
17
18 <xsl:variable name="additional-type-replacements" as="element(replace)*">
19 <replace pattern="BOOST_ASIO_DECL ?(.*)" with="$1"/>
20 </xsl:variable>
21
22 <!-- TODO: refactor the stage-two-specific rules into a separate module that can't intefere with stage one -->
23 <xsl:template mode="includes-template" match="location"
24 >Defined in header [include_file {substring-after(@file, 'include/')}]
25 </xsl:template>
26
27 <xsl:function name="d:should-ignore-compound">
28 <xsl:param name="element" as="element(compound)"/>
29 <xsl:sequence select="contains($element/name, '::detail')"/> <!-- TODO: Confirm this should be custom and not built-in behavior -->
30 </xsl:function>
31
32 <xsl:function name="d:should-ignore-base">
33 <xsl:param name="element" as="element(basecompoundref)"/>
34 <xsl:sequence select="contains($element, '::detail')"/> <!-- TODO: Confirm this should be custom and not built-in behavior -->
35 </xsl:function>
36
37 <xsl:function name="d:should-ignore-inner-class">
38 <xsl:param name="element" as="element(innerclass)"/>
39 <xsl:sequence select="contains($element, '_handler')"/>
40 </xsl:function>
41
42 <xsl:function name="d:should-ignore-friend">
43 <xsl:param name="element" as="element(memberdef)"/>
44 <xsl:sequence select="contains($element, '_helper')"/>
45 </xsl:function>
46
47 </xsl:stylesheet>