mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added missing validation/links/anchors to validation.json schema (#7158)
This commit is contained in:
parent
1c7e9541d6
commit
c1336ae0f5
@ -22,6 +22,7 @@
|
|||||||
"title": "Validation of links",
|
"title": "Validation of links",
|
||||||
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#validation",
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#validation",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"anchors": { "$ref": "#/$defs/anchors" },
|
||||||
"not_found": { "$ref": "#/$defs/not_found" },
|
"not_found": { "$ref": "#/$defs/not_found" },
|
||||||
"absolute_links": { "$ref": "#/$defs/absolute_links" },
|
"absolute_links": { "$ref": "#/$defs/absolute_links" },
|
||||||
"unrecognized_links": { "$ref": "#/$defs/unrecognized_links" }
|
"unrecognized_links": { "$ref": "#/$defs/unrecognized_links" }
|
||||||
@ -47,6 +48,10 @@
|
|||||||
"title": "warning level when a relative link cannot be resolved to a document",
|
"title": "warning level when a relative link cannot be resolved to a document",
|
||||||
"$ref": "#/$defs/warning_levels"
|
"$ref": "#/$defs/warning_levels"
|
||||||
},
|
},
|
||||||
|
"anchors": {
|
||||||
|
"title": "warning level when an #anchor does not exist on the linked document",
|
||||||
|
"$ref": "#/$defs/warning_levels"
|
||||||
|
},
|
||||||
"warning_levels": {
|
"warning_levels": {
|
||||||
"enum": ["warn", "info", "ignore"]
|
"enum": ["warn", "info", "ignore"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user