[erlang-questions] edoc: error in doclet 'edoc_doclet' when using macro in -type

Tomas Abrahamsson <>
Thu Oct 22 22:22:49 CEST 2015


> ./src/test.erl: at line 23: can't find include file "gpb.hrl"
> edoc: skipping source file './src/test.erl': {'EXIT',error}.
> edoc: error in doclet 'edoc_doclet': {'EXIT',error}.

You might need to tell edoc, too, about the include path:

{edoc_opts, [{includes,["deps/gpb/include"]}, {preprocess, true}]}.

BRs
Tomas


More information about the erlang-questions mailing list