fix: Fix registration terms example in config

This commit is contained in:
Ginger committed 2026-05-26 14:27:09 -04:00
1 parent 3c07857e1f
commit 8c6904ab33
2 files changed
+4 -6

No files matched your search

+2 -3
View File
@@ -1997,9 +1997,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
@@ -2372,9 +2372,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: {}