X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/a7bc4b1447f974fbbe400c3657d9ec3d0fda133e..9a48919bfae4a744d0f852d834aa93e71293e8f0:/asciidoc.conf diff --git a/asciidoc.conf b/asciidoc.conf index e4178cc..8343a86 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -1,12 +1,3 @@ -## gitlink: macro -# -# Usage: gitlink:command[manpage-section] -# -# Note, {0} is the manpage section, while {target} is the command. -# -# Show GIT link as: (
); if section is defined, else just show -# the command. - ifdef::backend-docbook[] [gitlink-inlinemacro] {0%{target}} @@ -15,11 +6,27 @@ ifdef::backend-docbook[] {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[] -[attributes] -# Five non breaking spaces used for option indentation in the quick reference -cg-refopt=      +ifdef::readme[] +# No header or footers for README.html +[header] +
+

{doctitle}

+ +[footer] +
+endif::readme[]