fix: Fix registration terms example in config

This commit is contained in:
Ginger
2026-05-07 10:23:57 -04:00
parent 234a2f01b2
commit 5dbc4e6c80
2 changed files with 4 additions and 6 deletions
+2 -3
View File
@@ -2009,9 +2009,8 @@
#
# Example:
# ```ignore
# [global.registration_terms.documents.privacy_policy]
# en = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" }
# es = { name = "Política de Privacidad", url = "https://homeserver.example/es/privacy_policy.html" }
# [global.registration_terms.documents]
# privacy_policy = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" }
# ```
#
#documents = {}
+2 -3
View File
@@ -2420,9 +2420,8 @@ pub struct RegistrationTerms {
///
/// Example:
/// ```ignore
/// [global.registration_terms.documents.privacy_policy]
/// en = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" }
/// es = { name = "Política de Privacidad", url = "https://homeserver.example/es/privacy_policy.html" }
/// [global.registration_terms.documents]
/// privacy_policy = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" }
/// ```
///
/// default: {}