Skip to content

Commit

Permalink
Added missing validation/links/anchors to validation.json schema (#7158)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed May 6, 2024
1 parent 1c7e954 commit c1336ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/schema/validation.json
Expand Up @@ -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" }
Expand All @@ -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"]
}
Expand Down

0 comments on commit c1336ae

Please sign in to comment.