[erlang-questions] {@docRoot } in edoc when using edown markdown format

11 views
Skip to first unread message

Motiejus Jakštys

unread,
May 31, 2012, 7:06:27 AM5/31/12
to erlang-q...@erlang.org
Hi,

I want to get docRoot in overview.edoc, to link to a document in the
same repository.

Here is an extract from doc/overview.edoc:
Detailed information about the whole X architecture is in
<a href="{@docRoot}/TD.markdown">TD.markdown</a>

And the resulting README.md after ./rebar doc, is:

Detailed information about the whole X architecture is in
[TD.markdown](/TD.markdown)

What I would like to see:
[TD.markdown](http://github.com/Motiejus/X-architecture/doc/TD.markdown)


rebar.config:
{edoc_opts, [{doclet, edown_doclet},
{app_default, "http://www.erlang.org/doc/man"},
{top_level_readme,
{"./README.md",
"http://github.com/Motiejus/X-architecture"}}]}.

Any way to get the absolute URL?
Thanks,
Motiejus Jakštys
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Reply all
Reply to author
Forward
0 new messages