Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

specify {includes, _} so @headerfile works correctly

  • Loading branch information...
commit 7008c5fb38dd3ddb8086d8ade5bd2d4e1f95c193 1 parent 3d984ba
@etrepum etrepum authored committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/erldocs.erl
View
3  src/erldocs.erl
@@ -121,7 +121,8 @@ ensure_docsrc(AppDir, Conf) ->
gen_docsrc(AppDir) ->
- Files = [ try ok = docb_gen:module(File),
+ Includes = filelib:wildcard(AppDir ++ "/include"),
+ Files = [ try ok = docb_gen:module(File, [{includes, Includes}]),
AppDir ++ "/doc/src/" ++ bname(File, ".erl") ++ ".xml"
catch
_:_ -> ignore
Please sign in to comment.
Something went wrong with that request. Please try again.