The documentation for the program is produced from comments in the code that are appropriately formatted. The cross referencing comes from the code itself and requires no extra work.
The special comments are ``/**** ****/'' (for a file) and ``/*++++ ++++*/'' (for a data object) any number of ``*'' or ``+'' can be used inside of the standard ``/*'' and ``*/'' comment delimiters in the comments, they are ignored.
If a comment line starts with whitespace and is followed by `+html+' then the rest of the line is included only in the HTML output, and is not processed so it can include HTML markup, `-html-' means that the rest of the line is included in all except the HTML output. The same applies to `+latex+' and `-latex-', `+none+' can be used for lines not to appear in any output. The exception to this is that the raw output does not do any checking and will output all lines.
In any situation where a comment follows a ``,'', ``;'' or ``)'' separated only by spaces and tabs, the comment is pushed to before the punctuation to apply to the object there.
The program is implemented using a full ANSI C grammar parser with some GCC extensions, this means that the style of the code is unimportant, only the content and comments.