mkdocs-git-revision-date-localized-plugin icon indicating copy to clipboard operation
mkdocs-git-revision-date-localized-plugin copied to clipboard

MkDocs plugin to add a last updated date to your site pages

Results 25 mkdocs-git-revision-date-localized-plugin issues
Sort by recently updated
recently updated
newest added

Hello, The plugin throws an InvalidGitRepositoryError when used with the [`monorepo-plugin`](https://github.com/backstage/mkdocs-monorepo-plugin) (which is wrapped in [`backstage/mkdocs-techdocs-core`](https://github.com/backstage/mkdocs-techdocs-core). The code throwing the error seems to be the calculation of the `last_site_revision_timestamp` in...

bug

For this assertion: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/708128b1358d45da4aaa4629f4e1ca7df76a3236/mkdocs_git_revision_date_localized_plugin/plugin.py#L117 ...and the way `locale` is used: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/708128b1358d45da4aaa4629f4e1ca7df76a3236/mkdocs_git_revision_date_localized_plugin/util.py#L9 https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/708128b1358d45da4aaa4629f4e1ca7df76a3236/mkdocs_git_revision_date_localized_plugin/util.py#L72 https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/9747e59c37d5969c5a99631677effe73f9c779c3/mkdocs_git_revision_date_localized_plugin/js/timeago_mkdocs_material.js#L9 ...and the document of Babel and timeago: - [for Babel](https://babel.pocoo.org/en/latest/locale.html) - [for timeago/timeago.js](https://timeago.org/) Instead of just 2...

enhancement

https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/9cfce40942c83dd15834fb879caa4171a426ecdd/mkdocs_git_revision_date_localized_plugin/util.py#L127 When an error occurs with git commands, I can't debug the reason. For example, I can't distinguish between: 1. git is not installed 2. not a git repo 3....

enhancement

Hi, first of all, thank you very much for this plugin. It's working fine! :) I am missing a feature which I would see in the scope of this plugin...

In parallel, precompute all last commit timestamps in on_files so that we can process more quickly. We need to do this when we have all the files so we can...

I am currently using this plugin to fix the `lastmod` dates on the `sitemap.xml` because MkDocs does not correctly generate the `lastmod`, as it uses the build time of the...

documentation

Great tip: https://twitter.com/squidfunk/status/1705279829770150291?t=FVqo_myTUH_pgoG8ihzaKg&s=19

When trying to use this on a large monorepo, performance is very poor -- one docs site with ~30 pages has gone from taking a a few seconds to build...

I had this stacktrace: ``` ERROR - [git-revision-date-localized-plugin] Unable to read git logs of '/workspace/source-repo/docs'. To ignore this error, set option 'fallback_to_build_date: true' Traceback (most recent call last): File "/home/python/.local/bin/mkdocs",...

This addresses #113 by adding a new option "ignored_commits_file" that points to a file to contain commit hashes in the same format as `blame.ignoreRevsFile` that will be ignored during calculation...