]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix documentation nesting
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 8 Jun 2024 13:28:56 +0000 (14:28 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 8 Jun 2024 13:28:56 +0000 (14:28 +0100)
src/libserver/cfg_rcl.cxx

index eb89e6301a9d6d1113dc3f9823d3fbf3ebf2d8c5..f0c9db64d28c9a1db5224099a01532053cf5578a 100644 (file)
@@ -1747,7 +1747,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections)
                                                                                           FALSE,
                                                                                           TRUE,
                                                                                           cfg->doc_strings,
-                                                                                          "Global rspamd options");
+                                                                                          "Global Rspamd options");
                rspamd_rcl_add_default_handler(sub,
                                                                           "cache_file",
                                                                           rspamd_rcl_parse_struct_string,
@@ -2210,7 +2210,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections)
                /* New DNS configuration */
                auto *ssub = rspamd_rcl_add_section_doc(&top, sub, "dns", nullptr, nullptr,
                                                                                                UCL_OBJECT, FALSE, TRUE,
-                                                                                               cfg->doc_strings,
+                                                                                               nullptr,
                                                                                                "Options for DNS resolver");
                rspamd_rcl_add_default_handler(ssub,
                                                                           "nameserver",
@@ -2259,7 +2259,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections)
                /* New upstreams configuration */
                ssub = rspamd_rcl_add_section_doc(&top, sub, "upstream", nullptr, nullptr,
                                                                                  UCL_OBJECT, FALSE, TRUE,
-                                                                                 cfg->doc_strings,
+                                                                                 nullptr,
                                                                                  "Upstreams configuration parameters");
                rspamd_rcl_add_default_handler(ssub,
                                                                           "max_errors",