summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-06 20:51:23 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-06 20:51:23 -0800
commit3ca1fff6117f971918ee353540f2633e163e6c6b (patch)
tree437353280a3e886eae25938ff9a9518a5dc89611 /Documentation
parent19bb732728e0e58790b7045250ed47d4831fade5 (diff)
parente920b5655719bee9c98a3d7d3b05ac6e8cf9d176 (diff)
downloadgit-3ca1fff6117f971918ee353540f2633e163e6c6b.tar.gz
Merge branch 'fd/asciidoc'
* fd/asciidoc: Tweak asciidoc output to work with broken docbook-xsl
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/asciidoc.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index fa0877d483..7ce71510de 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>