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 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. It’s companion program makeskel creates an empty XML file
with entries for all identifiers.
fpdoc and makeskel are described in FPDoc reference guide.