From c1336ae0f598a47828c44073fb6491f622280e0d Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 6 May 2024 15:52:50 +0200 Subject: [PATCH] Added missing validation/links/anchors to validation.json schema (#7158) --- 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"] }