[erlang-questions] edown update - MarkEdoc added
Andrew Thompson
andrew@REDACTED
Wed Mar 23 17:21:27 CET 2011
On Wed, Mar 23, 2011 at 08:49:54AM +0100, Ulf Wiger wrote:
>
> I recently pushed a nice little contribution to edown, called markedoc.
>
> http://github.com/esl/edown
>
> Edown renders Edoc markup as Markdown, in order to make the docs easy
> to read while browsing a Github repository.
>
> The easiest way to use it is with rebar,
>
> {deps, [{edown, ".*", {git, "git://github.com/esl/edown.git", "HEAD"}}]}.
> {edoc_opts, [{doclet, edown_doclet},
> {src_path, ["src/"]},
> {subpackages, true}]}.
>
I tried to add this to gen_smtp (https://github.com/Vagabond/gen_smtp)
and it blows up with:
==> gen_smtp (doc)
edoc: error in layout 'edown_layout':
{'EXIT',{function_clause,[{edown_layout,t_type,[[{xmlElement,nonempty_list,[],[],{xmlNamespace,[],[]},[{type,2},{argtypes,...},{...}|...],1,[],[...],...}]]},{edown_layout,t_utype_elem,1},{edown_layout,seq,4},{edown_layout,seq,4},{edown_layout,t_fun,1},{edown_layout,typespec,1},{edown_layout,function,2},{lists,flatmap,2}]}}.
edoc: error in doclet 'edown_doclet': {'EXIT',error}.
ERROR: doc failed while processing /Users/andrew/gen_smtp:
{'EXIT',error}
So I'm assuming I've got some edge case you didn't consider.
Thanks,
Andrew
More information about the erlang-questions
mailing list