mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Moved schema.json of git-revision-date-localized.json (#4126)
This commit is contained in:
parent
9ce9c175a9
commit
b9e92416d5
@ -51,9 +51,6 @@
|
|||||||
{
|
{
|
||||||
"$ref": "plugins/external/git-revision-date.json"
|
"$ref": "plugins/external/git-revision-date.json"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"$ref": "plugins/external/git-revision-date-localized.json"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"$ref": "plugins/external/minify.json"
|
"$ref": "plugins/external/minify.json"
|
||||||
},
|
},
|
||||||
@ -73,6 +70,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "https://raw.githubusercontent.com/Guts/mkdocs-rss-plugin/main/docs/schema.json"
|
"$ref": "https://raw.githubusercontent.com/Guts/mkdocs-rss-plugin/main/docs/schema.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "https://raw.githubusercontent.com/timvink/mkdocs-git-revision-date-localized-plugin/master/docs/schema.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,86 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://json-schema.org/draft-07/schema",
|
|
||||||
"title": "Git revision date plugin with localization support",
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/",
|
|
||||||
"enum": [
|
|
||||||
"git-revision-date-localized"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"git-revision-date-localized": {
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/",
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"title": "Date display format",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#type",
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"date",
|
|
||||||
"datetime",
|
|
||||||
"iso_date",
|
|
||||||
"iso_datetime",
|
|
||||||
"timeago",
|
|
||||||
"custom"
|
|
||||||
],
|
|
||||||
"default": "date"
|
|
||||||
},
|
|
||||||
"timezone": {
|
|
||||||
"title": "Date timezone",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#timezone",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"custom_format": {
|
|
||||||
"title": "Custom format",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options#custom_format",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"locale": {
|
|
||||||
"title": "Date locale",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#locale",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"fallback_to_build_date": {
|
|
||||||
"title": "Use build date when git is not available",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#fallback_to_build_date",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
"enable_creation_date": {
|
|
||||||
"title": "Enable support for creation date",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#enable_creation_date",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
"exclude": {
|
|
||||||
"title": "List of Markdown file patterns",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#exclude",
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"pattern": "(\\*|\\.md)$"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"enabled": {
|
|
||||||
"title": "Enable plugin",
|
|
||||||
"markdownDescription": "https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#enabled",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"defaultSnippets": [
|
|
||||||
{
|
|
||||||
"label": "type",
|
|
||||||
"body": "type: date"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user