1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed JSON schema validation errors

This commit is contained in:
squidfunk 2023-01-14 20:48:22 +01:00
parent 3cac37ef73
commit 87bf3fdb4c
4 changed files with 7 additions and 13 deletions

View File

@ -93,7 +93,7 @@ which are currently exclusively available to sponsors:
<div class="mdx-columns" markdown> <div class="mdx-columns" markdown>
- [x] [Navigation path] (Breadcrumbs): :material-alert-decagram:{ .mdx-pulse title="Added on january 14, 2023" } - [x] [Navigation path] (Breadcrumbs): :material-alert-decagram:{ .mdx-pulse title="Added on January 14, 2023" }
- [x] [Typeset plugin]: :material-alert-decagram:{ .mdx-pulse title="Added on December 20, 2022" } - [x] [Typeset plugin]: :material-alert-decagram:{ .mdx-pulse title="Added on December 20, 2022" }
- [x] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" } - [x] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" }
- [x] [Navigation subtitles] - [x] [Navigation subtitles]

View File

@ -16,7 +16,7 @@
"properties": { "properties": {
"provider": { "provider": {
"title": "Analytics provider", "title": "Analytics provider",
"oneOf": [ "anyOf": [
{ {
"title": "Google Analytics", "title": "Google Analytics",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
@ -30,7 +30,7 @@
] ]
}, },
"property": { "property": {
"oneOf": [ "anyOf": [
{ {
"title": "Google Analytics 4", "title": "Google Analytics 4",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
@ -370,7 +370,7 @@
] ]
}, },
"icon": { "icon": {
"oneOf": [ "anyOf": [
{ {
"$ref": "assets/icons.json" "$ref": "assets/icons.json"
}, },

View File

@ -4,7 +4,7 @@
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav", "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav",
"type": "array", "type": "array",
"items": { "items": {
"oneOf": [ "anyOf": [
{ {
"title": "Navigation item", "title": "Navigation item",
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav", "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav",

View File

@ -882,7 +882,7 @@
"scheme": { "scheme": {
"title": "Color scheme", "title": "Color scheme",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme",
"oneOf": [ "anyOf": [
{ {
"enum": [ "enum": [
"default", "default",
@ -892,12 +892,6 @@
{ {
"type": "string" "type": "string"
} }
],
"defaultSnippets": [
{
"label": "default",
"body": "${1:default}"
}
] ]
}, },
"primary": { "primary": {
@ -955,7 +949,7 @@
] ]
}, },
"icon": { "icon": {
"oneOf": [ "anyOf": [
{ {
"$ref": "assets/icons.json" "$ref": "assets/icons.json"
}, },