From 755dcec77433e7b3550727e4055bb01c77d1c478 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 6 May 2024 14:53:45 +0200 Subject: [PATCH] Add missing validation/links/anchors to validation.json schema --- docs/schema/validation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/schema/validation.json b/docs/schema/validation.json index a153e6d16ed..58580c0f78c 100644 --- a/docs/schema/validation.json +++ b/docs/schema/validation.json @@ -22,6 +22,7 @@ "title": "Validation of links", "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#validation", "properties": { + "anchors": { "$ref": "#/$defs/anchors" }, "not_found": { "$ref": "#/$defs/not_found" }, "absolute_links": { "$ref": "#/$defs/absolute_links" }, "unrecognized_links": { "$ref": "#/$defs/unrecognized_links" } @@ -47,6 +48,10 @@ "title": "warning level when a relative link cannot be resolved to a document", "$ref": "#/$defs/warning_levels" }, + "anchors": { + "title": "warning level when an #anchor does not exist on the linked document", + "$ref": "#/$defs/warning_levels" + }, "warning_levels": { "enum": ["warn", "info", "ignore"] }