regression: test guilt-new's behavior when index isn't clean
[guilt/mob.git] / Documentation / asciidoc.conf
blob0084d79c2537fabcb64fe98cfb93fdc46cd040c2
1 ## linkguilt: macro
3 # Usage: linkguilt:command[manpage-section]
5 # Note, {0} is the manpage section, while {target} is the command.
7 # Show guilt 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 [linkguilt-inlinemacro]
18 {0%{target}}
19 {0#<citerefentry>}
20 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
21 {0#</citerefentry>}
22 endif::backend-docbook[]
25 ifdef::backend-docbook[]
26 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
27 [listingblock]
28 <example><title>{title}</title>
29 <literallayout>
31 </literallayout>
32 {title#}</example>
33 endif::backend-docbook[]
35 ifdef::backend-xhtml11[]
36 [linkguilt-inlinemacro]
37 <a href="{target}.html">{target}{0?({0})}</a>
38 endif::backend-xhtml11[]
40 ifdef::doctype-manpage[]
41 ifdef::backend-docbook[]
42 [header]
43 template::[header-declarations]
44 <refentry>
45 <refmeta>
46 <refentrytitle>{mantitle}</refentrytitle>
47 <manvolnum>{manvolnum}</manvolnum>
48 <refmiscinfo class="source">Guilt</refmiscinfo>
49 <refmiscinfo class="version">{version}</refmiscinfo>
50 <refmiscinfo class="manual">Guilt Manual</refmiscinfo>
51 </refmeta>
52 <refnamediv>
53   <refname>{manname}</refname>
54   <refpurpose>{manpurpose}</refpurpose>
55 </refnamediv>
56 endif::backend-docbook[]
57 endif::doctype-manpage[]