Add 'cache_safe' to mkdocs-minify-plugin schema

This commit is contained in:
TetraTheta 2022-12-17 02:13:12 +09:00
parent 261f8b6a04
commit 814d373e52

View File

@ -24,18 +24,26 @@
"minify_js": { "minify_js": {
"title": "Minify JavaScript files", "title": "Minify JavaScript files",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options", "markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
"type": "boolean" "type": "boolean",
"default": false
}, },
"minify_css": { "minify_css": {
"title": "Minify CSS files", "title": "Minify CSS files",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options", "markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
"type": "boolean" "type": "boolean",
"default": false
}, },
"htmlmin_opts": { "htmlmin_opts": {
"title": "Options for HTML minifier", "title": "Options for HTML minifier",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options", "markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
"type": "object" "type": "object"
}, },
"cache_safe": {
"title": "Add hash to Javascript and CSS file names",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",
"type": "boolean",
"default": false
},
"js_files": { "js_files": {
"title": "JavaScript files to minify", "title": "JavaScript files to minify",
"markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options", "markdownDescription": "https://github.com/byrnereese/mkdocs-minify-plugin#options",