Skip to content

Commit 3d76c89

Browse files
committed
Replace Neoteroi markdown extensions schema with external URL
1 parent 6b3accd commit 3d76c89

File tree

2 files changed

+25
-34
lines changed

2 files changed

+25
-34
lines changed

docs/schema/extensions.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,36 @@
44
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/",
55
"type": "array",
66
"items": {
7-
"oneOf": [
7+
"anyOf": [
88
{
9-
"$ref": "extensions/markdown.json"
9+
"$ref": "#/$defs/external"
1010
},
1111
{
12-
"$ref": "extensions/pymdownx.json"
13-
},
14-
{
15-
"$ref": "extensions/external/neoteroi.json"
12+
"$ref": "#/$defs/external-community"
1613
}
1714
]
1815
},
1916
"uniqueItems": true,
20-
"minItems": 1
17+
"minItems": 1,
18+
"$defs": {
19+
"external": {
20+
"description": "External markdown extensions, schema provided by us",
21+
"anyOf": [
22+
{
23+
"$ref": "extensions/markdown.json"
24+
},
25+
{
26+
"$ref": "extensions/pymdownx.json"
27+
}
28+
]
29+
},
30+
"external-community": {
31+
"description": "External markdown extensions, schema provided by our community",
32+
"anyOf": [
33+
{
34+
"$ref": "https://raw.githubusercontent.com/Neoteroi/mkdocs-plugins/main/docs/extensions-schema.json"
35+
}
36+
]
37+
}
38+
}
2139
}

docs/schema/extensions/external/neoteroi.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)