mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved JSON schema
This commit is contained in:
parent
51f27bf959
commit
bde34563de
@ -63,13 +63,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
|
||||||
"title": "Table Of Contents – Python Markdown",
|
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#table-of-contents",
|
|
||||||
"enum": [
|
|
||||||
"toc"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -105,6 +98,7 @@
|
|||||||
},
|
},
|
||||||
"toc_depth": {
|
"toc_depth": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#toc-depth",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#toc-depth",
|
||||||
|
"type": "number",
|
||||||
"enum": [
|
"enum": [
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
@ -116,22 +110,28 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false,
|
||||||
|
"defaultSnippets": [
|
||||||
|
{
|
||||||
|
"label": "permalink",
|
||||||
|
"body": "permalink: true"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Table Of Contents – Python Markdown",
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#table-of-contents",
|
||||||
|
"enum": [
|
||||||
|
"toc"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
|
||||||
"title": "Arithmatex – Python Markdown Extensions",
|
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex",
|
|
||||||
"enum": [
|
|
||||||
"pymdownx.arithmatex"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -150,18 +150,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Arithmatex – Python Markdown Extensions",
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex",
|
||||||
|
"enum": [
|
||||||
|
"pymdownx.arithmatex"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
|
||||||
"title": "BetterEm – Python Markdown Extensions",
|
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem",
|
|
||||||
"enum": [
|
|
||||||
"pymdownx.betterem"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -172,18 +172,27 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"smart_enable": {
|
"smart_enable": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/betterem/#options",
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/betterem/#options",
|
||||||
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"all",
|
"all",
|
||||||
"asterisk",
|
"asterisk",
|
||||||
"underscore",
|
"underscore",
|
||||||
"none"
|
"none"
|
||||||
]
|
],
|
||||||
|
"default": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "BetterEm – Python Markdown Extensions",
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem",
|
||||||
|
"enum": [
|
||||||
|
"pymdownx.betterem"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -277,11 +286,13 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"emoji_generator": {
|
"emoji_generator": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/emoji/#options",
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/emoji/#options",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"default": "!!python/name:materialx.emoji.to_svg"
|
||||||
},
|
},
|
||||||
"emoji_index": {
|
"emoji_index": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/emoji/#options",
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/emoji/#options",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"default": "!!python/name:materialx.emoji.twemoji"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#custom-icons",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#custom-icons",
|
||||||
@ -395,10 +406,15 @@
|
|||||||
},
|
},
|
||||||
"repo_url_shorthand": {
|
"repo_url_shorthand": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"user",
|
||||||
|
"repo"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
@ -595,9 +611,11 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"alternate_style": {
|
"alternate_style": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tabbed-alternate-style",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tabbed-alternate-style",
|
||||||
|
"type": "boolean",
|
||||||
"enum": [
|
"enum": [
|
||||||
true
|
true
|
||||||
]
|
],
|
||||||
|
"default": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@ -618,7 +636,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"custom_checkbox": {
|
"custom_checkbox": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist-custom-checkbox",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist-custom-checkbox",
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
},
|
},
|
||||||
"clickable_checkbox": {
|
"clickable_checkbox": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist-clickable-checkbox",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist-clickable-checkbox",
|
||||||
|
@ -133,8 +133,8 @@ markdown_extensions:
|
|||||||
- pymdownx.caret
|
- pymdownx.caret
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- pymdownx.emoji:
|
- pymdownx.emoji:
|
||||||
emoji_index: !!python/name:materialx.emoji.twemoji
|
|
||||||
emoji_generator: !!python/name:materialx.emoji.to_svg
|
emoji_generator: !!python/name:materialx.emoji.to_svg
|
||||||
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
||||||
- pymdownx.highlight:
|
- pymdownx.highlight:
|
||||||
anchor_linenums: true
|
anchor_linenums: true
|
||||||
- pymdownx.inlinehilite
|
- pymdownx.inlinehilite
|
||||||
|
Loading…
Reference in New Issue
Block a user