Merge pull request #6371 from sisp/refactor/schema-enum-to-const

Replaced `enum` by `const` for constant value types in schemas
This commit is contained in:
Martin Donath 2023-11-21 07:50:19 +01:00 committed by GitHub
commit 24b595035c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 1733 additions and 5199 deletions

File diff suppressed because it is too large Load Diff

View File

@ -27,9 +27,7 @@
{
"title": "Arithmatex Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex",
"enum": [
"pymdownx.arithmatex"
]
"const": "pymdownx.arithmatex"
}
]
},
@ -63,9 +61,7 @@
{
"title": "BetterEm Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem",
"enum": [
"pymdownx.betterem"
]
"const": "pymdownx.betterem"
}
]
},
@ -74,9 +70,7 @@
{
"title": "Caret Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [
"pymdownx.caret"
]
"const": "pymdownx.caret"
},
{
"type": "object",
@ -114,9 +108,7 @@
{
"title": "Critic Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#critic",
"enum": [
"pymdownx.critic"
]
"const": "pymdownx.critic"
},
{
"type": "object",
@ -145,18 +137,14 @@
{
"title": "Details Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#details",
"enum": [
"pymdownx.details"
]
"const": "pymdownx.details"
},
{
"oneOf": [
{
"title": "Emoji Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#emoji",
"enum": [
"pymdownx.emoji"
]
"const": "pymdownx.emoji"
},
{
"type": "object",
@ -208,9 +196,7 @@
{
"title": "Highlight Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight",
"enum": [
"pymdownx.highlight"
]
"const": "pymdownx.highlight"
},
{
"type": "object",
@ -267,18 +253,14 @@
{
"title": "InlineHilite Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#inlinehilite",
"enum": [
"pymdownx.inlinehilite"
]
"const": "pymdownx.inlinehilite"
},
{
"oneOf": [
{
"title": "Keys Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#keys",
"enum": [
"pymdownx.keys"
]
"const": "pymdownx.keys"
},
{
"type": "object",
@ -320,9 +302,7 @@
{
"title": "MagicLink Python Markdown Extensions",
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/",
"enum": [
"pymdownx.magiclink"
]
"const": "pymdownx.magiclink"
},
{
"type": "object",
@ -410,9 +390,7 @@
{
"title": "Mark Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [
"pymdownx.mark"
]
"const": "pymdownx.mark"
},
{
"type": "object",
@ -440,9 +418,7 @@
{
"title": "SmartSymbols Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#smartsymbols",
"enum": [
"pymdownx.smartsymbols"
]
"const": "pymdownx.smartsymbols"
},
{
"type": "object",
@ -569,9 +545,7 @@
{
"title": "Snippets Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets",
"enum": [
"pymdownx.snippets"
]
"const": "pymdownx.snippets"
}
]
},
@ -580,9 +554,7 @@
{
"title": "SuperFences Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences",
"enum": [
"pymdownx.superfences"
]
"const": "pymdownx.superfences"
},
{
"type": "object",
@ -663,9 +635,7 @@
{
"title": "Tasklist Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist",
"enum": [
"pymdownx.tasklist"
]
"const": "pymdownx.tasklist"
},
{
"type": "object",
@ -697,9 +667,7 @@
{
"title": "Tilde Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [
"pymdownx.tilde"
]
"const": "pymdownx.tilde"
},
{
"type": "object",

View File

@ -18,9 +18,7 @@
"if": {
"properties": {
"provider": {
"enum": [
"google"
]
"const": "google"
}
}
},
@ -29,9 +27,7 @@
"provider": {
"title": "Google Analytics",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
"enum": [
"google"
]
"const": "google"
},
"property": {
"anyOf": [
@ -189,21 +185,15 @@
"oneOf": [
{
"title": "Button to accept cookies",
"enum": [
"accept"
]
"const": "accept"
},
{
"title": "Button to reject cookies",
"enum": [
"reject"
]
"const": "reject"
},
{
"title": "Button to manage settings",
"enum": [
"manage"
]
"const": "manage"
}
]
},
@ -310,9 +300,7 @@
"provider": {
"title": "Versioning provider",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#versioning",
"enum": [
"mike"
]
"const": "mike"
},
"default": {
"title": "Default version",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/blog/",
"enum": [
"blog"
]
"const": "blog"
},
{
"type": "object",
@ -114,15 +112,11 @@
"oneOf": [
{
"title": "Post excerpts are optional",
"enum": [
"optional"
]
"const": "optional"
},
{
"title": "Post excerpts are required, thus the build will fail",
"enum": [
"required"
]
"const": "required"
}
],
"default": "optional"

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-gen-files",
"enum": [
"git-authors"
]
"const": "git-authors"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://timvink.github.io/mkdocs-git-authors-plugin/",
"enum": [
"git-authors"
]
"const": "git-authors"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/ojacques/mkdocs-git-committers-plugin-2",
"enum": [
"git-committers"
]
"const": "git-committers"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/zhaoterryy/mkdocs-git-revision-date-plugin",
"enum": [
"git-revision-date"
]
"const": "git-revision-date"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-literate-nav",
"enum": [
"literate-nav"
]
"const": "literate-nav"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/fralau/mkdocs_macros_plugin",
"enum": [
"macros"
]
"const": "macros"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-section-index",
"enum": [
"section-index"
]
"const": "section-index"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/info/",
"enum": [
"info"
]
"const": "info"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/meta/",
"enum": [
"meta"
]
"const": "meta"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/offline/",
"enum": [
"offline"
]
"const": "offline"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/optimize/",
"enum": [
"optimize"
]
"const": "optimize"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/",
"enum": [
"privacy"
]
"const": "privacy"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/projects/",
"enum": [
"projects"
]
"const": "projects"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/search/",
"enum": [
"search"
]
"const": "search"
},
{
"type": "object",
@ -73,117 +71,79 @@
"oneOf": [
{
"title": "Site search language: Arabic",
"enum": [
"ar"
]
"const": "ar"
},
{
"title": "Site search language: Danish",
"enum": [
"da"
]
"const": "da"
},
{
"title": "Site search language: German",
"enum": [
"de"
]
"const": "de"
},
{
"title": "Site search language: Dutch",
"enum": [
"du"
]
"const": "du"
},
{
"title": "Site search language: English",
"enum": [
"en"
]
"const": "en"
},
{
"title": "Site search language: Spanish",
"enum": [
"es"
]
"const": "es"
},
{
"title": "Site search language: Finnish",
"enum": [
"fi"
]
"const": "fi"
},
{
"title": "Site search language: French",
"enum": [
"fr"
]
"const": "fr"
},
{
"title": "Site search language: Hungarian",
"enum": [
"hu"
]
"const": "hu"
},
{
"title": "Site search language: Italian",
"enum": [
"it"
]
"const": "it"
},
{
"title": "Site search language: Japanese",
"enum": [
"ja"
]
"const": "ja"
},
{
"title": "Site search language: Norwegian",
"enum": [
"no"
]
"const": "no"
},
{
"title": "Site search language: Portuguese",
"enum": [
"pt"
]
"const": "pt"
},
{
"title": "Site search language: Romanian",
"enum": [
"ro"
]
"const": "ro"
},
{
"title": "Site search language: Russian",
"enum": [
"ru"
]
"const": "ru"
},
{
"title": "Site search language: Swedish",
"enum": [
"sv"
]
"const": "sv"
},
{
"title": "Site search language: Thai",
"enum": [
"th"
]
"const": "th"
},
{
"title": "Site search language: Turkish",
"enum": [
"tr"
]
"const": "tr"
},
{
"title": "Site search language: Vietnamese",
"enum": [
"vi"
]
"const": "vi"
}
]
}

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/social/",
"enum": [
"social"
]
"const": "social"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/tags/",
"enum": [
"tags"
]
"const": "tags"
},
{
"type": "object",

View File

@ -4,9 +4,7 @@
"oneOf": [
{
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/typeset/",
"enum": [
"typeset"
]
"const": "typeset"
},
{
"type": "object",

View File

@ -9,9 +9,7 @@
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#name",
"oneOf": [
{
"enum": [
"material"
]
"const": "material"
},
{
"type": "null"
@ -48,375 +46,251 @@
{
"title": "Site language: Custom",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#custom-translations",
"enum": [
"custom"
]
"const": "custom"
},
{
"title": "Site language: Afrikaans",
"enum": [
"af"
]
"const": "af"
},
{
"title": "Site language: Arabic",
"enum": [
"ar"
]
"const": "ar"
},
{
"title": "Site language: Bulgarian",
"enum": [
"bg"
]
"const": "bg"
},
{
"title": "Site language: Bengali (Bangla)",
"enum": [
"bn"
]
"const": "bn"
},
{
"title": "Site language: Catalan",
"enum": [
"ca"
]
"const": "ca"
},
{
"title": "Site language: Czech",
"enum": [
"cs"
]
"const": "cs"
},
{
"title": "Site language: Danish",
"enum": [
"da"
]
"const": "da"
},
{
"title": "Site language: German",
"enum": [
"de"
]
"const": "de"
},
{
"title": "Site language: Greek",
"enum": [
"el"
]
"const": "el"
},
{
"title": "Site language: English",
"enum": [
"en"
]
"const": "en"
},
{
"title": "Site language: Esperanto",
"enum": [
"eo"
]
"const": "eo"
},
{
"title": "Site language: Spanish",
"enum": [
"es"
]
"const": "es"
},
{
"title": "Site language: Estonian",
"enum": [
"et"
]
"const": "et"
},
{
"title": "Site language: Persian (Farsi)",
"enum": [
"fa"
]
"const": "fa"
},
{
"title": "Site language: Finnish",
"enum": [
"fi"
]
"const": "fi"
},
{
"title": "Site language: French",
"enum": [
"fr"
]
"const": "fr"
},
{
"title": "Site language: Galician",
"enum": [
"gl"
]
"const": "gl"
},
{
"title": "Site language: Hebrew",
"enum": [
"he"
]
"const": "he"
},
{
"title": "Site language: Hindi",
"enum": [
"hi"
]
"const": "hi"
},
{
"title": "Site language: Croatian",
"enum": [
"hr"
]
"const": "hr"
},
{
"title": "Site language: Hungarian",
"enum": [
"hu"
]
"const": "hu"
},
{
"title": "Site language: Armenian",
"enum": [
"hy"
]
"const": "hy"
},
{
"title": "Site language: Indonesian",
"enum": [
"id"
]
"const": "id"
},
{
"title": "Site language: Icelandic",
"enum": [
"is"
]
"const": "is"
},
{
"title": "Site language: Italian",
"enum": [
"it"
]
"const": "it"
},
{
"title": "Site language: Japanese",
"enum": [
"ja"
]
"const": "ja"
},
{
"title": "Site language: Georgian",
"enum": [
"ka"
]
"const": "ka"
},
{
"title": "Site language: Kannada",
"enum": [
"kn"
]
"const": "kn"
},
{
"title": "Site language: Korean",
"enum": [
"ko"
]
"const": "ko"
},
{
"title": "Site language: Lithuanian",
"enum": [
"lt"
]
"const": "lt"
},
{
"title": "Site language: Latvian",
"enum": [
"lv"
]
"const": "lv"
},
{
"title": "Site language: Macedonian",
"enum": [
"mk"
]
"const": "mk"
},
{
"title": "Site language: Mongolian",
"enum": [
"mn"
]
"const": "mn"
},
{
"title": "Site language: Bahasa Malaysia",
"enum": [
"ms"
]
"const": "ms"
},
{
"title": "Site language: Burmese",
"enum": [
"my"
]
"const": "my"
},
{
"title": "Site language: Dutch",
"enum": [
"nl"
]
"const": "nl"
},
{
"title": "Site language: Norwegian (Bokmål)",
"enum": [
"nb"
]
"const": "nb"
},
{
"title": "Site language: Norwegian (Nynorsk)",
"enum": [
"nn"
]
"const": "nn"
},
{
"title": "Site language: Polish",
"enum": [
"pl"
]
"const": "pl"
},
{
"title": "Site language: Portuguese",
"enum": [
"pt"
]
"const": "pt"
},
{
"title": "Site language: Portuguese (Brasilian)",
"enum": [
"pt-BR"
]
"const": "pt-BR"
},
{
"title": "Site language: Romanian",
"enum": [
"ro"
]
"const": "ro"
},
{
"title": "Site language: Russian",
"enum": [
"ru"
]
"const": "ru"
},
{
"title": "Site language: Sanskrit",
"enum": [
"sa"
]
"const": "sa"
},
{
"title": "Site language: Serbo-Croatian",
"enum": [
"sh"
]
"const": "sh"
},
{
"title": "Site language: Sinhalese",
"enum": [
"si"
]
"const": "si"
},
{
"title": "Site language: Slovak",
"enum": [
"sk"
]
"const": "sk"
},
{
"title": "Site language: Slovenian",
"enum": [
"sl"
]
"const": "sl"
},
{
"title": "Site language: Serbian",
"enum": [
"sr"
]
"const": "sr"
},
{
"title": "Site language: Swedish",
"enum": [
"sv"
]
"const": "sv"
},
{
"title": "Site language: Telugu",
"enum": [
"te"
]
"const": "te"
},
{
"title": "Site language: Thai",
"enum": [
"th"
]
"const": "th"
},
{
"title": "Site language: Tagalog",
"enum": [
"tl"
]
"const": "tl"
},
{
"title": "Site language: Turkish",
"enum": [
"tr"
]
"const": "tr"
},
{
"title": "Site language: Ukrainian",
"enum": [
"uk"
]
"const": "uk"
},
{
"title": "Site language: Urdu",
"enum": [
"ur"
]
"const": "ur"
},
{
"title": "Site language: Uzbek",
"enum": [
"uz"
]
"const": "uz"
},
{
"title": "Site language: Vietnamese",
"enum": [
"vi"
]
"const": "vi"
},
{
"title": "Site language: Chinese (Simplified)",
"enum": [
"zh"
]
"const": "zh"
},
{
"title": "Site language: Chinese (Traditional)",
"enum": [
"zh-Hant"
]
"const": "zh-Hant"
},
{
"title": "Site language: Chinese (Taiwanese)",
"enum": [
"zh-TW"
]
"const": "zh-TW"
}
],
"default": "en"
@ -597,191 +471,137 @@
{
"title": "Mark as read",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/#mark-as-read",
"enum": [
"announce.dismiss"
]
"const": "announce.dismiss"
},
{
"title": "Edit this page",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions",
"enum": [
"content.action.edit"
]
"const": "content.action.edit"
},
{
"title": "View source of this page",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#code-actions",
"enum": [
"content.action.view"
]
"const": "content.action.view"
},
{
"title": "Code annotations",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations",
"enum": [
"content.code.annotate"
]
"const": "content.code.annotate"
},
{
"title": "Code copy button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button",
"enum": [
"content.code.copy"
]
"const": "content.code.copy"
},
{
"title": "Code selection button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-selection-button",
"enum": [
"content.code.select"
]
"const": "content.code.select"
},
{
"title": "Linked content tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs",
"enum": [
"content.tabs.link"
]
"const": "content.tabs.link"
},
{
"title": "Improved tooltips",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/tooltips/#improved-tooltips",
"enum": [
"content.tooltips"
]
"const": "content.tooltips"
},
{
"title": "Header hides automatically when scrolling",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/#automatic-hiding",
"enum": [
"header.autohide"
]
"const": "header.autohide"
},
{
"title": "Navigation expansion",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion",
"enum": [
"navigation.expand"
]
"const": "navigation.expand"
},
{
"title": "Navigation footer",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-footer",
"enum": [
"navigation.footer"
]
"const": "navigation.footer"
},
{
"title": "Section index pages",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages",
"enum": [
"navigation.indexes"
]
"const": "navigation.indexes"
},
{
"title": "Instant loading",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading",
"enum": [
"navigation.instant"
]
"const": "navigation.instant"
},
{
"title": "Instant prefetching",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-prefetching",
"enum": [
"navigation.instant.prefetch"
]
"const": "navigation.instant.prefetch"
},
{
"title": "Progress indicator",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#progress-indicator",
"enum": [
"navigation.instant.progress"
]
"const": "navigation.instant.progress"
},
{
"title": "Navigation path (Breadcrumbs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-path",
"enum": [
"navigation.path"
]
"const": "navigation.path"
},
{
"title": "Navigation pruning",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-pruning",
"enum": [
"navigation.prune"
]
"const": "navigation.prune"
},
{
"title": "Navigation sections",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections",
"enum": [
"navigation.sections"
]
"const": "navigation.sections"
},
{
"title": "Navigation tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-tabs",
"enum": [
"navigation.tabs"
]
"const": "navigation.tabs"
},
{
"title": "Sticky navigation tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#sticky-navigation-tabs",
"enum": [
"navigation.tabs.sticky"
]
"const": "navigation.tabs.sticky"
},
{
"title": "Back-to-top button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button",
"enum": [
"navigation.top"
]
"const": "navigation.top"
},
{
"title": "Anchor tracking",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking",
"enum": [
"navigation.tracking"
]
"const": "navigation.tracking"
},
{
"title": "Search higlighting",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-highlighting",
"enum": [
"search.highlight"
]
"const": "search.highlight"
},
{
"title": "Search sharing",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-sharing",
"enum": [
"search.share"
]
"const": "search.share"
},
{
"title": "Search suggestions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#search-suggestions",
"enum": [
"search.suggest"
]
"const": "search.suggest"
},
{
"title": "Integrated table of contents",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following",
"enum": [
"toc.follow"
]
"const": "toc.follow"
},
{
"title": "Integrated table of contents",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-integration",
"enum": [
"toc.integrate"
]
"const": "toc.integrate"
}
]
},

View File

@ -337,9 +337,7 @@ const schema$ = merge(
"markdownDescription": `https://fonts.google.com/specimen/${
font.replace(/\s+/g, "+")
}`,
"enum": [
font
],
"const": font,
}))
})),
switchMap(data => write(