mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-19 19:05:59 +01:00
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
"title": "Minify plugin",
|
|
"description": "Configuration syntax",
|
|
"type": "object",
|
|
"properties": {
|
|
"minify": {
|
|
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin",
|
|
"type": "object",
|
|
"dependencies": {
|
|
"minify_js": [
|
|
"js_files"
|
|
],
|
|
"minify_css": [
|
|
"css_files"
|
|
]
|
|
},
|
|
"properties": {
|
|
"minify_html": {
|
|
"description": "Minify HTML files",
|
|
"type": "boolean"
|
|
},
|
|
"minify_js": {
|
|
"description": "Minify JS files",
|
|
"type": "boolean"
|
|
},
|
|
"minify_css": {
|
|
"description": "Minify CSS files",
|
|
"type": "boolean"
|
|
},
|
|
"htmlmin_opts": {
|
|
"description": "Options for HTML minifier",
|
|
"type": "object"
|
|
},
|
|
"js_files": {
|
|
"description": "List of JS files to minify",
|
|
"type": "array",
|
|
"items": {
|
|
"description": "JS file to minify",
|
|
"pattern": "\\.js$"
|
|
},
|
|
"uniqueItems": true,
|
|
"minItems": 1
|
|
},
|
|
"css_files": {
|
|
"description": "List of CSS files to minify",
|
|
"type": "array",
|
|
"items": {
|
|
"description": "CSS file to minify",
|
|
"pattern": "\\.css$"
|
|
},
|
|
"uniqueItems": true,
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|