mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated JSON schema
This commit is contained in:
parent
e22c6b31dc
commit
a0d87460ee
@ -22,6 +22,9 @@
|
||||
"built-in": {
|
||||
"description": "Built-in plugins",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "plugins/meta.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/offline.json"
|
||||
},
|
||||
|
31
docs/schema/plugins/meta.json
Normal file
31
docs/schema/plugins/meta.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft-07/schema",
|
||||
"title": "Built-in meta plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/#built-in-meta-plugin",
|
||||
"enum": [
|
||||
"meta"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"meta": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/#built-in-meta-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"meta_file": {
|
||||
"title": "Meta file name",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/#meta-file",
|
||||
"pattern": "\\.yml$",
|
||||
"default": "\"**/.meta.yml\""
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
"title": "Built-in offline plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/#built-in-offline-plugin",
|
||||
"enum": [
|
||||
"offline"
|
||||
]
|
||||
@ -12,7 +12,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"offline": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/#built-in-offline-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"title": "Built-in privacy plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin",
|
||||
"enum": [
|
||||
"privacy"
|
||||
]
|
||||
@ -12,7 +12,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"privacy": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"title": "Built-in search plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#built-in-search-plugin",
|
||||
"enum": [
|
||||
"search"
|
||||
]
|
||||
@ -12,7 +12,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"search": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#built-in-search-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lang": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"title": "Built-in social plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
|
||||
"enum": [
|
||||
"social"
|
||||
]
|
||||
@ -12,7 +12,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"social": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#built-in-social-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cards": {
|
||||
|
@ -3,7 +3,7 @@
|
||||
"title": "Built-in tags plugin",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#built-in-tags-plugin",
|
||||
"enum": [
|
||||
"tags"
|
||||
]
|
||||
@ -12,7 +12,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#built-in-tags-plugin",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags_file": {
|
||||
|
Loading…
Reference in New Issue
Block a user