Skip to content

Commit

Permalink
Replace Neoteroi markdown extensions schema with external URL
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoKF committed Nov 22, 2023
1 parent 6b3accd commit 3d76c89
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 34 deletions.
32 changes: 25 additions & 7 deletions docs/schema/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,36 @@
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/",
"type": "array",
"items": {
"oneOf": [
"anyOf": [
{
"$ref": "extensions/markdown.json"
"$ref": "#/$defs/external"
},
{
"$ref": "extensions/pymdownx.json"
},
{
"$ref": "extensions/external/neoteroi.json"
"$ref": "#/$defs/external-community"
}
]
},
"uniqueItems": true,
"minItems": 1
"minItems": 1,
"$defs": {
"external": {
"description": "External markdown extensions, schema provided by us",
"anyOf": [
{
"$ref": "extensions/markdown.json"
},
{
"$ref": "extensions/pymdownx.json"
}
]
},
"external-community": {
"description": "External markdown extensions, schema provided by our community",
"anyOf": [
{
"$ref": "https://raw.githubusercontent.com/Neoteroi/mkdocs-plugins/main/docs/extensions-schema.json"
}
]
}
}
}
27 changes: 0 additions & 27 deletions docs/schema/extensions/external/neoteroi.json

This file was deleted.

0 comments on commit 3d76c89

Please sign in to comment.