File tree 5 files changed +22
-1
lines changed
5 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 26
26
- uses : actions/checkout@v4
27
27
with :
28
28
ref : ${{ inputs.ref }}
29
+ fetch-depth : 0
29
30
30
31
- uses : actions/setup-python@v5
31
32
with :
Original file line number Diff line number Diff line change 21
21
< meta name ="robots " content ="index,follow "/>
22
22
< script type ="application/ld+json ">
23
23
{
24
+ { % if page and page . meta . git_revision_date_localized_raw_iso_datetime % }
25
+ "datePublished" : "{{ page.meta.git_revision_date_localized_raw_iso_datetime }}Z" ,
26
+ "dateModified" : "{{ page.meta.git_revision_date_localized_raw_iso_datetime }}Z" ,
27
+ { % endif % }
24
28
"@context" : "https://schema.org" ,
25
29
"@type" : "WebSite" ,
26
30
"name" : "Astral Docs" ,
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ mdformat>=0.7.17
6
6
mdformat-mkdocs>=2.0.4
7
7
mdformat-admon>=2.0.2
8
8
mkdocs-redirects>=1.2.2
9
+ mkdocs-git-revision-date-localized-plugin>=1.3.0
Original file line number Diff line number Diff line change 1
1
# This file was autogenerated by uv via the following command:
2
2
# uv pip compile docs/requirements.in -o docs/requirements.txt --universal -p 3.12
3
3
babel == 2.15.0
4
- # via mkdocs-material
4
+ # via
5
+ # mkdocs-git-revision-date-localized-plugin
6
+ # mkdocs-material
5
7
black == 24.4.2
6
8
# via -r docs/requirements.in
7
9
certifi == 2024.7.4
@@ -19,6 +21,10 @@ colorama==0.4.6
19
21
# mkdocs-material
20
22
ghp-import == 2.1.0
21
23
# via mkdocs
24
+ gitdb == 4.0.12
25
+ # via gitpython
26
+ gitpython == 3.1.44
27
+ # via mkdocs-git-revision-date-localized-plugin
22
28
idna == 3.7
23
29
# via requests
24
30
jinja2 == 3.1.4
@@ -72,10 +78,13 @@ mergedeep==1.3.4
72
78
mkdocs == 1.6.0
73
79
# via
74
80
# -r docs/requirements.in
81
+ # mkdocs-git-revision-date-localized-plugin
75
82
# mkdocs-material
76
83
# mkdocs-redirects
77
84
mkdocs-get-deps == 0.2.0
78
85
# via mkdocs
86
+ mkdocs-git-revision-date-localized-plugin == 1.3.0
87
+ # via -r docs/requirements.in
79
88
mkdocs-material == 9.5.29
80
89
# via -r docs/requirements.in
81
90
mkdocs-material-extensions == 1.3.1
@@ -106,6 +115,8 @@ pymdown-extensions==10.8.1
106
115
# via mkdocs-material
107
116
python-dateutil == 2.9.0.post0
108
117
# via ghp-import
118
+ pytz == 2025.1
119
+ # via mkdocs-git-revision-date-localized-plugin
109
120
pyyaml == 6.0.1
110
121
# via
111
122
# mkdocs
@@ -120,6 +131,8 @@ requests==2.32.3
120
131
# via mkdocs-material
121
132
six == 1.16.0
122
133
# via python-dateutil
134
+ smmap == 5.0.2
135
+ # via gitdb
123
136
uc-micro-py == 1.0.3
124
137
# via linkify-it-py
125
138
urllib3 == 2.2.2
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ INHERIT: mkdocs.template.yml
2
2
# Omit the `typeset` plugin which is only available in the Insiders version.
3
3
plugins :
4
4
- search
5
+ - git-revision-date-localized :
6
+ timezone : UTC # It can only be in UTC unless the ISO time can include timezone.
5
7
validation :
6
8
anchors : warn
7
9
watch :
You can’t perform that action at this time.
0 commit comments