YAML schema validation bug? #4131
Answered
by
squidfunk
patrick-5546
asked this question in
Q&A
-
In the provided "extra_javascript": {
"title": "Additional JavaScript files to include",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
"type": "array",
"items": {
"title": "Path to JavaScript file",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
"pattern": "\\.js$"
},
"uniqueItems": true,
"minItems": 1
}, However, this is not always the case: this is the example mkdocs.yml configuration for MathJax: extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Jul 17, 2022
Replies: 1 comment
-
Thanks for noting. Indeed, query parameters should be allowed. Fixed in c68bad2. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
patrick-5546
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for noting. Indeed, query parameters should be allowed. Fixed in c68bad2.