From 60325df375901e49e6a302029f9bb3da3f9b6321 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 3 Aug 2023 20:43:32 +0200 Subject: [PATCH] Updated JSON schema --- docs/schema/plugins/projects.json | 6 ++++++ docs/schema/plugins/tags.json | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/schema/plugins/projects.json b/docs/schema/plugins/projects.json index c5e5b6ce8..8d433ff6a 100644 --- a/docs/schema/plugins/projects.json +++ b/docs/schema/plugins/projects.json @@ -37,6 +37,12 @@ "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.projects_dir", "type": "string", "default": "projects" + }, + "hosting": { + "title": "Enable hoisting", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-an-optimized-site/#+projects.hoisting", + "type": "boolean", + "default": true } }, "additionalProperties": false diff --git a/docs/schema/plugins/tags.json b/docs/schema/plugins/tags.json index 541b0fdae..68359297e 100644 --- a/docs/schema/plugins/tags.json +++ b/docs/schema/plugins/tags.json @@ -53,6 +53,26 @@ "type": "string", "default": "\"-\"" }, + "tags_compare": { + "title": "Sort tags by this function", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#+tags.tags_compare", + "default": "!!python/name:material.plugins.tags.casefold" + }, + "tags_compare_reverse": { + "title": "Soft tags in reverse", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#+tags.tags_compare_reverse", + "default": false + }, + "tags_pages_compare": { + "title": "Sort tags pages by this function", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#+tags.tags_pages_compare", + "default": "!!python/name:material.plugins.tags.page_title" + }, + "tags_pages_compare_reverse": { + "title": "Soft tags pages in reverse", + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#+tags.tags_pages_compare_reverse", + "default": false + }, "tags_allowed": { "title": "Tags allowed", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#+tags.tags_allowed",