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 <!-- CONFIG_TEMPLATE -->
10 <xsl:variable name="additional-id-replacements" as="element(replace)*">
11 <replace pattern="boost::asio::error" with=""/>
14 <xsl:variable name="additional-type-replacements" as="element(replace)*">
15 <replace pattern="BOOST_ASIO_DECL ?(.*)" with="$1"/>
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/')}]
23 <!-- INCLUDES_FOOT_TEMPLATE -->
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 -->
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 -->
35 <xsl:function name="d:should-ignore-inner-class">
36 <xsl:param name="element" as="element(innerclass)"/>
37 <xsl:sequence select="contains($element, '_handler')"/>
40 <xsl:function name="d:should-ignore-friend">
41 <xsl:param name="element" as="element(memberdef)"/>
42 <xsl:sequence select="contains($element, '_helper')"/>