25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Revert "Add ejabberd version number to man pages"

That versioning just added noise to the git log in each release.
This reverts commit aa0ed37034.
This commit is contained in:
Badlop 2020-04-08 18:48:09 +02:00
parent c64df48978
commit 3e4ebfae7e

View File

@ -69,11 +69,10 @@ man(Lang) ->
catch _:undef -> []
end
end, ejabberd_config:callback_modules(all)),
Version = binary_to_list(ejabberd_option:version()),
Options =
["TOP LEVEL OPTIONS",
"-----------------",
"This section describes top level options of ejabberd "++Version,
tr(Lang, ?T("This section describes top level options of ejabberd.")),
io_lib:nl()] ++
lists:flatmap(
fun(Opt) ->
@ -93,7 +92,7 @@ man(Lang) ->
"MODULES",
"-------",
"[[modules]]",
"This section describes options of all modules in ejabberd "++Version,
tr(Lang, ?T("This section describes options of all ejabberd modules.")),
io_lib:nl()] ++
lists:flatmap(
fun({M, Descr, DocOpts, Backends, Example}) ->
@ -112,7 +111,7 @@ man(Lang) ->
"LISTENERS",
"-------",
"[[listeners]]",
"This section describes options of all listeners in ejabberd "++Version,
tr(Lang, ?T("This section describes options of all ejabberd listeners.")),
io_lib:nl(),
"TODO"],
AsciiData =