mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
dc7fd7bfe9
Initial support for libtraceevent man pages - Documentation directory, templates, configurations, Makefiles. The first man page is also part of the patch - summary of the library and all its APIs. Building of the documentation is integrated into the libtraceevent build process, new targets are added to its Makefile: make help make doc make doc-clean make doc-install make doc-uninstall Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: linux-trace-devel@vger.kernel.org Link: http://lore.kernel.org/linux-trace-devel/20190503091119.23399-2-tstoyanov@vmware.com Link: http://lkml.kernel.org/r/20190510200106.104812629@goodmis.org [ Replaced tracefs tracing/events to tracefs events in DESCRIPTION section ] Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<!-- manpage-base.xsl:
|
|
special formatting for manpages rendered from asciidoc+docbook -->
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="1.0">
|
|
|
|
<!-- these params silence some output from xmlto -->
|
|
<xsl:param name="man.output.quietly" select="1"/>
|
|
<xsl:param name="refentry.meta.get.quietly" select="1"/>
|
|
|
|
<!-- convert asciidoc callouts to man page format;
|
|
git.docbook.backslash and git.docbook.dot params
|
|
must be supplied by another XSL file or other means -->
|
|
<xsl:template match="co">
|
|
<xsl:value-of select="concat(
|
|
$git.docbook.backslash,'fB(',
|
|
substring-after(@id,'-'),')',
|
|
$git.docbook.backslash,'fR')"/>
|
|
</xsl:template>
|
|
<xsl:template match="calloutlist">
|
|
<xsl:value-of select="$git.docbook.dot"/>
|
|
<xsl:text>sp </xsl:text>
|
|
<xsl:apply-templates/>
|
|
<xsl:text> </xsl:text>
|
|
</xsl:template>
|
|
<xsl:template match="callout">
|
|
<xsl:value-of select="concat(
|
|
$git.docbook.backslash,'fB',
|
|
substring-after(@arearefs,'-'),
|
|
'. ',$git.docbook.backslash,'fR')"/>
|
|
<xsl:apply-templates/>
|
|
<xsl:value-of select="$git.docbook.dot"/>
|
|
<xsl:text>br </xsl:text>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|