<div dir="ltr"><div>Hi.</div><div> </div><div>I have a new application, MIX, the directories of which are organized as recommended in Erlang And OTP In Action, e.g., given that my Erlang-y home directory is</div><div> </div>
<div>c:\Program Files\erl5.9\usr\john</div><div> </div><div>the application's top level is "MIX" in my home directory, and in it are</div><div> </div><div>doc</div><div>ebin</div><div>include</div><div>priv</div>
<div>src</div><div> </div><div>There are two modules in src (and the corresponding .beam files in ebin, along with MIX.app). There is also an overview.edoc file in doc.</div><div> </div><div>I was hoping that, from a command prompt with MIX as its current directory, that running</div>
<div> </div><div>werl -pa ebin</div><div> </div><div>and using</div><div> </div><div>edoc:application( 'MIX', ".", [] ).</div><div> </div><div>in the shell would find these modules (which are named 'MIX' and 'M') and generate some documentation, but this doesn't succeed, although a nice, rather empty Overview is generated.</div>
<div> </div><div>On the other hand, using</div><div> </div><div>edoc:files( [ "src/MIX.erl", "src/M.erl" ] ).</div><div> </div><div>does produce documentation about the modules, but files( ) doesn't make use of the overview.edoc file, so the Overview is really empty.</div>
<div> </div><div>I expect that I am just not running the right command from the right location, but after three hours of trying everything I could think of, I need help, please.</div><div> </div><div>John Ashmun</div><div>
</div><div> </div></div>