{"id":3552,"library":"mkdocs-git-revision-date-localized-plugin","title":"MkDocs Git Revision Date Localized Plugin","description":"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.","status":"active","version":"1.5.1","language":"en","source_language":"en","source_url":"https://github.com/timvink/mkdocs-git-revision-date-localized-plugin","tags":["mkdocs","plugin","git","revision-date","localization","documentation"],"install":[{"cmd":"pip install mkdocs-git-revision-date-localized-plugin","lang":"bash","label":"Install plugin"}],"dependencies":[{"reason":"This is an MkDocs plugin and requires MkDocs to function.","package":"mkdocs","optional":false}],"imports":[{"note":"MkDocs plugins are automatically loaded and initialized by MkDocs based on your configuration in `mkdocs.yml` under the `plugins` section.","symbol":"Plugin","correct":"This plugin is configured in mkdocs.yml, not imported directly in Python code."}],"quickstart":{"code":"# mkdocs.yml\nsite_name: My Awesome Docs\n\nplugins:\n  - git-revision-date-localized:\n      enable_creation_date: true\n      locale: en\n      timezone: Europe/Berlin\n\n# --- Create docs/index.md for testing ---\n# In your project root, create a 'docs' directory:\n# mkdir -p docs\n# echo '# Welcome\\n\\nLast updated: {{ git_revision_date_localized }}\\nCreated: {{ git_creation_date_localized }}' > docs/index.md\n\n# --- Build and serve --- \n# mkdocs build\n# mkdocs serve\n","lang":"yaml","description":"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."},"warnings":[{"fix":"Upgrade your Python environment to 3.10 or later, or specify `mkdocs-git-revision-date-localized-plugin<1.5.0` in your dependencies.","message":"Python 3.8 and 3.9 are no longer supported as of version 1.5.0. Users on these Python versions should upgrade to Python 3.10 or newer, or pin the plugin version to <1.5.0.","severity":"breaking","affected_versions":">=1.5.0"},{"fix":"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.","message":"As of version 1.3.0, the plugin changed how it calculates revision dates by ignoring whitespace-only and blank line changes, as well as rename commits. This may lead to different (and often more accurate) revision dates than in previous versions.","severity":"breaking","affected_versions":">=1.3.0"},{"fix":"Verify `git` is installed and available. For Docker, include `apk add git` or similar in your Dockerfile if not present.","message":"The plugin relies heavily on the `git` command-line tool. Ensure `git` is installed and accessible in your system's PATH, especially when building documentation in Docker containers (e.g., Alpine Linux may require explicit Git installation).","severity":"gotcha","affected_versions":"all"},{"fix":"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.","message":"Users working with monorepos might encounter issues with revision date accuracy due to the plugin's reliance on Git operations relative to the repository root. While multiple fixes have been applied (e.g., in v1.4.1, v1.4.5, v1.5.0), complex monorepo setups can still be challenging.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}