Skip to content

Commit

Permalink
Merge pull request #820 from tsloughter/edoc-fixes
Browse files Browse the repository at this point in the history
fix edoc xml and configuration
  • Loading branch information
ferd authored Aug 30, 2020
2 parents f2aefc5 + 54b9240 commit 7b2f7ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

%% Profiles ====================================================================

{profiles, [{test, [{erl_opts, [nowarn_export_all]}]}]}.
{profiles, [{test, [{erl_opts, [nowarn_export_all]}]},
{docs, [{edoc_opts, [{preprocess, true}]}]}]}.

{overrides, [{override, bbmustache, [{deps, []}, {plugins, []}]}]}.

Expand Down
4 changes: 2 additions & 2 deletions src/rlx_app_info.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
%%% App. That is the things in the `applications' property of the application
%%% metadata </li>
%%% <li> `included_applications' - The apps in the `included_applications' property
%%% of the application metadata.
%%% </ul>
%%% of the application metadata.</li>
%%% </ul>
%%%
-module(rlx_app_info).

Expand Down
2 changes: 1 addition & 1 deletion src/rlx_release.erl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ no_dot_erlang_metadata(#release_t{erts=ErtsVsn,
{value, StdLib, _Apps2} = lists:keytake(stdlib, 1, Apps1),
{release, {"no_dot_erlang", "1.0"}, {erts, ErtsVsn}, [Kernel, StdLib]}.

%% @doc produce the canonical name (<name>-<vsn>) for this release
%% @doc produce the canonical name `<name>-<vsn>' for this release
-spec canonical_name(t()) -> string().
canonical_name(#release_t{name=Name, vsn=Vsn}) ->
erlang:binary_to_list(erlang:iolist_to_binary([erlang:atom_to_list(Name), "-", Vsn])).
Expand Down

0 comments on commit 7b2f7ea

Please sign in to comment.