mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' of github.com:squidfunk/mkdocs-material
This commit is contained in:
commit
7cfbbe4a80
@ -51,9 +51,6 @@
|
||||
{
|
||||
"$ref": "plugins/external/git-revision-date.json"
|
||||
},
|
||||
{
|
||||
"$ref": "plugins/external/git-revision-date-localized.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/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