3 # Usage: gitlink:command[manpage-section]
5 # Note, {0} is the manpage section, while {target} is the command.
7 # Show GIT link as: <command>(<section>); if section is defined, else just show
10 ifdef::backend-docbook[]
14 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
16 endif::backend-docbook[]
18 ifdef::backend-xhtml11[]
20 <a href="{target}.html">{target}{0?({0})}</a>
21 endif::backend-xhtml11[]