diff options
author | Todd Zullinger <tmz@pobox.com> | 2009-12-04 12:53:21 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-05 10:03:49 -0800 |
commit | 50d9bbba92c9dd5611a1bb592fc42463212413ad (patch) | |
tree | 92d1462a2b15ab05cf52f8e54ca7009af76d8f78 /Documentation/manpage-base-url.xsl.in | |
parent | 165ca62108464faa42367bcda6b278ac3a0d98cb (diff) | |
download | git-50d9bbba92c9dd5611a1bb592fc42463212413ad.tar.gz git-50d9bbba92c9dd5611a1bb592fc42463212413ad.tar.xz |
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.in | 10 |
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 000000000..e800904df --- /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> |