File relx-3.24.3-doc.patch of Package relx
diff -Ndurp relx-3.24.3/src/relx.erl relx-3.24.3-doc/src/relx.erl
--- relx-3.24.3/src/relx.erl 2017-11-21 20:38:41.000000000 +0200
+++ relx-3.24.3-doc/src/relx.erl 2017-11-26 19:31:12.006132394 +0200
@@ -79,8 +79,8 @@ main(ApiOptions, Args) ->
%% @doc provides an API to run the Relx process from erlang applications
%%
-%% @param RelName - The release name to build (maybe `undefined`)
-%% @param RelVsn - The release version to build (maybe `undefined`)
+%% @param RelName - The release name to build (maybe `undefined')
+%% @param RelVsn - The release version to build (maybe `undefined')
%% @param Goals - The release goals for the system in depsolver or Relx goal
%% format
%% @param LibDirs - The library dirs that should be used for the system
@@ -96,8 +96,8 @@ do(RelName, RelVsn, Goals, LibDirs, LogL
%% @doc provides an API to run the Relx process from erlang applications
%%
%% @param RootDir - The root directory for the project
-%% @param RelName - The release name to build (maybe `undefined`)
-%% @param RelVsn - The release version to build (maybe `undefined`)
+%% @param RelName - The release name to build (maybe `undefined')
+%% @param RelVsn - The release version to build (maybe `undefined')
%% @param Goals - The release goals for the system in depsolver or Relx goal
%% format
%% @param LibDirs - The library dirs that should be used for the system
@@ -112,8 +112,8 @@ do(RootDir, RelName, RelVsn, Goals, LibD
%% @doc provides an API to run the Relx process from erlang applications
%%
%% @param RootDir - The root directory for the system
-%% @param RelName - The release name to build (maybe `undefined`)
-%% @param RelVsn - The release version to build (maybe `undefined`)
+%% @param RelName - The release name to build (maybe `undefined')
+%% @param RelVsn - The release version to build (maybe `undefined')
%% @param Goals - The release goals for the system in depsolver or Relx goal
%% format
%% @param LibDirs - The library dirs that should be used for the system
diff -Ndurp relx-3.24.3/src/rlx_app_info.erl relx-3.24.3-doc/src/rlx_app_info.erl
--- relx-3.24.3/src/rlx_app_info.erl 2017-11-21 20:38:41.000000000 +0200
+++ relx-3.24.3-doc/src/rlx_app_info.erl 2017-11-26 19:31:12.006132394 +0200
@@ -21,18 +21,18 @@
%%% @doc This module represents useful, relevant information about an
%%% application. The relevant information is.
%%%
-%%% <ul>
-%%% <li> Name - The application name as an atom </li>
-%%% <li> Vsn - The application version as a list </li>
-%%% <li> The root directory of the application. The directory that contains the
-%%% ebin/src/priv etc </li>
-%%% <li> Active Deps - The Active or 'application' dependencies of the OTP
+%%% <ul>
+%%% <li> Name - The application name as an atom </li>
+%%% <li> Vsn - The application version as a list </li>
+%%% <li> The root directory of the application. The directory that contains the
+%%% ebin/src/priv etc </li>
+%%% <li> Active Deps - The Active or 'application' dependencies of the OTP
%%% App. That is the things in the 'applications' property of the application
-%%% metadata </li>
-%%% <li> Library Deps - The Inactive or Library dependencies of the ATP
+%%% metadata </li>
+%%% <li> Library Deps - The Inactive or Library dependencies of the ATP
%%% app. That is the things in the 'included_applications property of the
%%% application metadata.
-%%% </ul>
+%%% </ul>
%%%
-module(rlx_app_info).
diff -Ndurp relx-3.24.3/src/rlx_depsolver.erl relx-3.24.3-doc/src/rlx_depsolver.erl
--- relx-3.24.3/src/rlx_depsolver.erl 2017-11-21 20:38:41.000000000 +0200
+++ relx-3.24.3-doc/src/rlx_depsolver.erl 2017-11-26 19:31:12.007132414 +0200
@@ -112,11 +112,7 @@
%%============================================================================
%% type
%%============================================================================
--ifdef(namespaced_types).
-type dep_graph() :: gb_trees:tree().
--else.
--type dep_graph() :: gb_tree().
--endif.
-opaque t() :: {?MODULE, dep_graph()}.
-type pkg() :: {pkg_name(), vsn()}.
-type pkg_name() :: string() | binary() | atom().
@@ -334,7 +330,7 @@ format_error(Error) ->
%% could not be satisified. These may also have versions attached.
%% Example:
%%
-%% ```(foo = 1.2.0), bar```
+%% ```(foo = 1.2.0), bar'''
%%
-spec format_roots([constraints()]) -> iolist().
format_roots(Roots) ->
@@ -344,7 +340,7 @@ format_roots(Roots) ->
%% @doc Return a formatted list of the culprit depenedencies which led to
%% the dependencies not being satisfied. Example:
%%
-%% ```(foo = 1.2.0) -> (bar > 2.0.0)```
+%% ```(foo = 1.2.0) -> (bar > 2.0.0)'''
-spec format_culprits([{[constraint()], [constraint()]}]) -> iolist().
format_culprits(Culprits) ->
rlx_depsolver_culprit:format_culprits(Culprits).
diff -Ndurp relx-3.24.3/src/rlx_release.erl relx-3.24.3-doc/src/rlx_release.erl
--- relx-3.24.3/src/rlx_release.erl 2017-11-21 20:38:41.000000000 +0200
+++ relx-3.24.3-doc/src/rlx_release.erl 2017-11-26 19:31:12.007132414 +0200
@@ -205,7 +205,7 @@ start_clean_metadata(#release_t{name=Nam
no_dot_erlang_metadata(T) ->
start_clean_metadata(T).
-%% @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), "-",