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": {
|
|
|
|
"cards": {
|
|
|
|
"title": "Social card generation",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards",
|
2022-02-21 14:03:36 +03:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2022-01-29 21:14:23 +03:00
|
|
|
},
|
|
|
|
"cards_color": {
|
|
|
|
"title": "Social card color palette",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards-color",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"fill": {
|
|
|
|
"title": "Background fill color",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards-color",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"title": "Foreground text color",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards-color",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"fill",
|
|
|
|
"text"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cards_font": {
|
2022-01-30 11:04:11 +03:00
|
|
|
"$ref": "../assets/fonts.json"
|
2022-01-29 21:14:23 +03:00
|
|
|
},
|
2022-06-19 09:17:14 +03:00
|
|
|
"cards_dir": {
|
2022-01-29 21:14:23 +03:00
|
|
|
"title": "Social card directory",
|
2022-06-19 09:17:14 +03:00
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#cards-dir",
|
2022-01-29 21:14:23 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "assets/images/social"
|
|
|
|
}
|
|
|
|
},
|
2022-01-30 20:00:23 +03:00
|
|
|
"additionalProperties": false,
|
|
|
|
"defaultSnippets": [
|
|
|
|
{
|
|
|
|
"label": "cards_font",
|
|
|
|
"body": "cards_font: ${1:Roboto}"
|
|
|
|
}
|
|
|
|
]
|
2022-01-29 21:14:23 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|