From d98fc142f1bda7ff5cc3c7fe6436f5b2be4795de Mon Sep 17 00:00:00 2001 From: sorata <136738526+brishtibheja@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:17:11 +0530 Subject: [PATCH] Change links in error messages (#3468) * Update template.rs * Update template.rs * ./check (dae) --- rslib/src/template.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rslib/src/template.rs b/rslib/src/template.rs index 4956b09b9..7e2433f59 100644 --- a/rslib/src/template.rs +++ b/rslib/src/template.rs @@ -28,10 +28,10 @@ use crate::template_filters::apply_filters; pub type FieldMap<'a> = HashMap<&'a str, u16>; type TemplateResult = std::result::Result; -static TEMPLATE_ERROR_LINK: &str = "https://faqs.ankiweb.net/card-template-has-a-problem.html"; -static TEMPLATE_BLANK_LINK: &str = - "https://anki.tenderapp.com/kb/card-appearance/the-front-of-this-card-is-blank"; -static TEMPLATE_BLANK_CLOZE_LINK: &str = "https://faqs.ankiweb.net/no-cloze-found-on-card.html"; +static TEMPLATE_ERROR_LINK: &str = + "https://docs.ankiweb.net/templates/errors/replacement-errors.md"; +static TEMPLATE_BLANK_LINK: &str = "https://docs.ankiweb.net/templates/errors/empty-error.html"; +static TEMPLATE_BLANK_CLOZE_LINK: &str = "https://docs.ankiweb.net/templates/errors/cloze-error.md"; // Lexing //----------------------------------------