Debian Codegraph @

man-common/manpage-stub.adoc

raw
1 //po4a: entry man manual
2 ////
3 Please don't treat this file as a real man page! We provide it only to show how
4 things should be formatted. Besides this example file, see the existing .adoc
5 files for many more formatting options.
6 The first line above is a hint for po4a that the :man manual: entry needs
7 to be translated.
8 As you can see here, use //// to write comment blocks. For a single comment
9 line, just use //.
10 Please don't wrap lines within a paragraph. Our translation tool po4a behaves
11 a bit unpredictable in such cases.
12 We also urgently recommend to test the creation of the *roff file to see possible
13 issues.
14 ////
15 = foobar(1)
16 :doctype: manpage
17 :man manual: User commands
18 :man source: util-linux {release-version}
19 :page-layout: base
20 :command: foobar
21
22 == NAME
23
24 foobar - do nothing
25
26 == SYNOPSIS
27
28 *foobar* _options_ _file_
29
30 == DESCRIPTION
31
32 Describe *foobar* briefly.
33
34 == OPTIONS
35
36 //Format options bold and values italic:
37 *-o*, *--option* _value_::
38 This option has a value.
39 +
40 For empty lines within a description (to keep the indentation) you can use the "plus" character at the beginning of an otherwise empty line.
41
42 //Last but not least, don't forget the common options:
43 include::man-common/help-version.adoc[]
44
45 == NOTES
46
47 Put your notes here which don't match any other paragraph.
48
49 == AUTHORS
50
51 // Format mail addresses as follows:
52 mailto:[email protected][John Doe]
53 // If you need more than one address, use a comma-separated list or leave empty lines between the entries.
54
55 == SEE ALSO
56
57 *foo*(1),
58 *bar*(1)
59
60 include::man-common/bugreports.adoc[]
61
62 include::man-common/footer.adoc[]
63
64 ifdef::translation[]
65 include::man-common/translation.adoc[]
66 endif::[]