Permalink
Browse files

fix make docs target

  • Loading branch information...
1 parent f5b8f02 commit 5633136291a1ec43ba877b313775c7d1be6d56a3 @rajivr rajivr committed May 24, 2010
View
@@ -66,8 +66,12 @@ stage : rel
## Doc targets
##
docs:
- @erl -noshell -run edoc_run application riak '"apps/riak"' '[]'
- @cp -R apps/riak/doc doc/riak
+ @erl -noshell -run edoc_run application luke '"apps/luke"' '[]'
+ @cp -R apps/luke/doc doc/luke
+ @erl -noshell -run edoc_run application riak_core '"apps/riak_core"' '[]'
+ @cp -R apps/riak_core/doc doc/riak_core
+ @erl -noshell -run edoc_run application riak_kv '"apps/riak_kv"' '[]'
+ @cp -R apps/riak_kv/doc doc/riak_kv
orgs: orgs-doc orgs-README
View
@@ -26,3 +26,4 @@ Mark Phillips
Ray Cote
Adam Hunter
Cliff Moon
+Rajiv M. Ranganath
@@ -56,6 +56,6 @@ send_flow_complete(FlowPid) ->
%% @doc Sends flow results to the flow pid
%% This is sent by phases which are configured
%% to accumulate their results
-%% @spec send_flow_results(pid(), any()) -> ok
+%% @spec send_flow_results(pid(), any(), any()) -> ok
send_flow_results(FlowPid, Id, Results) ->
gen_fsm:send_event(FlowPid, {results, Id, Results}).
@@ -120,7 +120,7 @@ random_node(State) ->
lists:nth(crypto:rand_uniform(1, length(L)+1), L).
% @doc Return a randomly-chosen node from amongst the owners other than this one.
-% @spec random_node(State :: chstate()) -> Node :: term() | no_node
+% @spec random_other_node(State :: chstate()) -> Node :: term() | no_node
random_other_node(State) ->
case lists:delete(node(), all_members(State)) of
[] ->
@@ -61,8 +61,7 @@ mapred(Inputs,Query) -> mapred(Inputs,Query,?DEFAULT_TIMEOUT).
%% @spec mapred(Inputs :: list(),
%% Query :: [riak_kv_mapred_query:mapred_queryterm()],
-%% TimeoutMillisecs :: integer() | 'infinity',
-%% ResultTransformer :: function()) ->
+%% TimeoutMillisecs :: integer() | 'infinity') ->
%% {ok, riak_kv_mapred_query:mapred_result()} |
%% {error, {bad_qterm, riak_kv_mapred_query:mapred_queryterm()}} |
%% {error, timeout} |
@@ -391,7 +391,7 @@ config_stats() ->
[{ring_creation_size, app_helper:get_env(riak_core, ring_creation_size)},
{storage_backend, app_helper:get_env(riak_kv, storage_backend)}].
-%% @spec pbc_stats(state()) -> proplist()
+%% @spec pbc_stats(integer(), state()) -> proplist()
%% @doc Get stats on the disk, as given by the disksup module
%% of the os_mon application.
pbc_stats(Moment, State=#state{pbc_connects_total=NCT, pbc_active=Active}) ->
@@ -24,7 +24,7 @@
%% of Riak. This module loads parameters from the application
%% environment:
%%
-%%</dd><dt> raw_name
+%%<dl><dt> raw_name
%%</dt><dd> the base path under which the riak_kv_wm_raw
%% should be exposed; defaulted to "raw"
%%</dd></dl>
@@ -1133,7 +1133,7 @@ encode_value(V) when is_binary(V) ->
encode_value(V) ->
term_to_binary(V).
-%% @spec accept_value(binary()) -> term()
+%% @spec accept_value(string(), binary()) -> term()
%% @doc Accept the object value as a binary - content type can be used
%% to decode
accept_value("application/x-erlang-binary",V) ->

0 comments on commit 5633136

Please sign in to comment.