This MkDocs plugin enables displaying the localized date of the last Git modification (and creation) of a Markdown file directly in your documentation. It is currently at version 1.5.1 and maintains an active release cadence with regular minor and patch updates.
pip install mkdocs-git-revision-date-localized-pluginVerified import paths — ran on the pinned version, not inferred.
To use the plugin, add it to the `plugins` section of your `mkdocs.yml` file. You can then reference `{{ git_revision_date_localized }}` and `{{ git_creation_date_localized }}` variables in your Markdown files.
Upgrade your Python environment to 3.10 or later, or specify `mkdocs-git-revision-date-localized-plugin<1.5.0` in your dependencies.
Be aware that revision dates displayed in your documentation might change after upgrading to v1.3.0 or later. No code changes are required, but verify the output.
Verify `git` is installed and available. For Docker, include `apk add git` or similar in your Dockerfile if not present.
Ensure your `mkdocs.yml` is correctly placed and Git repository structure is standard. If issues persist, consult the plugin's GitHub issues for monorepo-specific discussions and configurations.