1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 02:15:56 +01:00

Added missing validation/links/anchors to validation.json schema (#7158)

This commit is contained in:
Michael Vorburger 2024-05-06 15:52:50 +02:00 committed by GitHub
parent 1c7e9541d6
commit c1336ae0f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]
}