summaryrefslogtreecommitdiff
path: root/Documentation/manpage-base-url.xsl.in
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2009-12-04 12:53:21 -0500
committerJunio C Hamano <gitster@pobox.com>2009-12-05 10:03:49 -0800
commit50d9bbba92c9dd5611a1bb592fc42463212413ad (patch)
tree92d1462a2b15ab05cf52f8e54ca7009af76d8f78 /Documentation/manpage-base-url.xsl.in
parent165ca62108464faa42367bcda6b278ac3a0d98cb (diff)
downloadgit-50d9bbba92c9dd5611a1bb592fc42463212413ad.tar.gz
Documentation: Avoid use of xmlto --stringparam
The --stringparam option is not available on older xmlto versions. Instead, set man.base.url.for.relative.links via a .xsl file. Older docbook versions will ignore this without causing grief to users of older xmlto versions. Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/manpage-base-url.xsl.in')
-rw-r--r--Documentation/manpage-base-url.xsl.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/manpage-base-url.xsl.in b/Documentation/manpage-base-url.xsl.in
new file mode 100644
index 0000000000..e800904df3
--- /dev/null
+++ b/Documentation/manpage-base-url.xsl.in
@@ -0,0 +1,10 @@
+<!-- manpage-base-url.xsl:
+ special settings for manpages rendered from newer docbook -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+<!-- set a base URL for relative links -->
+<xsl:param name="man.base.url.for.relative.links"
+ >@@MAN_BASE_URL@@</xsl:param>
+
+</xsl:stylesheet>