Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: uw-make-top-re…
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (23 sloc) 0.658 kb
#!/usr/bin/env escript
%% -*- erlang -*-
%% edown is designed to work well with rebar, but in order to use edown
%% to document itself, we need to explicitly set the path to ebin/, so
%% that we pick up the newly built edown doclet. I haven't found a way
%% to do this with 'rebar doc'.
%%
main([]) ->
code:add_patha("ebin"),
R = edoc:application(edown, ".",
[{doclet, edown_doclet},
{src_path, ["src"]},
{app_default,"http://www.erlang.org/doc/man"},
{top_level_readme,
{"./README.md",
"http://github.com/esl/edown"}}]),
case R of
ok ->
halt();
Err ->
io:fwrite("~p~n", [Err]),
halt(1)
end.
Jump to Line
Something went wrong with that request. Please try again.