@matheusbsbs / matheus-bagliano / commits / 9d8d13a8c5
Fork 0

Documentation: move quieting params into manpage-base.xsl

Move a couple of XSL parameters that act to silence informational/warning messages generated when running xmlto from manpage-1.72.xsl to manpage-base.xsl. Since unused parameters are silently ignored, there is no problem if some version of docbook-xsl does not know about these parameters. The only problem might be if a version of docbook-xsl uses the parameters for alternate functionality. Since both parameters have fairly specific names such a situation is unlikely. Testing done with asciidoc 8.3.1 and docbook-xsl 1.74.0. Signed-off-by: Chris Johnsen <chris_johnsen@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Chris Johnsen committed Mar 27, 2009 at 01:44 UTC 9d8d13a8c52c55ad4695b659cbffa61e4c3a3774
2 files changed +4 -4
Documentation/manpage-1.72.xsl
-4
@@ -11,8 +11,4 @@
11 <xsl:param name="git.docbook.backslash">&#x2593;</xsl:param>
12 <xsl:param name="git.docbook.dot" >&#x2302;</xsl:param>
13
14 -<!-- these params silence some output from xmlto -->
15 -<xsl:param name="man.output.quietly" select="1"/>
16 -<xsl:param name="refentry.meta.get.quietly" select="1"/>
17 -
14 </xsl:stylesheet>
Documentation/manpage-base.xsl
+4
@@ -3,6 +3,10 @@
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
5
6 +<!-- these params silence some output from xmlto -->
7 +<xsl:param name="man.output.quietly" select="1"/>
8 +<xsl:param name="refentry.meta.get.quietly" select="1"/>
9 +
10 <!-- convert asciidoc callouts to man page format;
11 git.docbook.backslash and git.docbook.dot params
12 must be supplied by another XSL file or other means -->