mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Replace Neoteroi markdown extensions schema with external URL
This commit is contained in:
parent
6b3accd2a7
commit
3d76c89483
@ -4,18 +4,36 @@
|
|||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"oneOf": [
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/$defs/external"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/$defs/external-community"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uniqueItems": true,
|
||||||
|
"minItems": 1,
|
||||||
|
"$defs": {
|
||||||
|
"external": {
|
||||||
|
"description": "External markdown extensions, schema provided by us",
|
||||||
|
"anyOf": [
|
||||||
{
|
{
|
||||||
"$ref": "extensions/markdown.json"
|
"$ref": "extensions/markdown.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "extensions/pymdownx.json"
|
"$ref": "extensions/pymdownx.json"
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "extensions/external/neoteroi.json"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uniqueItems": true,
|
"external-community": {
|
||||||
"minItems": 1
|
"description": "External markdown extensions, schema provided by our community",
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"$ref": "https://raw.githubusercontent.com/Neoteroi/mkdocs-plugins/main/docs/extensions-schema.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
27
docs/schema/extensions/external/neoteroi.json
vendored
27
docs/schema/extensions/external/neoteroi.json
vendored
@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://json-schema.org/draft-07/schema",
|
|
||||||
"title": "Neoteroi markdown extensions",
|
|
||||||
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins",
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"title": "Cards – Neoteroi Markdown",
|
|
||||||
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/cards/",
|
|
||||||
"const": "neoteroi.cards"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "Timeline – Neoteroi Markdown",
|
|
||||||
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/timeline/",
|
|
||||||
"const": "neoteroi.timeline"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "Gantt – Neoteroi Markdown",
|
|
||||||
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/gantt/",
|
|
||||||
"const": "neoteroi.projects"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "Spantable – Neoteroi Markdown",
|
|
||||||
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/spantable/",
|
|
||||||
"const": "neoteroi.spantable"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user