X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/a7bc4b1447f974fbbe400c3657d9ec3d0fda133e..4ef1bf121de1697c9d54e10addcd34a4d19d3526:/asciidoc.conf diff --git a/asciidoc.conf b/asciidoc.conf index e4178cc..61b2d93 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}} @@ -20,6 +11,49 @@ ifdef::backend-xhtml11[] {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} + + +# The following two small workarounds insert a simple paragraph after screen +# + +[listingblock] +{title} + +| + +{title#} + +[verseblock] +{title} +{title%} +{title#} +| + +{title#} +endif::backend-docbook[] +endif::doctype-manpage[] + +ifdef::readme[] +# No header or footers for README.html +[header] +
+

{doctitle}

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