mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
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.
This commit is contained in:
parent
0e0a678b78
commit
b0c5fe6aef
@ -96,9 +96,8 @@
|
|||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"title": "Path to JavaScript file",
|
"title": "Path to JavaScript file (may be local or absolute URL to external JS)",
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
||||||
"pattern": "\\.m?js($|\\?)"
|
|
||||||
},
|
},
|
||||||
"uniqueItems": true,
|
"uniqueItems": true,
|
||||||
"minItems": 1
|
"minItems": 1
|
||||||
|
Loading…
Reference in New Issue
Block a user