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

14 Commits

Author SHA1 Message Date
Matthias Schoettle
b1185aa4e9
Fixed JSON parse error in schema.json (#7152) 2024-05-06 09:05:43 +02:00
Michael Vorburger
b0c5fe6aef
Updated JSON schema (#7150)
Since https://github.com/mkdocs/mkdocs/pull/92 for https://github.com/mkdocs/mkdocs/issues/91, an extra_javascript item does not necessarily have to end in *.js; e.g. in https://github.com/enola-dev/enola/pull/669 I have a extra_javascript: - https://unpkg.com/mustache@latest, which this flags up as wrong - although it's not (it works great); ergo it's better to remove this constraint.
2024-05-03 18:48:34 +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
squidfunk
530f84416e
Added support for using .mjs files in extra_javascript 2023-05-30 19:40:58 +02:00
Sorin Sbarnea
7132103e24
Updated JSON Schema (#4905)
Related: https://github.com/ansible/devtools/issues/86
2023-01-28 14:35:24 +01:00
squidfunk
c4d61cdc41 Fixed blob edit URLs for view page source button 2023-01-05 22:59:56 +01:00
squidfunk
2d4fe293fc Updated schema 2022-12-02 19:05:11 +01:00
squidfunk
c68bad2f83 Updated schema 2022-07-17 12:03:37 +02:00
squidfunk
093b6e6aaa Updated schema.json 2022-06-05 10:26:58 +02:00
Fullchee Zhang
0b3492d731
Added dev_addr property to schema.json (#3766) 2022-03-26 08:23:54 +01:00
squidfunk
9eebd24422 Improved JSON schema 2022-01-30 14:19:35 +01:00
squidfunk
4fd791f3a0 Updated JSON schema 2022-01-29 19:14:23 +01:00
squidfunk
e7f1519308 Updated JSON schema 2022-01-29 18:19:42 +01:00
squidfunk
8a1e52aa4a Added JSON schema 2022-01-29 16:12:25 +01:00