[erlang-questions] Edoc syntax

Carl McDade <>
Thu Apr 30 19:18:53 CEST 2009


Another question,

Is there any function for showing the source code that is being refered to
along with its comments?

On Thu, Apr 30, 2009 at 4:37 PM, Carl McDade <> wrote:

> Wow!,
>
> Thanks Per. Hopefully by documenting your help. I can make this easier for
> the next newcomers to the language.
>
>
> On Thu, Apr 30, 2009 at 4:15 PM, Per Melin <> wrote:
>
>> Carl McDade:
>> > What would be the syntax for using application?
>>
>> In your case, if you use absolute paths:
>> edoc:application(mochiweb, "c:/erlang_stuff/mochi",
>> [{dir,"c:/erlang/doc"}]).
>>
>> Or if you're in the mochi directory and want to use the standard
>> directory for docs (mochi/doc):
>> edoc:application(mochiweb, ".", []).
>>
>
>
>
> --
> Carl McDade
> Content Management Systems Consultant
> www.hiveminds.co.uk
> ________________________
>



-- 
Carl McDade
Content Management Systems Consultant
www.hiveminds.co.uk
________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090430/fa6cb0e8/attachment.html>


More information about the erlang-questions mailing list