Replaced enum by const for constant value types in schemas

This commit is contained in:
Sigurd Spieckermann 2023-11-20 10:59:18 +01:00
parent 15f45bfe6c
commit b0680bd6e2
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", "title": "Arithmatex Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex",
"enum": [ "const": "pymdownx.arithmatex"
"pymdownx.arithmatex"
]
} }
] ]
}, },
@ -63,9 +61,7 @@
{ {
"title": "BetterEm Python Markdown Extensions", "title": "BetterEm Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem",
"enum": [ "const": "pymdownx.betterem"
"pymdownx.betterem"
]
} }
] ]
}, },
@ -74,9 +70,7 @@
{ {
"title": "Caret Python Markdown Extensions", "title": "Caret Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [ "const": "pymdownx.caret"
"pymdownx.caret"
]
}, },
{ {
"type": "object", "type": "object",
@ -114,9 +108,7 @@
{ {
"title": "Critic Python Markdown Extensions", "title": "Critic Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#critic", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#critic",
"enum": [ "const": "pymdownx.critic"
"pymdownx.critic"
]
}, },
{ {
"type": "object", "type": "object",
@ -145,18 +137,14 @@
{ {
"title": "Details Python Markdown Extensions", "title": "Details Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#details", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#details",
"enum": [ "const": "pymdownx.details"
"pymdownx.details"
]
}, },
{ {
"oneOf": [ "oneOf": [
{ {
"title": "Emoji Python Markdown Extensions", "title": "Emoji Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#emoji", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#emoji",
"enum": [ "const": "pymdownx.emoji"
"pymdownx.emoji"
]
}, },
{ {
"type": "object", "type": "object",
@ -208,9 +196,7 @@
{ {
"title": "Highlight Python Markdown Extensions", "title": "Highlight Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight",
"enum": [ "const": "pymdownx.highlight"
"pymdownx.highlight"
]
}, },
{ {
"type": "object", "type": "object",
@ -267,18 +253,14 @@
{ {
"title": "InlineHilite Python Markdown Extensions", "title": "InlineHilite Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#inlinehilite", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#inlinehilite",
"enum": [ "const": "pymdownx.inlinehilite"
"pymdownx.inlinehilite"
]
}, },
{ {
"oneOf": [ "oneOf": [
{ {
"title": "Keys Python Markdown Extensions", "title": "Keys Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#keys", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#keys",
"enum": [ "const": "pymdownx.keys"
"pymdownx.keys"
]
}, },
{ {
"type": "object", "type": "object",
@ -320,9 +302,7 @@
{ {
"title": "MagicLink Python Markdown Extensions", "title": "MagicLink Python Markdown Extensions",
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/", "markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/",
"enum": [ "const": "pymdownx.magiclink"
"pymdownx.magiclink"
]
}, },
{ {
"type": "object", "type": "object",
@ -410,9 +390,7 @@
{ {
"title": "Mark Python Markdown Extensions", "title": "Mark Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [ "const": "pymdownx.mark"
"pymdownx.mark"
]
}, },
{ {
"type": "object", "type": "object",
@ -440,9 +418,7 @@
{ {
"title": "SmartSymbols Python Markdown Extensions", "title": "SmartSymbols Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#smartsymbols", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#smartsymbols",
"enum": [ "const": "pymdownx.smartsymbols"
"pymdownx.smartsymbols"
]
}, },
{ {
"type": "object", "type": "object",
@ -569,9 +545,7 @@
{ {
"title": "Snippets Python Markdown Extensions", "title": "Snippets Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets",
"enum": [ "const": "pymdownx.snippets"
"pymdownx.snippets"
]
} }
] ]
}, },
@ -580,9 +554,7 @@
{ {
"title": "SuperFences Python Markdown Extensions", "title": "SuperFences Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences",
"enum": [ "const": "pymdownx.superfences"
"pymdownx.superfences"
]
}, },
{ {
"type": "object", "type": "object",
@ -663,9 +635,7 @@
{ {
"title": "Tasklist Python Markdown Extensions", "title": "Tasklist Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist",
"enum": [ "const": "pymdownx.tasklist"
"pymdownx.tasklist"
]
}, },
{ {
"type": "object", "type": "object",
@ -697,9 +667,7 @@
{ {
"title": "Tilde Python Markdown Extensions", "title": "Tilde Python Markdown Extensions",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
"enum": [ "const": "pymdownx.tilde"
"pymdownx.tilde"
]
}, },
{ {
"type": "object", "type": "object",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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