Permalink
Browse files

doc: Correct the edoc module index file path.

  • Loading branch information...
arjan committed Oct 29, 2012
1 parent 9e4c521 commit 79721394e7ae5c1c5165a2cb5035f22d9e0946df
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/zotonic-generate-edoc
@@ -29,7 +29,7 @@ main(_) ->
Zotonic = os:getenv("ZOTONIC"),
Modules = [string:substr(L, length(Zotonic++"/modules/")+1) || L <- filelib:wildcard(filename:join([os:getenv("ZOTONIC"), "modules/mod_*"]))],
- file:write_file(Zotonic ++ "/doc/modules/index.html", "<h1>Module docs</h1>" ++ lists:flatten([ ["<li><a href=\"", M, "/index.html\">", M, "</a></li>"] || M <- Modules])),
+ file:write_file(Zotonic ++ "/doc/_build/edoc/modules/index.html", "<h1>Module docs</h1>" ++ lists:flatten([ ["<li><a href=\"", M, "/index.html\">", M, "</a></li>"] || M <- Modules])),
[
generate("modules/" ++ M, "modules/" ++ M) || M <- Modules

0 comments on commit 7972139

Please sign in to comment.