2022-01-29 21:14:23 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
|
|
"title": "Built-in social plugin",
|
|
|
|
"oneOf": [
|
|
|
|
{
|
2022-07-17 17:36:42 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
|
2022-01-29 21:14:23 +03:00
|
|
|
"enum": [
|
|
|
|
"social"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"social": {
|
2022-07-17 17:36:42 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
|
2022-01-29 21:14:23 +03:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-08 19:58:32 +03:00
|
|
|
"enabled": {
|
|
|
|
"title": "Enable plugin",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.enabled",
|
2022-02-21 14:03:36 +03:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-01-29 21:14:23 +03:00
|
|
|
},
|
2023-05-08 19:58:32 +03:00
|
|
|
"concurrency": {
|
|
|
|
"title": "Concurrency (number of CPUs)",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.concurrency",
|
|
|
|
"type": "number",
|
|
|
|
"default": 1
|
2022-01-29 21:14:23 +03:00
|
|
|
},
|
2023-05-08 19:58:32 +03:00
|
|
|
"cards": {
|
|
|
|
"title": "Social cards",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-01-29 21:14:23 +03:00
|
|
|
},
|
2022-06-19 09:17:14 +03:00
|
|
|
"cards_dir": {
|
2023-05-08 19:58:32 +03:00
|
|
|
"title": "Social cards directory",
|
2022-09-11 20:25:40 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_dir",
|
2022-01-29 21:14:23 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "assets/images/social"
|
2023-05-08 19:58:32 +03:00
|
|
|
},
|
|
|
|
"cards_layout_dir": {
|
|
|
|
"title": "Social cards layout directory",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_layout_dir",
|
|
|
|
"type": "string",
|
|
|
|
"default": "layouts"
|
|
|
|
},
|
|
|
|
"cards_layout": {
|
|
|
|
"title": "Social cards layout",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_layout",
|
|
|
|
"default": "default",
|
|
|
|
"enum": [
|
|
|
|
"default",
|
|
|
|
"default/accent",
|
|
|
|
"default/invert",
|
|
|
|
"default/variant"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cards_layout_options": {
|
|
|
|
"title": "Social cards layout options",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_layout_options",
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"debug": {
|
|
|
|
"title": "Debug mode",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.debug",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"debug_grid": {
|
|
|
|
"title": "Debug grid",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.debug_grid",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"debug_grid_step": {
|
|
|
|
"title": "Debug grid step size",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.debug_grid_step",
|
|
|
|
"type": "number",
|
|
|
|
"default": 32
|
|
|
|
},
|
|
|
|
"debug_color": {
|
|
|
|
"title": "Debug color",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.debug_color",
|
|
|
|
"type": "string",
|
|
|
|
"default": "yellow"
|
|
|
|
},
|
|
|
|
"cache": {
|
|
|
|
"title": "Enable caching",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cache",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"cache_dir": {
|
|
|
|
"title": "Cache directory",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cache_dir",
|
|
|
|
"type": "string",
|
|
|
|
"default": ".cache/plugins/social"
|
2022-01-29 21:14:23 +03:00
|
|
|
}
|
|
|
|
},
|
2023-05-08 19:58:32 +03:00
|
|
|
"additionalProperties": false
|
2022-01-29 21:14:23 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|