ProTex is a simple way to generate documentation with a minumum of effort. It is part of the PRISM conventions for programming.
Templates and produced postscript documentation for TM:
Sample use of protex:
perl protex module.f90 > module.tex
latex module
dvips -o module.ps module.dvi