Prevent case sensitive commit
[git/jr.git] / Documentation / asciidoc.conf
blob10c1a151a4c38fa594bd83f124f4b654dcfd11e3
1 ## linkgit: macro
3 # Usage: linkgit: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 plus=&#43;
12 caret=&#94;
13 startsb=&#91;
14 endsb=&#93;
15 tilde=&#126;
17 ifdef::backend-docbook[]
18 [linkgit-inlinemacro]
19 {0%{target}}
20 {0#<citerefentry>}
21 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
22 {0#</citerefentry>}
23 endif::backend-docbook[]
25 ifdef::backend-docbook[]
26 ifndef::docbook-xsl-172[]
27 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
28 # v1.72 breaks with this because it replaces dots not in roff requests.
29 [listingblock]
30 <example><title>{title}</title>
31 <literallayout>
32 ifdef::doctype-manpage[]
33 &#10;.ft C&#10;
34 endif::doctype-manpage[]
36 ifdef::doctype-manpage[]
37 &#10;.ft&#10;
38 endif::doctype-manpage[]
39 </literallayout>
40 {title#}</example>
41 endif::docbook-xsl-172[]
42 endif::backend-docbook[]
44 ifdef::doctype-manpage[]
45 ifdef::backend-docbook[]
46 [header]
47 template::[header-declarations]
48 <refentry>
49 <refmeta>
50 <refentrytitle>{mantitle}</refentrytitle>
51 <manvolnum>{manvolnum}</manvolnum>
52 <refmiscinfo class="source">Git</refmiscinfo>
53 <refmiscinfo class="version">{git_version}</refmiscinfo>
54 <refmiscinfo class="manual">Git Manual</refmiscinfo>
55 </refmeta>
56 <refnamediv>
57   <refname>{manname}</refname>
58   <refpurpose>{manpurpose}</refpurpose>
59 </refnamediv>
60 endif::backend-docbook[]
61 endif::doctype-manpage[]
63 ifdef::backend-xhtml11[]
64 [linkgit-inlinemacro]
65 <a href="{target}.html">{target}{0?({0})}</a>
66 endif::backend-xhtml11[]