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"
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'"/>
12 <xsl:variable name="include-private-members" select="false()"/>
14 <xsl:variable name="additional-id-replacements" as="element(replace)*">
15 <replace pattern="boost::asio::error" with=""/>
18 <xsl:variable name="additional-type-replacements" as="element(replace)*">
19 <replace pattern="BOOST_ASIO_DECL ?(.*)" with="$1"/>
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/')}]
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 -->
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 -->
37 <xsl:function name="d:should-ignore-inner-class">
38 <xsl:param name="element" as="element(innerclass)"/>
39 <xsl:sequence select="contains($element, '_handler')"/>
42 <xsl:function name="d:should-ignore-friend">
43 <xsl:param name="element" as="element(memberdef)"/>
44 <xsl:sequence select="contains($element, '_helper')"/>