mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added missing icons and their defaults to JSON schema (#7020)
* add missing `icon`s to theme schema https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/?h=icons#site-icons * Add missing schema defaults
This commit is contained in:
parent
e4eb74e7ff
commit
0e8ed32bda
@ -344,6 +344,33 @@
|
|||||||
"repo": {
|
"repo": {
|
||||||
"$ref": "#/$defs/icon"
|
"$ref": "#/$defs/icon"
|
||||||
},
|
},
|
||||||
|
"annotation": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"top": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"share": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"menu": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"alternate": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"search": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"close": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"previous": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
|
"next": {
|
||||||
|
"$ref": "#/$defs/icon"
|
||||||
|
},
|
||||||
"admonition": {
|
"admonition": {
|
||||||
"title": "Admonition icon",
|
"title": "Admonition icon",
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonition-icons",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/admonitions/#admonition-icons",
|
||||||
@ -463,6 +490,34 @@
|
|||||||
{
|
{
|
||||||
"label": "repo",
|
"label": "repo",
|
||||||
"body": "repo: ${1:fontawesome/brands/git-alt}"
|
"body": "repo: ${1:fontawesome/brands/git-alt}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "top",
|
||||||
|
"body": "top: ${1:material/arrow-up}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "menu",
|
||||||
|
"body": "menu: ${1:material/menu}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "alternate",
|
||||||
|
"body": "alternate: ${1:material/translate}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "share",
|
||||||
|
"body": "share: ${1:material/share-variant}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "search",
|
||||||
|
"body": "search: ${1:material/magnify}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "previous",
|
||||||
|
"body": "previous: ${1:material/arrow-left}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "next",
|
||||||
|
"body": "next: ${1:material/arrow-right}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user