X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/a7bc4b1447f974fbbe400c3657d9ec3d0fda133e..refs/tags/tig-0.8:/asciidoc.conf diff --git a/asciidoc.conf b/asciidoc.conf index e4178cc..8ad167a 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,46 @@ 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::doctype-manpage[] +ifdef::backend-docbook[] +[header] +template::[header-declarations] + + +{mantitle} +{manvolnum} +Tig +{version} +Tig Manual + + + {manname} + {manpurpose} + +endif::backend-docbook[] +endif::doctype-manpage[] + +ifdef::readme[] +# No header or footers for README.html +[header] +
+

{doctitle}

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