Skip to content

Commit 9d8d13a

Browse files
ChrisJohnsengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8fa2b45 commit 9d8d13a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Documentation/manpage-1.72.xsl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,4 @@
1111
<xsl:param name="git.docbook.backslash">&#x2593;</xsl:param>
1212
<xsl:param name="git.docbook.dot" >&#x2302;</xsl:param>
1313

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-
1814
</xsl:stylesheet>

Documentation/manpage-base.xsl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
44
version="1.0">
55

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+
610
<!-- convert asciidoc callouts to man page format;
711
git.docbook.backslash and git.docbook.dot params
812
must be supplied by another XSL file or other means -->

0 commit comments

Comments
 (0)