description.exs: remove empty strings and arrays

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-09-17 21:57:13 +02:00
parent 7f211a48e0
commit 50ec445b2c
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -109,8 +109,7 @@ config :pleroma, :config_description, [
type: :string, type: :string,
description: description:
"If you use S3 compatible service such as Digital Ocean Spaces or CDN, set folder name or \"\" etc." <> "If you use S3 compatible service such as Digital Ocean Spaces or CDN, set folder name or \"\" etc." <>
" For example, when using CDN to S3 virtual host format, set \"\". At this time, write CNAME to CDN in public_endpoint.", " For example, when using CDN to S3 virtual host format, set \"\". At this time, write CNAME to CDN in public_endpoint."
suggestions: [""]
} }
] ]
}, },
@ -360,22 +359,19 @@ config :pleroma, :config_description, [
group: {:subgroup, Swoosh.Adapters.SocketLabs}, group: {:subgroup, Swoosh.Adapters.SocketLabs},
key: :server_id, key: :server_id,
type: :string, type: :string,
description: "`Swoosh.Adapters.SocketLabs` adapter specific setting", description: "`Swoosh.Adapters.SocketLabs` adapter specific setting"
suggestions: [""]
}, },
%{ %{
group: {:subgroup, Swoosh.Adapters.SocketLabs}, group: {:subgroup, Swoosh.Adapters.SocketLabs},
key: :api_key, key: :api_key,
type: :string, type: :string,
description: "`Swoosh.Adapters.SocketLabs` adapter specific setting", description: "`Swoosh.Adapters.SocketLabs` adapter specific setting"
suggestions: [""]
}, },
%{ %{
group: {:subgroup, Swoosh.Adapters.Gmail}, group: {:subgroup, Swoosh.Adapters.Gmail},
key: :access_token, key: :access_token,
type: :string, type: :string,
description: "`Swoosh.Adapters.Gmail` adapter specific setting", description: "`Swoosh.Adapters.Gmail` adapter specific setting"
suggestions: [""]
} }
] ]
}, },
@ -1682,8 +1678,7 @@ config :pleroma, :config_description, [
group: :pleroma_job_queue, group: :pleroma_job_queue,
key: :queues, key: :queues,
type: :group, type: :group,
description: "[Deprecated] Replaced with `Oban`/`:queues` (keeping the same format)", description: "[Deprecated] Replaced with `Oban`/`:queues` (keeping the same format)"
children: []
}, },
%{ %{
group: :pleroma, group: :pleroma,
@ -1694,8 +1689,7 @@ config :pleroma, :config_description, [
%{ %{
key: :max_retries, key: :max_retries,
type: :integer, type: :integer,
description: "[Deprecated] Replaced as `Oban`/`:queues`/`:outgoing_federation` value", description: "[Deprecated] Replaced as `Oban`/`:queues`/`:outgoing_federation` value"
suggestions: []
} }
] ]
}, },
@ -2041,8 +2035,7 @@ config :pleroma, :config_description, [
%{ %{
key: :sslopts, key: :sslopts,
type: :keyword, type: :keyword,
description: "additional SSL options", description: "additional SSL options"
suggestions: []
}, },
%{ %{
key: :tls, key: :tls,
@ -2052,8 +2045,7 @@ config :pleroma, :config_description, [
%{ %{
key: :tlsopts, key: :tlsopts,
type: :keyword, type: :keyword,
description: "additional TLS options", description: "additional TLS options"
suggestions: []
}, },
%{ %{
key: :base, key: :base,