1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 10:25:58 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Michael Vorburger
c1336ae0f5
Added missing validation/links/anchors to validation.json schema (#7158) 2024-05-06 15:52:50 +02:00
Alexander Voss
8622ea6381
Updated JSON schema (#6146)
* added missing "unrecognized_links"

* changed "definitions" to "$defs"

"$defs" is where people would expect definitions of
reusable subschemas to live
2023-10-06 09:53:01 +02:00
Alexander Voss
27a1e7c3ee
Added new MkDocs 1.5 settings to JSON schema
* added support for two new entries in mkdocs.yml

`exclude_docs` and `not_in_nav` were introduced in MkDocs Version 1.5

* added support for the validation field

* using $defs, supporting simplified form, no additional props

- this should support the forms of definitions described in the manual
  https://www.mkdocs.org/user-guide/configuration/#validation
  including uses with `nav` and `link` sections as well as without
- making use of a `$defs` section to avoid too much duplication
- added `"additionalProperties": false`

* moved `additionalProperties` for consistency with style
2023-10-05 19:16:54 +02:00