Documentation update
[tig] / asciidoc.conf
1 ifdef::backend-docbook[]
2 [gitlink-inlinemacro]
3 {0%{target}}
4 {0#<citerefentry>}
5 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
6 {0#</citerefentry>}
7 endif::backend-docbook[]
8
9 ifdef::backend-docbook[]
10 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
11 [listingblock]
12 <example><title>{title}</title>
13 <literallayout>
14 |
15 </literallayout>
16 {title#}</example>
17 endif::backend-docbook[]
18
19 ifdef::backend-xhtml11[]
20 [gitlink-inlinemacro]
21 <a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
22 endif::backend-xhtml11[]
23
24 ifdef::readme[]
25 # No header or footers for README.html
26 [header]
27 <div style="font-family: monospaced;">
28 <h1>{doctitle}</h1>
29
30 [footer]
31 </div>
32 endif::readme[]