Skip to content

Commit 495846c

Browse files
authored
Merge pull request #1201 from haoxiuwen/doc-v2
Modify Product Introduction Sidebar
2 parents 619e984 + 839f3cb commit 495846c

File tree

2 files changed

+61
-39
lines changed

2 files changed

+61
-39
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"cSpell.words": [
3+
"mgmt"
4+
]
5+
}

docs/.vuepress/sidebar/index.ts

Lines changed: 56 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ import { PUSH_SIDEBAR } from "./push";
66

77
export const zhSidebar = sidebar({
88
"/product/": [
9+
{
10+
text: "产品动态",
11+
collapsible: true,
12+
children: [
13+
{ text: "产品动态", link: "product_dynamics.html" },
14+
],
15+
},
916
{
1017
/*
1118
text: 分组标题
@@ -21,55 +28,59 @@ export const zhSidebar = sidebar({
2128
children: [
2229
{ text: "产品概述", link: "introduction.html" },
2330
{ text: "应用场景", link: "application_scenario.html" },
24-
{ text: "主要特性", link: "product_function.html" },
25-
{ text: "计费说明", link: "pricing.html"},
26-
{ text: "特性介绍",
31+
{ text: "功能介绍", link: "product_function.html" },
32+
{ text: "账号系统",
2733
collapsible: true,
2834
children: [
29-
{ text: "消息",
30-
collapsible: true,
31-
children: [
32-
{ text: "消息概述", link: "product_message_overview.html" },
33-
{ text: "消息格式", link: "product_message_format.html" },
34-
],
35-
},
36-
{ text: "用户账号",
37-
collapsible: true,
38-
children: [
39-
{ text: "用户注册与登录", link: "product_user_registration_login.html" },
40-
{ text: "在线状态管理", link: "product_user_presence.html" },
41-
],
42-
},
43-
{ text: "用户属性与用户关系",
44-
collapsible: true,
45-
children: [
46-
{ text: "用户属性", link: "product_user_attribute.html" },
47-
{ text: "用户关系", link: "product_user_relationship.html" },
48-
],
49-
},
50-
{ text: "群组",
51-
collapsible: true,
52-
children: [
53-
{ text: "群组概述", link: "product_group_overview.html" },
54-
{ text: "子区", link: "product_thread_overview.html" },
55-
],
56-
},
57-
{ text: "聊天室", link: "product_chatroom_overview.html" },
58-
{ text: "离线推送", link: "product_offline_push_overview.html" },
59-
],
35+
{ text: "用户注册与登录", link: "product_user_registration_login.html" },
36+
{ text: "在线状态管理", link: "product_user_presence.html" },
37+
],
6038
},
61-
{ text: "数据中心", link: "data_center.html" },
62-
{ text: "产品动态", link: "product_dynamics.html" },
63-
{ text: "产品使用限制",
39+
{ text: "用户资料与用户关系",
40+
collapsible: true,
41+
children: [
42+
{ text: "用户资料", link: "product_user_attribute.html" },
43+
{ text: "用户关系", link: "product_user_relationship.html" },
44+
],
45+
},
46+
{ text: "消息",
47+
collapsible: true,
48+
children: [
49+
{ text: "消息概述", link: "product_message_overview.html" },
50+
{ text: "消息格式", link: "product_message_format.html" },
51+
],
52+
},
53+
{ text: "离线推送", link: "product_offline_push_overview.html" },
54+
{ text: "群组",
55+
collapsible: true,
56+
children: [
57+
{ text: "群组概述", link: "product_group_overview.html" },
58+
{ text: "子区", link: "product_thread_overview.html" },
59+
],
60+
},
61+
{ text: "聊天室", link: "product_chatroom_overview.html" },
62+
{ text: "内容审核", link: "moderation/moderation_overview.html" },
63+
{ text: "使用限制",
6464
collapsible: true,
6565
children: [
6666
{ text: "功能限制", link: "limitation.html" },
6767
{ text: "RESTful 接口频率限制", link: "limitationapi.html" },
6868
],
6969
},
70-
{ text: "术语表", link: "glossary.html" },
70+
{ text: "数据中心",
71+
collapsible: true,
72+
children: [
73+
{ text: "数据中心", link: "data_center.html" },
74+
],
75+
},
7176
],
7277
},
78+
{ text: "计费说明",
79+
collapsible: true,
80+
children: [
81+
{ text: "计费说明", link: "pricing.html"},
82+
],
83+
},
7384
{
7485
text: "Demo",
7586
collapsible: true,
@@ -378,7 +389,13 @@ export const zhSidebar = sidebar({
378389
{ text: "请求质量概览", link: "request_quality_overview.html" },
379390
],
380391
},
381-
],
392+
{ text: "术语表",
393+
collapsible: true,
394+
children: [
395+
{ text: "术语表", link: "glossary.html" },
396+
],
397+
},
398+
],
382399
...DOC_SIDEBAR,
383400
...CHAT_UIKIT_SIDEBAR,
384401
...CHATROOM_UIKIT_SIDEBAR,

0 commit comments

Comments
 (0)