timvink / mkdocs-git-revision-date-localized-plugin

MkDocs plugin to add a last updated date to your site pages
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html
MIT License
193 stars 39 forks source link

The plugin breaks with the last mkdocs docker image #106

Closed Emmanuel-Messulam closed 1 year ago

Emmanuel-Messulam commented 1 year ago

With squidfunk/mkdocs-material:8.2.1 the page works fine but with squidfunk/mkdocs-material:8.5.11 it breaks with a lot of:

WARNING  -  [git-revision-date-localized-plugin] Unable to read git logs of '...'. Is git log readable? Option 'fallback_to_build_date' set to 'true': Falling back to build date
tibitoth commented 1 year ago

I have the same error and the following workaround did not work

RUN git config --global --add safe.directory /github/workspace
Emmanuel-Messulam commented 1 year ago

I have the same error and the following workaround did not work

RUN git config --global --add safe.directory /github/workspace

That is the solution to another issue.

Emmanuel-Messulam commented 1 year ago

Updating to squidfunk/mkdocs-material:9.0.3 works.