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 <xsl:variable name="include-private-members" select="false()"/> 19 20 <!-- TODO: refactor the stage-two-specific rules into a separate module that can't intefere with stage one --> 21 <xsl:template mode="includes-template" match="location" 22 >Defined in header [include_file {substring-after(@file, 'include/')}] 23 </xsl:template> 24 25<!-- INCLUDES_FOOT_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> 48