From 9853ae2cb561a4764c4216957fbc32edb46b9c99 Mon Sep 17 00:00:00 2001 From: fanzhoui <2069301995@qq.com> Date: Wed, 23 Sep 2026 10:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA,=E5=8D=95?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=98=BE=E7=A4=BA=E4=BB=8Enext=E6=94=B9?= =?UTF-8?q?=E4=B8=BAv1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index 11fb04d3..63621fa2 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -212,6 +212,13 @@ const config = { path: 'ai-gateway-docs', routeBasePath: 'ai-gateway', sidebarPath: 'ai-gateway-docs/sidebars.js', + // 版本化: current = v1, 暂无历史版本(若不声明 versions, Docusaurus 默认 + // 当前版本名为 "current"/标签 "next", 侧栏版本控件会显示 next)。 + // 统一声明为 v1, 与 SQLBot/Cordys 等单版本产品一致。 + lastVersion: 'current', + versions: { + current: { label: 'v1', badge: false, banner: 'none' }, + }, }, ], ],