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

Motiejus Jakštys desired.mta@REDACTED
Thu May 31 13:06:27 CEST 2012


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



More information about the erlang-questions mailing list