Skip to content

Commit 201120a

Browse files
authored
[Doc][Misc] Update documentation header notification bar (vllm-project#12355)
### What this PR does / why we need it? This PR updates the hardcoded stable documentation version from `v0.18.0` to `v0.23.0` in the notification banner across English and Chinese translations, as well as the HTML templates. This ensures users viewing the developer preview docs are directed to the correct latest stable release. ### Does this PR introduce _any_ user-facing change? Yes, it updates the notification bar text and links in the documentation header to point to `v0.23.0` instead of `v0.18.0`. ### How was this patch tested? No tests were added as this is a documentation template change. - vLLM version: v0.24.0 - vLLM main: vllm-project/vllm@85c09e9 Signed-off-by: herizhen <1270637059@qq.com>
1 parent e1bd150 commit 201120a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/hooks/macros_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"en": {
1616
"banner_preview": "You are viewing the latest developer preview docs.",
1717
"banner_link": "Click here",
18-
"banner_suffix": "to view docs for the latest stable release (v0.18.0).",
18+
"banner_suffix": "to view docs for the latest stable release (v0.23.0).",
1919
"btn_report": "report issue",
2020
"aria_report": "Report a documentation issue",
2121
},
2222
"zh": {
2323
"banner_preview": "您正在查看最新的开发者预览版文档。",
2424
"banner_link": "点击此处",
25-
"banner_suffix": "查看最新稳定版(v0.18.0)的文档。",
25+
"banner_suffix": "查看最新稳定版(v0.23.0)的文档。",
2626
"btn_report": "反馈问题",
2727
"aria_report": "报告文档问题",
2828
},

docs/overrides/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% if not config.extra.is_release %}
2525
<div class="md-announce">
2626
{{ t.banner_preview }}
27-
<a href="https://docs.vllm.ai/projects/ascend/en/v0.18.0">{{ t.banner_link }}</a>
27+
<a href="https://docs.vllm.ai/projects/ascend/en/v0.23.0">{{ t.banner_link }}</a>
2828
{{ t.banner_suffix }}
2929
</div>
3030
{% endif %}

docs/source/_templates/sections/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
</style>
5555

5656
<div class="notification-bar">
57-
<p>You are viewing the latest developer preview docs. <a href="https://docs.vllm.ai/projects/ascend/en/v0.18.0">Click here</a> to view docs for the latest stable release(v0.18.0).</p>
57+
<p>You are viewing the latest developer preview docs. <a href="https://docs.vllm.ai/projects/ascend/en/v0.23.0">Click here</a> to view docs for the latest stable release(v0.23.0).</p>
5858
</div>

0 commit comments

Comments
 (0)