Teach git-local-fetch the --stdin switch
[git/dscho.git] / Documentation / asciidoc.conf
blob8196d787ab13475200f7c0e739b21f525ba9e4ae
1 ## gitlink: macro
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
8 # the command.
10 [attributes]
11 caret=^
12 startsb=&#91;
13 endsb=&#93;
15 ifdef::backend-docbook[]
16 [gitlink-inlinemacro]
17 {0%{target}}
18 {0#<citerefentry>}
19 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
20 {0#</citerefentry>}
21 endif::backend-docbook[]
23 ifdef::backend-docbook[]
24 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
25 [listingblock]
26 <example><title>{title}</title>
27 <literallayout>
29 </literallayout>
30 {title#}</example>
31 endif::backend-docbook[]
33 ifdef::backend-xhtml11[]
34 [gitlink-inlinemacro]
35 <a href="{target}.html">{target}{0?({0})}</a>
36 endif::backend-xhtml11[]