Skip to content

Commit f2b53cf

Browse files
authored
Merge pull request #1345 from haoxiuwen/doc-v2
Modify Architecture of Doc Navigation Page and Product Introduction Page
2 parents a544d42 + bf86b02 commit f2b53cf

File tree

2 files changed

+180
-114
lines changed

2 files changed

+180
-114
lines changed

docs/.vuepress/sidebar/index.ts

Lines changed: 57 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,32 @@ export const zhSidebar = sidebar({
9292
{ text: "购买指引", link: "pricing_method.html" },
9393
],
9494
},
95+
// {
96+
// text: "Demo",
97+
// collapsible: true,
98+
// children: [
99+
// { text: "体验 Demo", link: "demo.html" },
100+
// ],
101+
// },
95102
{
96-
text: "Demo",
103+
text: "增值服务",
97104
collapsible: true,
98105
children: [
99-
{ text: "体验 Demo", link: "demo.html" },
106+
{
107+
text: "消息翻译",
108+
collapsible: true,
109+
children: [
110+
{ text: "Android", link: "/document/android/message_translation.html" },
111+
{ text: "iOS", link: "/document/ios/message_translation.html" },
112+
{ text: "Web", link: "/document/web/message_translation.html" },
113+
{ text: "小程序", link: "/document/applet/message_translation.html" },
114+
{ text: "Flutter", link: "/document/flutter/message_translation.html" },
115+
{ text: "React Native", link: "/document/react-native/message_translation.html" },
116+
{ text: "Unity", link: "/document/unity/message_translation.html" },
117+
{ text: "Windows", link: "/document/windows/message_translation.html" },
100118
],
101-
},
102-
{
103-
text: "内容审核",
119+
},
120+
{ text: "内容审核",
104121
collapsible: true,
105122
children: [
106123
{
@@ -124,7 +141,6 @@ export const zhSidebar = sidebar({
124141
},
125142
],
126143
},
127-
128144
{
129145
text: "快速开始",
130146
collapsible: true,
@@ -158,25 +174,20 @@ export const zhSidebar = sidebar({
158174
{ text: "用户管理", link: "moderation/moderation_usermgmt.html" },
159175
],
160176
},
161-
{
162-
text: "常见问题",
163-
collapsible: true,
164-
children: [
165-
{
166-
text: "如何开始使用内容审核服务?",
167-
link: "moderation/moderation_use_console.html",
168-
},
169-
{
170-
text: "如何新增自定义词?",
171-
link: "moderation/moderation_add_word.html",
172-
},
173-
{
174-
text: "为什么处置方式选择了替换***,但实际被拦截了没有发出来?",
175-
link: "moderation/moderation_replace_refuse.html",
176-
},
177-
],
178-
},
179177
],
178+
},
179+
{
180+
text: "回调",
181+
collapsible: true,
182+
children: [
183+
{ text: "回调概述", link: "/document/server-side/callback_overview.html" },
184+
{ text: "发送前回调", link: "/document/server-side/callback_presending.html" },
185+
{ text: "发送后回调", link: "/document/server-side/callback_postsending.html" },
186+
{ text: "发送后回调事件", link: "/document/server-side/callback_login_logout.html" },
187+
],
188+
},
189+
{ text: "质量监控", link: "/product/request_quality_overview.html" },
190+
],
180191
},
181192
{
182193
text: "场景方案",
@@ -352,6 +363,20 @@ export const zhSidebar = sidebar({
352363
],
353364
},
354365
{
366+
text: "常见方案",
367+
collapsible: true,
368+
children: [
369+
{ text: "群 @ 消息", link: "solution_common/[email protected]" },
370+
{ text: "消息引用", link: "solution_common/message_quote.html" },
371+
{ text: "实现输入指示器", link: "solution_common/typing_indication.html" },
372+
{ text: "迁移到环信", link: "solution_common/migrate_to_easemob.html" },
373+
],
374+
},
375+
{
376+
text: "插件",
377+
collapsible: true,
378+
children: [
379+
{
355380
text: 'AI 会话摘要助手',
356381
collapsible: true,
357382
children: [
@@ -364,24 +389,22 @@ export const zhSidebar = sidebar({
364389
},
365390
],
366391
},
392+
],
393+
},
367394
{
368-
text: "常见方案",
395+
text: "帮助中心",
369396
collapsible: true,
370397
children: [
371-
{ text: "群 @ 消息", link: "solution_common/[email protected]" },
372-
{ text: "消息引用", link: "solution_common/message_quote.html" },
373-
{ text: "实现输入指示器", link: "solution_common/typing_indication.html" },
374-
{ text: "迁移到环信", link: "solution_common/migrate_to_easemob.html" },
375-
],
376-
},
377-
{
398+
{
378399
text: "FAQ",
379400
collapsible: true,
380401
children: [
381402
{ text: "FAQ 质量", link: "faq_quality_issues.html" },
382403
{ text: "FAQ 集成", link: "faq_integration_issues.html" },
383-
{ text: "帮助中心", link: "help.html" },
384-
],
404+
],
405+
},
406+
{ text: "联系我们", link: "help.html" },
407+
],
385408
},
386409
{
387410
text: "安全",

0 commit comments

Comments
 (0)