Using FPDoc is quite simple. It takes some command-line options, and based on these options,
creates documentation. The command-line options can be given as long or short options, as is
common for most GNU programs.
In principle, only 2 command-line options are needed:
-
package
- This speci es the name of the package for which documentation must be created.
Exactly one package option can be speci ed.
-
input
- The name of a unit le for which documentation should be generated. This can be
a simple lename, but can also contain some syntax options as they could be given to
the Free Pascal scanner. More than one input option can be given, and documentation
will be generated for all speci ed input les.
Some examples:
fpdoc --package=fcl --input=crt.pp
|
This will scan the crt.pp