You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# mkdocs-git-revision-date-plugin
2
2
3
-
MkDocs plugin for setting revision date from git per markdown file.
3
+
MkDocs plugin that displays the last revision date of the current page of the documentation based on Git. The revision date will be displayed in ISO format *(YYYY-mm-dd)*. If you need other date formats check out [timvink's fork][mkdocs-git-revision-date-localized-plugin]
4
4
5
5
## Setup
6
6
Install the plugin using pip:
@@ -19,7 +19,6 @@ plugins:
19
19
More information about plugins in the [MkDocs documentation][mkdocs-plugins].
20
20
21
21
## Usage
22
-
The revision date will be displayed in ISO format *(YYYY-mm-dd)*.
@@ -73,4 +73,4 @@ Setting this option to false will disable the use of `{{ git_revision_date }}` i
73
73
74
74
### `as_datetime`
75
75
76
-
Setting this option to True will output git_revision_date as a python `datetime`. This means you can use jinja2 date formatting, for example as `{{ git_revision_date.strftime('%d %B %Y') }}`. Default is false.
76
+
Setting this option to True will output git_revision_date as a python `datetime`. This means you can use jinja2 date formatting, for example as `{{ git_revision_date.strftime('%d %B %Y') }}`. Default is false.
0 commit comments