X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/a74fa1900a65384bc4140fe45a55877bc981b185..a7bc4b1447f974fbbe400c3657d9ec3d0fda133e:/asciidoc.conf diff --git a/asciidoc.conf b/asciidoc.conf new file mode 100644 index 0000000..e4178cc --- /dev/null +++ b/asciidoc.conf @@ -0,0 +1,25 @@ +## 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}} +{0#} +{0#{target}{0}} +{0#} +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=