Skip to content

Commit a07d169

Browse files
hmellorliuyumoye
authored andcommitted
[Docs] Reduce the size of the built docs (vllm-project#21920)
Signed-off-by: Harry Mellor <[email protected]>
1 parent f511c9d commit a07d169

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

mkdocs.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ plugins:
6767
exclude:
6868
- argparse/*
6969
- examples/*
70+
- minify:
71+
minify_html: true
72+
minify_js: true
73+
minify_css: true
74+
cache_safe: true
75+
js_files: [docs/mkdocs/javascript/*.js]
76+
css_files: [docs/mkdocs/stylesheets/*.css]
7077
# For API reference generation
7178
- api-autonav:
7279
modules: ["vllm"]

requirements/docs.txt

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

0 commit comments

Comments
 (0)