Failing to generate doc, WARN displayed

Tuncer Ayaz tuncer.ayaz at gmail.com
Fri Feb 10 09:10:43 EST 2012


On Fri, Feb 10, 2012 at 2:53 PM, Bengt Kleberg wrote:
> Greetings,
>
> When I do "rebar doc" there is no documentation. There is a WARN. How to
> I investigate where I go wrong?
>
> This is what I do:
>
> rebar -v doc
> DEBUG: Rebar location: "/home/eleberg/bin/rebar"
> DEBUG: Consult config file
> "/home/eleberg/private/erlang/jpt_rebar/auto_framework/rebar.config"
> DEBUG: Entering /home/eleberg/private/erlang/jpt_rebar/auto_framework
> DEBUG: Available deps: []
> DEBUG: Missing deps  : []
> DEBUG: Predirs: []
> WARN:  'doc' command does not apply to
> directory /home/eleberg/private/erlang/jpt_rebar/auto_framework
> DEBUG: Postdirs: []
> Command 'doc' not understood or not applicable
> rebar: exit 1
>
>
> This is the /home/eleberg/private/erlang/jpt_rebar/auto_framework
> contents:
> src/
>
> In src/ I have:
> h_system.erl
>
> When using edoc (from Erlang/OTP shell) I get h_system.html.
>
> This is h_system.erl:
>
> %%% @doc H system
> %%% @end
> -module(h_system).

You seem to have neither
/home/eleberg/private/erlang/jpt_rebar/auto_framework/src/auto_framework.app.src
nor
/home/eleberg/private/erlang/jpt_rebar/auto_framework/ebin/auto_framework.app



More information about the rebar mailing list