aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-07-28 17:40:21 +0200
committerlain <lain@soykaf.club>2020-07-28 17:40:21 +0200
commitd64c9763906f84c9cb8bcc778c790cfb5b78708b (patch)
treeebe0d9f1a45ff160bcdabb5867684d0e2eb07d93
parentad5c42628ab36eb506ee20d0458c5cfd5bbe79ab (diff)
downloadpleroma-d64c9763906f84c9cb8bcc778c790cfb5b78708b.tar.gz
Add description for configuration.
-rw-r--r--config/description.exs25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index c303fc878..91261c1e1 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3481,5 +3481,30 @@ config :pleroma, :config_description, [
suggestions: ["s3.eu-central-1.amazonaws.com"]
}
]
+ },
+ %{
+ group: :pleroma,
+ key: :frontends,
+ type: :group,
+ description: "Installed frontends management",
+ children: [
+ %{
+ key: :primary,
+ type: :map,
+ description: "Primary frontend, the one that is served for all pages by default",
+ children: [
+ %{
+ key: "name",
+ type: :string,
+ description: "Name of the installed primary frontend"
+ },
+ %{
+ key: "ref",
+ type: :string,
+ description: "reference of the installed primary frontend to be used"
+ }
+ ]
+ }
+ ]
}
]