From b9e92416d5a6b240ce217969e39f9bd9a19c53b4 Mon Sep 17 00:00:00 2001 From: Tim Vink Date: Thu, 14 Jul 2022 10:47:16 +0200 Subject: [PATCH] Moved schema.json of git-revision-date-localized.json (#4126) --- docs/schema/plugins.json | 6 +- .../external/git-revision-date-localized.json | 86 ------------------- 2 files changed, 3 insertions(+), 89 deletions(-) delete mode 100644 docs/schema/plugins/external/git-revision-date-localized.json diff --git a/docs/schema/plugins.json b/docs/schema/plugins.json index c122d53e0..d5f60005a 100644 --- a/docs/schema/plugins.json +++ b/docs/schema/plugins.json @@ -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" } ] } diff --git a/docs/schema/plugins/external/git-revision-date-localized.json b/docs/schema/plugins/external/git-revision-date-localized.json deleted file mode 100644 index 6251aa85c..000000000 --- a/docs/schema/plugins/external/git-revision-date-localized.json +++ /dev/null @@ -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 - } - ] -}