summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-07 04:51:23 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-07 04:51:23 (GMT)
commit3ca1fff6117f971918ee353540f2633e163e6c6b (patch)
tree437353280a3e886eae25938ff9a9518a5dc89611
parent19bb732728e0e58790b7045250ed47d4831fade5 (diff)
parente920b5655719bee9c98a3d7d3b05ac6e8cf9d176 (diff)
downloadgit-3ca1fff6117f971918ee353540f2633e163e6c6b.zip
git-3ca1fff6117f971918ee353540f2633e163e6c6b.tar.gz
git-3ca1fff6117f971918ee353540f2633e163e6c6b.tar.bz2
Merge branch 'fd/asciidoc'
* fd/asciidoc: Tweak asciidoc output to work with broken docbook-xsl
-rw-r--r--Documentation/asciidoc.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index fa0877d..7ce7151 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -18,6 +18,16 @@ ifdef::backend-docbook[]
{0#</citerefentry>}
endif::backend-docbook[]
+ifdef::backend-docbook[]
+# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
+[listingblock]
+<example><title>{title}</title>
+<literallayout>
+|
+</literallayout>
+{title#}</example>
+endif::backend-docbook[]
+
ifdef::backend-xhtml11[]
[gitlink-inlinemacro]
<a href="{target}.html">{target}{0?({0})}</a>