Skip to content
Browse files

specify {includes, _} so @headerfile works correctly

  • Loading branch information...
1 parent 3d984ba commit 7008c5fb38dd3ddb8086d8ade5bd2d4e1f95c193 @etrepum etrepum committed with
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

0 comments on commit 7008c5f

Please sign in to comment.
Something went wrong with that request. Please try again.