1
.TH makeskel 1 "11 November 2004" "Free Pascal" "FPC unit description file generator"
3
makeskel \- generate description file for
8
\fBmakeskel\fP [--descr=filename] [--disable-arguments]
9
[--disable-errors] [--disable-function-results]
10
[--disable-private] [--disable-protected]
11
[--disable-seealso] [--emit-class-separator]
12
[--help] [--lang=language] [--output=filename]
14
--package=name --input=cmdline
19
scans a Free Pascal unit source file and generates a skeleton description
20
file for it. It generates nodes for all identifiers found in the interface
21
section of the unit, although this behaviour can be adjusted with some
22
options. It can also update an existing XML file, and then emits only nodes
23
for identifiers for which no node exists yet.
29
with as the only required arguments the
33
arguments. It should at least contain the name of the unit file for which
34
documentation should be generated and the name of the package to which the
35
unit belongs. The output of
37
will go to standard output by default.
42
has many options, most of them optional, defaults will be used in most
46
.BI \-\-descr=descfile
47
This option must be used in conjunction with the
49
option. It specifies the name of a description file
51
which must be updated. Note that the file must contain valid XML, or the
52
update will fail. This option can be specified more than once.
54
.BI \-\-disable-arguments
55
If this option is specified,
57
will not emit nodes for the arguments of functions and procedures. By
58
default, documentation nodes are emitted for functions and procedures as
61
.BI \-\-disable-errors
62
By default, each documentation node will contain a
64
node as well (excep for identifiers where this has no use, such as function
65
arguments). If this option is specified, no
67
node will be generated.
69
.BI \-\-disable-function-results
70
By default, for functions, a
72
node will be generated, to describe the result of the function. If this
73
option is specified, no function result node will be generated.
75
.BI \-\-disable-private
76
By default, documentation nodes are also generated for private fields or methods
77
of a class. if this option is specified, the generation of nodes for private
78
fields or methods is skipped.
80
.B \-\-disable-protected
81
By default, documentation nodes are also generated for protected fields or
82
methods of a class. if this option is specified, the generation of nodes
83
for protected fields or methods is skipped.
85
.B \-\-emit-class-separator
86
If this option is specified, a visible comment with the name of the class
87
for which documentation nodes will follow, is inserted between the nodes
88
of two classes, making navigation easier.
91
Emit a short help text and exit.
94
The input (source) file to process. Multiple input files can be specified.
95
The command may contain valid compiler options, currently the
99
(define macro) options are recognized.
101
.BI \-\-lang=language
102
Sets the language for the output file. This will mainly set the strings used
103
for the headers in various parts of the documentation files (by default
104
they're in english). Currently, valid options are
117
.BI \-\-output=filename
120
where the output should go. If this option is not specified, the output is
121
sent to standard output (the screen).
123
.BI \-\-package=packagename
124
This option is required. It specifies the name of the package. All nodes
125
will be generated inside a node with
131
Turns on update mode. In this mode, the output is a file which contains only
132
the missing nodes to complete the documentation of the input files. The
133
existing nodes must be specified with the
135
argument. Note that the output file may
137
be the same as the input (description) nodes; A separate file must be
138
specified (or no file, in which case output goes to standard output.