Add submodule tests
[tig.git] / doc / asciidoc.conf
blob9848b8e09441b27aef0a420834cf2993a6e74fe0
1 [macros]
2 (?su)[\\]?(?P<name>manpage):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
4 ifdef::backend-docbook[]
5 [manpage-inlinemacro]
6 {0%{target}}
7 {0#<citerefentry>}
8 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
9 {0#</citerefentry>}
10 endif::backend-docbook[]
12 ifdef::backend-xhtml11[]
13 [manpage-inlinemacro]
14 <a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
15 endif::backend-xhtml11[]
17 ifdef::doctype-manpage[]
18 ifdef::backend-docbook[]
19 [header]
20 template::[header-declarations]
21 <refentry>
22 <refmeta>
23 <refentrytitle>{mantitle}</refentrytitle>
24 <manvolnum>{manvolnum}</manvolnum>
25 <refmiscinfo class="source">Tig</refmiscinfo>
26 <refmiscinfo class="version">{version}</refmiscinfo>
27 <refmiscinfo class="manual">Tig Manual</refmiscinfo>
28 </refmeta>
29 <refnamediv>
30   <refname>{manname}</refname>
31   <refpurpose>{manpurpose}</refpurpose>
32 </refnamediv>
34 # The following two small workarounds insert a simple paragraph after screen
37 [listingblock]
38 <example><title>{title}</title>
39 <screen>
41 </screen><simpara></simpara>
42 {title#}</example>
44 [verseblock]
45 <formalpara{id? id="{id}"}><title>{title}</title><para>
46 {title%}<literallayout{id? id="{id}"}>
47 {title#}<literallayout>
49 </literallayout><simpara></simpara>
50 {title#}</para></formalpara>
51 endif::backend-docbook[]
52 endif::doctype-manpage[]
54 ifdef::readme[]
55 # No header or footers for README.html
56 [header]
57 <div style="font-family: sans-serif;">
58 <h1>{doctitle}</h1>
60 [footer]
61 </div>
63 [replacements]
64 (^|[^-\\])--($|[^-])=\1--\2
65 endif::readme[]