fpdoc is a program which generates fully cross-referenced documentation for a unit. It generates documentation for each identifier found in the unit’s interface section. The generated documentation can be in many formats, for instance HTML, RTF, Text, man page and LaTeX. Unlike other documentation tools, the documentation can be in a separate file (in XML format), so the sources aren’t cluttered with documentation. Its companion program makeskel creates an empty XML file with entries for all identifiers, or it can update an existing XML file, adding entries for new identifiers.
fpdoc and makeskel are described in the FPDoc Reference Guide.