GENIE Using Doxygen
Revision as of 16:07, 2 February 2010 by GethinWilliams (talk | contribs)
Intro
Doxygen is the best code documentation package around. It now supports Fortran (90), so we'll use it.
Installation
You'll need a fairly new version, as it hasn't always supported Fortran, but not the newest either--for some reason I can't get v1.6.2 to work properly. Therefore I suggest using v1.5.8. If you need to install it, a reasonable approach is:
Grab a tarball of the precompiled package:
wget ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.5.8.linux.bin.tar.gz
Use configure (with --prefix /path/to/where/you/want/it) and make to install it.
Using it
Fortran2 has some simple examples of how you should structure your comments.