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 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",