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