This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new df28156faa7 ``` (#1101)
df28156faa7 is described below
commit df28156faa7ca7d1a95f28026e10ea9610cd2d9c
Author: chenyx1934 <[email protected]>
AuthorDate: Tue Dec 2 14:35:57 2025 +0800
``` (#1101)
docs(data): 更新文档版本路径结构
移除路径中的 index 后缀,统一使用目录形式访问文档页面,
使路径更加简洁一致。
```
---
src/data/docsInfo.js | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/data/docsInfo.js b/src/data/docsInfo.js
index 4c555eac0a3..5215865e2aa 100644
--- a/src/data/docsInfo.js
+++ b/src/data/docsInfo.js
@@ -9,20 +9,20 @@ export default [
latestVersion: "/docs/",
nextVersion: "/docs/next/",
versionsList: [
- { next: "/docs/next/index" },
- { "2.7.0.3": "/docs/index" },
- { "2.7.0.2": "/docs/2.7.0.2/index" },
- { "2.7.0.1": "/docs/2.7.0.1/index" },
- { "2.7.0": "/docs/2.7.0/index" },
- { "2.6.1": "/docs/2.6.1/index" },
- { "2.6.0": "/docs/2.6.0/index" },
- { "2.5.1": "/docs/2.5.1/index" },
- { "2.5.0": "/docs/2.5.0/index" },
- { "2.4.3": "/docs/2.4.3/index" },
- { "2.4.2": "/docs/2.4.2/index" },
- { "2.4.1": "/docs/2.4.1/index" },
- { "2.4.0": "/docs/2.4.0/index" },
- { "2.3.0-Legacy": "/docs/2.3.0-Legacy/index" },
+ { next: "/docs/next/" },
+ { "2.7.0.3": "/docs/" },
+ { "2.7.0.2": "/docs/2.7.0.2/" },
+ { "2.7.0.1": "/docs/2.7.0.1/" },
+ { "2.7.0": "/docs/2.7.0/" },
+ { "2.6.1": "/docs/2.6.1/" },
+ { "2.6.0": "/docs/2.6.0/" },
+ { "2.5.1": "/docs/2.5.1/" },
+ { "2.5.0": "/docs/2.5.0/" },
+ { "2.4.3": "/docs/2.4.3/" },
+ { "2.4.2": "/docs/2.4.2/" },
+ { "2.4.1": "/docs/2.4.1/" },
+ { "2.4.0": "/docs/2.4.0/" },
+ { "2.3.0-Legacy": "/docs/2.3.0-Legacy/" },
],
},
{