From 87bf3fdb4ca40b27ac69d8b6f2329f7e1f059020 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 14 Jan 2023 20:48:22 +0100 Subject: [PATCH] Fixed JSON schema validation errors --- docs/insiders/index.md | 2 +- docs/schema/extra.json | 6 +++--- docs/schema/nav.json | 2 +- docs/schema/theme.json | 10 ++-------- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/docs/insiders/index.md b/docs/insiders/index.md index f99fc3193..7617256f3 100644 --- a/docs/insiders/index.md +++ b/docs/insiders/index.md @@ -93,7 +93,7 @@ which are currently exclusively available to sponsors:
-- [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] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" } - [x] [Navigation subtitles] diff --git a/docs/schema/extra.json b/docs/schema/extra.json index a94da8606..91a88d9cb 100644 --- a/docs/schema/extra.json +++ b/docs/schema/extra.json @@ -16,7 +16,7 @@ "properties": { "provider": { "title": "Analytics provider", - "oneOf": [ + "anyOf": [ { "title": "Google Analytics", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics", @@ -30,7 +30,7 @@ ] }, "property": { - "oneOf": [ + "anyOf": [ { "title": "Google Analytics 4", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics", @@ -370,7 +370,7 @@ ] }, "icon": { - "oneOf": [ + "anyOf": [ { "$ref": "assets/icons.json" }, diff --git a/docs/schema/nav.json b/docs/schema/nav.json index 89cf4fb42..8e17feff8 100644 --- a/docs/schema/nav.json +++ b/docs/schema/nav.json @@ -4,7 +4,7 @@ "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav", "type": "array", "items": { - "oneOf": [ + "anyOf": [ { "title": "Navigation item", "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#nav", diff --git a/docs/schema/theme.json b/docs/schema/theme.json index c65f04d56..9f51b902f 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -882,7 +882,7 @@ "scheme": { "title": "Color scheme", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme", - "oneOf": [ + "anyOf": [ { "enum": [ "default", @@ -892,12 +892,6 @@ { "type": "string" } - ], - "defaultSnippets": [ - { - "label": "default", - "body": "${1:default}" - } ] }, "primary": { @@ -955,7 +949,7 @@ ] }, "icon": { - "oneOf": [ + "anyOf": [ { "$ref": "assets/icons.json" },