A new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents
Project Links
Meta
Author: Aaron Wang
Requires Python: >=3.7
Classifiers
Programming Language
- Python :: 3
Operating System
- OS Independent
mkdocs-document-dates
English | 简体中文
A new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents

Features
- Works in any environment: no-Git, Git environments, Docker, all CI/CD build systems, etc.
- Support list display of recently updated documents (in descending order of update date)
- Support for manually specifying date and author in
Front Matter - Support for multiple date formats (date, datetime, timeago)
- Support for multiple author modes (avatar, text, hidden)
- Support for manually configuring author's name, link, avatar, email, etc.
- Flexible display position (top or bottom)
- Elegant styling (fully customizable)
- Multi-language support, localization support, intelligent recognition of user language, automatic adaptation
- Ultimate build efficiency: O(1), no need to set the env var
!ENVto distinguish runs
| Build Speed Comparison: | 100 md: | 1000 md: | Time Complexity: |
|---|---|---|---|
| git-revision-date-localized git-authors |
> 3 s | > 30 s | O(n) |
| document-dates | < 0.1 s | < 0.15 s | O(1) |
It's 20-500 times faster than
git-revision-date-localizedandgit-authors
Installation
pip install mkdocs-document-dates
Configuration
Just add the plugin to your mkdocs.yml:
plugins:
- document-dates
Or, common configuration:
plugins:
- document-dates:
position: top # Display position: top(after title) bottom(end of document), default: top
type: date # Date type: date datetime timeago, default: date
exclude: # List of excluded files (support unix shell-style wildcards)
- temp.md # Example: exclude the specified file
- blog/* # Example: exclude all files in blog folder, including subfolders
- '*/index.md' # Example: exclude all index.md files in any subfolders
Customization Settings
In addition to the above basic configuration, the plug-in also provides a wealth of customization options to meet a variety of individual needs:
- Date & Time: Introduces the mechanism for obtaining document dates and methods for personalized customization, support for manually specifying the creation date and last updated date for each document
- Author: Introduces the mechanism for obtaining document authors and methods for personalized customization, support for manually specifying the author information for each document, such as name, link, avatar, email, etc.
- Avatar: You can manually specify the avatar for each author, support local file path and URL path
- Structure and Style: You can freely configure the plugin's display structure in mkdocs.yml or Front Matter. You can quickly set the plugin styles through preset entrances, such as icons, themes, colors, fonts, animations, dividing line and so on
- Template Variables: Can be used to optimize
sitemap.xmlfor site SEO - Recently Updated Module: Enable list of recently updated documents (in descending order of update date), this is ideal for sites with a large number of documents, so that readers can quickly see what's new
- Localization Language: More localization languages for
timeagoandtooltip - Developer API: Provides a date data API for developers, making it easy to retrieve exact dates in other plugins or hooks
See the documentation for details: https://jaywhj.netlify.app/document-dates-en

Other Projects
- MaterialX, the next generation of mkdocs-material. Build beautiful sites the way you already know and love. Based on
mkdocs-material-9.7.1and is namedX, it provides ongoing maintenance and updates (since mkdocs-material will stop being maintained).
Updates have been released that refactor and add a lot of new features, see https://github.com/jaywhj/mkdocs-materialx/releases/
Chat Group
Discord: https://discord.gg/cvTfge4AUy
Wechat:
3.8.2
May 09, 2026
3.8.1
May 09, 2026
3.8.0
Apr 23, 2026
3.7.4
Apr 17, 2026
3.7.3
Mar 30, 2026
3.7.2
Mar 29, 2026
3.7.1
Mar 28, 2026
3.7.0
Mar 03, 2026
3.6.1
Feb 12, 2026
3.6.0
Jan 24, 2026
3.5.2
Dec 26, 2025
3.5.1
Dec 18, 2025
3.5
Dec 04, 2025
3.4.9
Nov 15, 2025
3.4.8
Nov 14, 2025
3.4.7
Nov 08, 2025
3.4.6
Nov 01, 2025
3.4.5
Oct 10, 2025
3.4.1
Sep 26, 2025
3.4
Sep 01, 2025
3.3.5
Aug 09, 2025
3.3.4
Aug 08, 2025
3.3.3
Aug 08, 2025
3.3.2
Aug 08, 2025
3.3.1
Aug 01, 2025
3.3
Aug 01, 2025
3.2.1
Jul 20, 2025
3.2
Jul 06, 2025
3.1.6
Jul 01, 2025
3.1.5
Jun 22, 2025
3.1.3
Jun 15, 2025
3.1.2
Jun 13, 2025
3.1.1
Jun 10, 2025
3.1
Jun 06, 2025
3.0.1
May 22, 2025
3.0.0
May 20, 2025
2.4.0
May 15, 2025
2.3.5
May 15, 2025
2.3.3
May 06, 2025
2.3.2
Mar 07, 2025
2.3.1
Mar 04, 2025
2.3.0
Mar 04, 2025
2.2.0
Feb 26, 2025
2.1.0
Feb 26, 2025
2.0.0
Feb 25, 2025
1.9.9
Feb 24, 2025
1.9.8
Feb 23, 2025
1.9.7
Feb 23, 2025
1.9.6
Feb 23, 2025
1.9.5
Feb 23, 2025
1.9.4
Feb 23, 2025
1.9.3
Feb 23, 2025
1.9.2
Feb 23, 2025
1.9.1
Feb 23, 2025
1.9.0
Feb 23, 2025
1.8.0
Feb 23, 2025
1.7.0
Feb 23, 2025
1.6.0
Feb 23, 2025
1.5.0
Feb 23, 2025
1.4.0
Feb 23, 2025
1.3.0
Feb 23, 2025
1.2.0
Feb 23, 2025
1.1.0
Feb 23, 2025
1.0.0
Feb 23, 2025
0.9.0
Feb 23, 2025
0.8.0
Feb 23, 2025
0.7.0
Feb 23, 2025
0.6.0
Feb 23, 2025
0.5.0
Feb 22, 2025
0.4.0
Feb 16, 2025
0.3.0
Feb 15, 2025
0.2.0
Feb 15, 2025
0.1.0
Feb 15, 2025