mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-11 05:32:14 +01:00
Added "relative_to_docs"
value to absolute_links
enum (#7812)
* Add `"relative_to_docs"` value to `absolute_links` enum * refactor to use `oneOf` --------- Co-authored-by: Jake Beazley <jake.beazley@johnlewis.co.uk>
This commit is contained in:
parent
51e4d4b212
commit
7199342dd1
@ -43,7 +43,10 @@
|
|||||||
},
|
},
|
||||||
"absolute_links": {
|
"absolute_links": {
|
||||||
"title": "warning level when absolute links are used",
|
"title": "warning level when absolute links are used",
|
||||||
"$ref": "#/$defs/warning_levels"
|
"oneOf": [
|
||||||
|
{ "$ref": "#/$defs/warning_levels" },
|
||||||
|
{ "enum": ["relative_to_docs"] }
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"unrecognized_links": {
|
"unrecognized_links": {
|
||||||
"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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user