|
|
@@ -736,6 +736,7 @@ defmodule EMQXUmbrella.MixProject do
|
|
|
defp template_vars(release, release_type, :bin = _package_type, edition_type) do
|
|
|
[
|
|
|
emqx_default_erlang_cookie: default_cookie(),
|
|
|
+ emqx_configuration_doc: emqx_configuration_doc(edition_type),
|
|
|
platform_data_dir: "data",
|
|
|
platform_etc_dir: "etc",
|
|
|
platform_plugins_dir: "plugins",
|
|
|
@@ -791,6 +792,12 @@ defmodule EMQXUmbrella.MixProject do
|
|
|
end
|
|
|
end
|
|
|
|
|
|
+ defp emqx_configuration_doc(:enterprise),
|
|
|
+ do: "https://docs.emqx.com/en/enterprise/v5.0/configuration/configuration.html"
|
|
|
+
|
|
|
+ defp emqx_configuration_doc(:community),
|
|
|
+ do: "https://www.emqx.io/docs/en/v5.0/configuration/configuration.html"
|
|
|
+
|
|
|
defp emqx_schema_mod(:enterprise), do: :emqx_enterprise_schema
|
|
|
defp emqx_schema_mod(:community), do: :emqx_conf_schema
|
|
|
|