diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-07-26 16:40:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 16:40:42 -0400 |
commit | dab233d6edeef2e15b8fcd4616ac01fbaea7e664 (patch) | |
tree | 07e1d8e682a33bdd1f06e2b7a574fa81c4afd354 | |
parent | f03e4f1cffc446fa5750da9b05afdbd946f7e16f (diff) | |
parent | 1bbf4db965635daa02267922dfab2054f1ea9b5f (diff) |
Merge pull request #2130 from ferd/fix-edoc
Repair edoc functionality on rebar3 itself
-rw-r--r-- | rebar.config | 2 | ||||
-rw-r--r-- | src/r3.erl | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index c2f00fb..2b67d90 100644 --- a/rebar.config +++ b/rebar.config @@ -36,6 +36,8 @@ warnings_as_errors ]}. +{edoc_opts, [preprocess]}. + %% Use OTP 18+ when dialyzing rebar3 {dialyzer, [ {warnings, [unknown]}, @@ -13,11 +13,11 @@ do(Command) -> rebar_agent:do(Command). -spec do(atom(), atom()) -> ok | {error, term()}. do(Namespace, Command) -> rebar_agent:do(Namespace, Command). -%% @async_doc alias for `rebar_agent:async_do/1' +%% @doc alias for `rebar_agent:async_do/1' -spec async_do(atom()) -> ok | {error, term()}. async_do(Command) -> rebar_agent:async_do(Command). -%% @async_doc alias for `rebar_agent:async_do/2' +%% @doc alias for `rebar_agent:async_do/2' -spec async_do(atom(), atom()) -> ok | {error, term()}. async_do(Namespace, Command) -> rebar_agent:async_do(Namespace, Command). |