Skip to content

Commit 1395dd9

Browse files
authored
[Docs] Add revision date to rendered docs (#21752)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
1 parent 9ace2ea commit 1395dd9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ build:
77
os: ubuntu-22.04
88
tools:
99
python: "3.12"
10+
jobs:
11+
post_checkout:
12+
- git fetch --unshallow || true
1013

1114
mkdocs:
1215
configuration: mkdocs.yaml

mkdocs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ plugins:
6262
- autorefs
6363
- awesome-nav
6464
- glightbox
65+
- git-revision-date-localized:
66+
# exclude autogenerated files
67+
exclude:
68+
- argparse/*
69+
- examples/*
6570
# For API reference generation
6671
- api-autonav:
6772
modules: ["vllm"]

requirements/docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ mkdocstrings-python
55
mkdocs-gen-files
66
mkdocs-awesome-nav
77
mkdocs-glightbox
8+
mkdocs-git-revision-date-localized-plugin
89
python-markdown-math
910
regex
1011
ruff

0 commit comments

Comments
 (0)