mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Allow pymdownx.magiclink without arguments in schema
This commit is contained in:
parent
4151f326dc
commit
adabdd0bec
@ -299,35 +299,46 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"oneOf": [
|
||||||
"properties": {
|
{
|
||||||
"pymdownx.magiclink": {
|
|
||||||
"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": [
|
||||||
|
"pymdownx.magiclink"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"user": {
|
"pymdownx.magiclink": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
"title": "MagicLink – Python Markdown Extensions",
|
||||||
"type": "string"
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/",
|
||||||
},
|
"type": "object",
|
||||||
"repo": {
|
"properties": {
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
"user": {
|
||||||
"type": "string"
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
||||||
},
|
"type": "string"
|
||||||
"repo_url_shorthand": {
|
},
|
||||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
"repo": {
|
||||||
"type": "boolean",
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
||||||
"default": true
|
"type": "string"
|
||||||
|
},
|
||||||
|
"repo_url_shorthand": {
|
||||||
|
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/#options",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"user",
|
||||||
|
"repo"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false
|
||||||
"required": [
|
|
||||||
"user",
|
|
||||||
"repo"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
"additionalProperties": false
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
Loading…
Reference in New Issue
Block a user