1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-14 19:07:41 +01:00
mkdocs-material/docs/schema/plugins/social.json

69 lines
2.4 KiB
JSON
Raw Normal View History

2022-01-29 19:14:23 +01:00
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Built-in social plugin",
"oneOf": [
{
2022-07-17 16:36:42 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
2022-01-29 19:14:23 +01:00
"enum": [
"social"
]
},
{
"type": "object",
"properties": {
"social": {
2022-07-17 16:36:42 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
2022-01-29 19:14:23 +01:00
"type": "object",
"properties": {
"cards": {
"title": "Social card generation",
2022-09-11 19:25:40 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards",
2022-02-21 12:03:36 +01:00
"type": "boolean",
"default": true
2022-01-29 19:14:23 +01:00
},
"cards_color": {
"title": "Social card color palette",
2022-09-11 19:25:40 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_color",
2022-01-29 19:14:23 +01:00
"type": "object",
"properties": {
"fill": {
"title": "Background fill color",
2022-09-11 19:25:40 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_color",
2022-01-29 19:14:23 +01:00
"type": "string"
},
"text": {
"title": "Foreground text color",
2022-09-11 19:25:40 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_color",
2022-01-29 19:14:23 +01:00
"type": "string"
}
},
"additionalProperties": false,
"required": [
"fill",
"text"
]
},
"cards_font": {
2022-01-30 09:04:11 +01:00
"$ref": "../assets/fonts.json"
2022-01-29 19:14:23 +01:00
},
2022-06-19 08:17:14 +02:00
"cards_dir": {
2022-01-29 19:14:23 +01:00
"title": "Social card directory",
2022-09-11 19:25:40 +02:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#+social.cards_dir",
2022-01-29 19:14:23 +01:00
"type": "string",
"default": "assets/images/social"
}
},
2022-01-30 18:00:23 +01:00
"additionalProperties": false,
"defaultSnippets": [
{
"label": "cards_font",
"body": "cards_font: ${1:Roboto}"
}
]
2022-01-29 19:14:23 +01:00
}
},
"additionalProperties": false
}
]
}