From f8a38abc8984d178f6446e1fbfa2055ba12c7920 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 20 Apr 2022 07:13:26 -0400 Subject: [PATCH] confighelper: Update the help url for moved options Signed-off-by: Eric Callahan --- moonraker/confighelper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moonraker/confighelper.py b/moonraker/confighelper.py index 13175d3..e8a6a24 100644 --- a/moonraker/confighelper.py +++ b/moonraker/confighelper.py @@ -148,13 +148,13 @@ class ConfigHelper: self.server.add_warning( f"[{self.section}]: Option '{option}' is " "deprecated, see the configuration documention " - f"at {DOCS_URL}/configuration") + f"at {DOCS_URL}/configuration/") if warn_fallback: + help = f"{DOCS_URL}/configuration/#option-moved-deprecations" self.server.add_warning( f"[{section}]: Option '{option}' has been moved " f"to section [{self.section}]. Please correct your " - f"configuration, see {DOCS_URL}/configuration for " - f"detailed documentation." + f"configuration, see {help} for detailed documentation." ) self._check_option(option, val, above, below, minval, maxval) if (