From 9590e5e23482ee4286ff9a29905def191b9bf2a5 Mon Sep 17 00:00:00 2001 From: EDIflyer Date: Tue, 12 Jul 2022 15:10:36 +0100 Subject: [PATCH 1/2] Updated schema for plugins (#4119) See issue at https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/93 --- .../plugins/external/git-revision-date-localized.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/schema/plugins/external/git-revision-date-localized.json b/docs/schema/plugins/external/git-revision-date-localized.json index 09aedba51..6251aa85c 100644 --- a/docs/schema/plugins/external/git-revision-date-localized.json +++ b/docs/schema/plugins/external/git-revision-date-localized.json @@ -24,7 +24,8 @@ "datetime", "iso_date", "iso_datetime", - "timeago" + "timeago", + "custom" ], "default": "date" }, @@ -33,6 +34,11 @@ "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", From fe3353a16283d909ab8552042426b81488cf0d2d Mon Sep 17 00:00:00 2001 From: Tim Vink Date: Tue, 12 Jul 2022 16:11:01 +0200 Subject: [PATCH 2/2] Updated docker image to work with newer versions of git, closes #4117 (#4118) --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0247b8547..4a6faeb80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,6 +75,9 @@ RUN \ -path "*/__pycache__/*" \ -exec rm -f {} \; +# Trust git directory, required for git >= 2.35.2 +RUN git config --global --add safe.directory /docs + # Set working directory WORKDIR /docs