Skip to content

Commit d406a66

Browse files
authored
docs(website): restructure navigation and update sidebar config (#11386)
1 parent edea6a4 commit d406a66

File tree

8 files changed

+90
-28
lines changed

8 files changed

+90
-28
lines changed

website/docs/en/_nav.json

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,43 @@
2525
"activeMatch": "/blog"
2626
},
2727
{
28-
"text": "About",
29-
"link": "/misc/faq",
30-
"activeMatch": "/misc"
31-
},
32-
{
33-
"text": "Contribute",
34-
"link": "/contribute/index",
35-
"activeMatch": "/contribute"
36-
},
37-
{
38-
"text": "Playground",
39-
"link": "https://repl.rspack.rs/"
28+
"text": "Resources",
29+
"items": [
30+
{
31+
"text": "FAQ",
32+
"link": "/misc/faq",
33+
"activeMatch": "/misc/faq"
34+
},
35+
{
36+
"text": "Team",
37+
"link": "/misc/team/core-team",
38+
"activeMatch": "/misc/team"
39+
},
40+
{
41+
"text": "Branding",
42+
"link": "/misc/branding/guideline",
43+
"activeMatch": "/misc/branding"
44+
},
45+
{
46+
"text": "Glossary",
47+
"link": "/misc/glossary",
48+
"activeMatch": "/misc/glossary"
49+
},
50+
{
51+
"text": "Roadmap",
52+
"link": "/misc/planning/roadmap",
53+
"activeMatch": "/misc/planning"
54+
},
55+
{
56+
"text": "Contributing",
57+
"link": "/contribute/index",
58+
"activeMatch": "/contribute"
59+
},
60+
{
61+
"text": "Playground ↗",
62+
"link": "https://repl.rspack.rs/"
63+
}
64+
]
4065
},
4166
{
4267
"text": "Version",

website/docs/en/misc/_meta.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[
2-
"faq",
3-
"glossary",
42
{
53
"type": "dir",
64
"name": "planning",

website/docs/en/misc/faq.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar: false
3+
---
4+
15
# FAQ
26

37
## What will be the relationship between Rspack and webpack in the future?

website/docs/en/misc/glossary.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar: false
3+
---
4+
15
# Glossary
26

37
Below are some common terms used with Rspack and webpack.

website/docs/zh/_nav.json

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,43 @@
2525
"activeMatch": "/blog"
2626
},
2727
{
28-
"text": "关于",
29-
"link": "/misc/faq",
30-
"activeMatch": "/misc"
31-
},
32-
{
33-
"text": "贡献",
34-
"link": "/contribute/index",
35-
"activeMatch": "/contribute"
36-
},
37-
{
38-
"text": "在线体验",
39-
"link": "https://repl.rspack.rs/"
28+
"text": "资源",
29+
"items": [
30+
{
31+
"text": "FAQ",
32+
"link": "/misc/faq",
33+
"activeMatch": "/misc/faq"
34+
},
35+
{
36+
"text": "团队",
37+
"link": "/misc/team/core-team",
38+
"activeMatch": "/misc/team"
39+
},
40+
{
41+
"text": "品牌",
42+
"link": "/misc/branding/guideline",
43+
"activeMatch": "/misc/branding"
44+
},
45+
{
46+
"text": "术语表",
47+
"link": "/misc/glossary",
48+
"activeMatch": "/misc/glossary"
49+
},
50+
{
51+
"text": "功能规划",
52+
"link": "/misc/planning/roadmap",
53+
"activeMatch": "/misc/planning"
54+
},
55+
{
56+
"text": "贡献指南",
57+
"link": "/contribute/index",
58+
"activeMatch": "/contribute"
59+
},
60+
{
61+
"text": "在线体验 ↗",
62+
"link": "https://repl.rspack.rs/"
63+
}
64+
]
4065
},
4166
{
4267
"text": "版本",

website/docs/zh/misc/_meta.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[
2-
"faq",
3-
"glossary",
42
{
53
"type": "dir",
64
"name": "planning",

website/docs/zh/misc/faq.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar: false
3+
---
4+
15
# 常见问题
26

37
## Rspack 和 webpack 的关系是怎样的?

website/docs/zh/misc/glossary.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar: false
3+
---
4+
15
# 术语表
26

37
该索引列出了整个 Rspack 生态系统中的常用术语。

0 commit comments

Comments
 (0)