Add an option to git-ls-tree to display also the size of blob
[git/jnareb-git.git] / Documentation / asciidoc.conf
blobfa7dc94845be148dd85dfc2265dade2093a6c11f
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;
14 tilde=&#126;
16 ifdef::backend-docbook[]
17 [gitlink-inlinemacro]
18 {0%{target}}
19 {0#<citerefentry>}
20 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
21 {0#</citerefentry>}
22 endif::backend-docbook[]
24 ifdef::backend-docbook[]
25 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
26 [listingblock]
27 <example><title>{title}</title>
28 <literallayout>
30 </literallayout>
31 {title#}</example>
32 endif::backend-docbook[]
34 ifdef::doctype-manpage[]
35 ifdef::backend-docbook[]
36 [header]
37 template::[header-declarations]
38 <refentry>
39 <refmeta>
40 <refentrytitle>{mantitle}</refentrytitle>
41 <manvolnum>{manvolnum}</manvolnum>
42 <refmiscinfo class="source">Git</refmiscinfo>
43 <refmiscinfo class="version">@@GIT_VERSION@@</refmiscinfo>
44 <refmiscinfo class="manual">Git Manual</refmiscinfo>
45 </refmeta>
46 <refnamediv>
47   <refname>{manname}</refname>
48   <refpurpose>{manpurpose}</refpurpose>
49 </refnamediv>
50 endif::backend-docbook[]
51 endif::doctype-manpage[]
53 ifdef::backend-xhtml11[]
54 [gitlink-inlinemacro]
55 <a href="{target}.html">{target}{0?({0})}</a>
56 endif::backend-xhtml11[]