X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/04e2b7b214944044250edfea5634cbf919473cf4..511147de010477fc7808df7fc535a32dd59fae31:/asciidoc.conf
diff --git a/asciidoc.conf b/asciidoc.conf
new file mode 100644
index 0000000..a23a8f4
--- /dev/null
+++ b/asciidoc.conf
@@ -0,0 +1,32 @@
+ifdef::backend-docbook[]
+[gitlink-inlinemacro]
+{0%{target}}
+{0#}
+{0#{target}{0}}
+{0#}
+endif::backend-docbook[]
+
+ifdef::backend-docbook[]
+# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
+[listingblock]
+{title}
+
+|
+
+{title#}
+endif::backend-docbook[]
+
+ifdef::backend-xhtml11[]
+[gitlink-inlinemacro]
+{target}{0?({0})}
+endif::backend-xhtml11[]
+
+ifdef::readme[]
+# No header or footers for README.html
+[header]
+
+
{doctitle}
+
+[footer]
+
+endif::readme[]