[erlang-questions] edoc: easy question

Robert Baruch autophile@REDACTED
Mon Feb 12 22:57:04 CET 2007


On Feb 12, 2007, at 4:22 PM, Richard Carlsson wrote:
>
> When you specify the source_path option, the value must be a list
> of paths, not just a single string. So, write ["src"] instead of "src"
> and it should work.

Thanks for that -- now at least it doesn't error out. Next problem:

 > erl -noshell -run edoc_run packages '[""]' '[{dir, "doc"},  
{source_path, ["src"]}, {subpackages, true}]'

edoc: warning: file './src/package/file2.erl' belongs to package  
'package', not 'src.package'.
edoc: warning: file './src/file1.erl' belongs to package '', not 'src'.

Any ideas? It seems edoc isn't recognizing that src is the root...

Thanks for any help,

--Rob



More information about the erlang-questions mailing list