1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-01 02:27:17 +01:00
mkdocs-material/docs/schema/plugins/external/minify.json

69 lines
2.2 KiB
JSON
Raw Normal View History

2022-01-29 16:12:25 +01:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Minify plugin",
"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": {
2022-01-29 18:19:42 +01:00
"title": "Minify HTML files",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
"type": "boolean",
"default": true
2022-01-29 16:12:25 +01:00
},
"minify_js": {
2022-01-29 18:19:42 +01:00
"title": "Minify JavaScript files",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-30 14:19:35 +01:00
"type": "boolean"
2022-01-29 16:12:25 +01:00
},
"minify_css": {
2022-01-29 18:19:42 +01:00
"title": "Minify CSS files",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-30 14:19:35 +01:00
"type": "boolean"
2022-01-29 16:12:25 +01:00
},
"htmlmin_opts": {
2022-01-29 18:19:42 +01:00
"title": "Options for HTML minifier",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-29 16:12:25 +01:00
"type": "object"
},
"js_files": {
2022-01-29 18:19:42 +01:00
"title": "JavaScript files to minify",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-29 16:12:25 +01:00
"type": "array",
"items": {
2022-01-29 18:19:42 +01:00
"title": "Path to JavaScript file",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-29 16:12:25 +01:00
"pattern": "\\.js$"
},
"uniqueItems": true,
"minItems": 1
},
"css_files": {
2022-01-29 18:19:42 +01:00
"title": "CSS files to minify",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-29 16:12:25 +01:00
"type": "array",
"items": {
2022-01-29 18:19:42 +01:00
"title": "Path to CSS file",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
2022-01-29 16:12:25 +01:00
"pattern": "\\.css$"
},
"uniqueItems": true,
"minItems": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}