Path: blob/master/tools/perf/Documentation/manpage-base.xsl
26285 views
<!-- manpage-base.xsl:1special formatting for manpages rendered from asciidoc+docbook -->2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"3version="1.0">45<!-- these params silence some output from xmlto -->6<xsl:param name="man.output.quietly" select="1"/>7<xsl:param name="refentry.meta.get.quietly" select="1"/>89<!-- convert asciidoc callouts to man page format;10git.docbook.backslash and git.docbook.dot params11must be supplied by another XSL file or other means -->12<xsl:template match="co">13<xsl:value-of select="concat(14$git.docbook.backslash,'fB(',15substring-after(@id,'-'),')',16$git.docbook.backslash,'fR')"/>17</xsl:template>18<xsl:template match="calloutlist">19<xsl:value-of select="$git.docbook.dot"/>20<xsl:text>sp </xsl:text>21<xsl:apply-templates/>22<xsl:text> </xsl:text>23</xsl:template>24<xsl:template match="callout">25<xsl:value-of select="concat(26$git.docbook.backslash,'fB',27substring-after(@arearefs,'-'),28'. ',$git.docbook.backslash,'fR')"/>29<xsl:apply-templates/>30<xsl:value-of select="$git.docbook.dot"/>31<xsl:text>br </xsl:text>32</xsl:template>3334</xsl:stylesheet>353637