1ea74591524efd576f7dc10e6458afcff878a4e7
[platform/upstream/btrfs-progs.git] / asciidoc.conf
1 ## linkbtrfs: macro
2 #
3 # Usage: linkbtrfs:command[manpage-section]
4 #
5 # Note, {0} is the manpage section, while {target} is the command.
6 #
7 # Show Btrfslink as: <command>(<section>); if section is defined, else just show
8 # the command.
9
10 [macros]
11 (?su)[\\]?(?P<name>linkbtrfs):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
12
13 [tags]
14 bracket-emphasis={1?[{1}]}<emphasis>&lt;|&gt;</emphasis>
15
16 [quotes]
17 &lt;|&gt;=#bracket-emphasis
18
19 [attributes]
20 asterisk=&#42;
21 plus=&#43;
22 caret=&#94;
23 startsb=&#91;
24 endsb=&#93;
25 backslash=&#92;
26 tilde=&#126;
27 apostrophe=&#39;
28 backtick=&#96;
29 litdd=&#45;&#45;
30
31 ifdef::doctype-manpage[]
32 ifdef::backend-docbook[]
33 [header]
34 template::[header-declarations]
35 <refentry>
36 <refmeta>
37 <refentrytitle>{mantitle}</refentrytitle>
38 <manvolnum>{manvolnum}</manvolnum>
39 <refmiscinfo class="source">Btrfs</refmiscinfo>
40 <refmiscinfo class="version">{btrfs_version}</refmiscinfo>
41 <refmiscinfo class="manual">Btrfs Manual</refmiscinfo>
42 </refmeta>
43 <refnamediv>
44   <refname>{manname}</refname>
45   <refpurpose>{manpurpose}</refpurpose>
46 </refnamediv>
47 endif::backend-docbook[]
48 endif::doctype-manpage[]