Erlang Central

EDoc Generation

Revision as of 14:37, 11 June 2010 by (Talk | contribs)

EDoc is the Erlang documentation generator that extracts useful information regarding modules and functions from specially tagged comments included in the code.

Sample EDoc Tags

The following illustrates some of the tags that may be embedded within comments to be used by EDoc to generate documentation. Tags are preceded by the '@' symbol.

%% @author Unknown Author <<>>
%% @copyright © 2010 Your Company
%% @version 1.0.0
%% @title The `displayDate' function.
%% @doc `displayDate' takes a date/time as a parameter, and reformats it to
%% display as "YYYY-MM-DD".

Additional Documentation