From 479aee08838c3b424f494d5ec8910ad7ecfc67df Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 10 Oct 2024 20:50:30 +1000 Subject: [PATCH] Fix updated template links I forgot to update the PR before merging. --- rslib/src/template.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rslib/src/template.rs b/rslib/src/template.rs index 7e2433f59..4ae93e4f8 100644 --- a/rslib/src/template.rs +++ b/rslib/src/template.rs @@ -29,9 +29,11 @@ pub type FieldMap<'a> = HashMap<&'a str, u16>; type TemplateResult = std::result::Result; 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"; + "https://docs.ankiweb.net/templates/errors.html#template-syntax-error"; +static TEMPLATE_BLANK_LINK: &str = + "https://docs.ankiweb.net/templates/errors.html#front-of-card-is-blank"; +static TEMPLATE_BLANK_CLOZE_LINK: &str = + "https://docs.ankiweb.net/templates/errors.html#no-cloze-filter-on-cloze-notetype"; // Lexing //----------------------------------------