The documentation for the program is produced from comments in the code that are appropriatly 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.
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.