X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=asciidoc.conf;h=90fdb6ad71cc437f0cce15d77d879fd2ba200cb3;hb=b2ea386030e3bccd197c42e335d811ed2cbaf2fd;hp=e4178cc21504b0210eda9e759a14f88b29c46119;hpb=a7bc4b1447f974fbbe400c3657d9ec3d0fda133e;p=tig.git diff --git a/asciidoc.conf b/asciidoc.conf index e4178cc..90fdb6a 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -1,14 +1,5 @@ -## 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] +[manpage-inlinemacro] {0%{target}} {0#} {0#{target}{0}} @@ -16,10 +7,56 @@ ifdef::backend-docbook[] endif::backend-docbook[] ifdef::backend-xhtml11[] -[gitlink-inlinemacro] +[manpage-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} + + +# 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] +
+ +[replacements] +(^|[^-\\])--($|[^-])=\1--\2 +endif::readme[]