apex_doc_logo.png

My fellow Appirian and resident super-smart guy, Aslam Bari has created a super slick tool to document Apex code. ApexDoc is essentially JavaDocs for Apex. You add comments to your source code in the JavaDoc fashion (@author, @date, @param, etc) and ApexDoc reads these and generates a nice set of HTML files that allows you to browse your class structure. Here's a short video on the entire process.

Generating the ApexDocs is fairly simple. Just point to your source code, an option output file, an optional file containing the HMTL for the right Home frame (project name, description, etc) and an optional file containing author information. Sample command syntax is:

apexdoc <source_directory> [<target_directory?>] [<homefile>] [<authorfile>]

Download ApexDoc here along with more detailed info and feedback.

apexdoc-screenshot.png

Update: Aslam and I worked on a bug affecting Mac and Unix users. Download the latest version of the files to get the fix. Also, here are some screenshots that may help out Mac users.