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:
parent
c64df48978
commit
3e4ebfae7e
|
@ -69,11 +69,10 @@ man(Lang) ->
|
||||||
catch _:undef -> []
|
catch _:undef -> []
|
||||||
end
|
end
|
||||||
end, ejabberd_config:callback_modules(all)),
|
end, ejabberd_config:callback_modules(all)),
|
||||||
Version = binary_to_list(ejabberd_option:version()),
|
|
||||||
Options =
|
Options =
|
||||||
["TOP LEVEL 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()] ++
|
io_lib:nl()] ++
|
||||||
lists:flatmap(
|
lists:flatmap(
|
||||||
fun(Opt) ->
|
fun(Opt) ->
|
||||||
|
@ -93,7 +92,7 @@ man(Lang) ->
|
||||||
"MODULES",
|
"MODULES",
|
||||||
"-------",
|
"-------",
|
||||||
"[[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()] ++
|
io_lib:nl()] ++
|
||||||
lists:flatmap(
|
lists:flatmap(
|
||||||
fun({M, Descr, DocOpts, Backends, Example}) ->
|
fun({M, Descr, DocOpts, Backends, Example}) ->
|
||||||
|
@ -112,7 +111,7 @@ man(Lang) ->
|
||||||
"LISTENERS",
|
"LISTENERS",
|
||||||
"-------",
|
"-------",
|
||||||
"[[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(),
|
io_lib:nl(),
|
||||||
"TODO"],
|
"TODO"],
|
||||||
AsciiData =
|
AsciiData =
|
||||||
|
|
Loading…
Reference in New Issue