Skip to content

Commit 1688def

Browse files
authored
Merge pull request #1371 from haoxiuwen/doc-v2
Modify Product Introduction Sidebar
2 parents 478f3d1 + dababec commit 1688def

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+310
-21
lines changed

docs/.vuepress/sidebar/index.ts

Lines changed: 57 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const zhSidebar = sidebar({
6868
],
6969
},
7070
{ text: "聊天室", link: "product_chatroom_overview.html" },
71-
{ text: "内容审核", link: "moderation/moderation_overview.html" },
71+
{ text: "内容审核", link: "moderation_overview.html" },
7272
{ text: "使用限制",
7373
collapsible: true,
7474
children: [
@@ -107,14 +107,14 @@ export const zhSidebar = sidebar({
107107
text: "消息翻译",
108108
collapsible: true,
109109
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" },
110+
{ text: "Android", link: "message_translation_android.html" },
111+
{ text: "iOS", link: "message_translation_ios.html" },
112+
{ text: "Web", link: "message_translation_web.html" },
113+
{ text: "小程序", link: "message_translation_applet.html" },
114+
{ text: "Flutter", link: "message_translation_flutter.html" },
115+
{ text: "React Native", link: "message_translation_react-native.html" },
116+
{ text: "Unity", link: "message_translation_unity.html" },
117+
{ text: "Windows", link: "message_translation_windows.html" },
118118
],
119119
},
120120
{ text: "内容审核",
@@ -124,7 +124,7 @@ export const zhSidebar = sidebar({
124124
text: "产品简介",
125125
collapsible: true,
126126
children: [
127-
{ text: "产品概述", link: "moderation/moderation_overview.html" },
127+
{ text: "产品概述", link: "product/moderation/moderation_overview.html" },
128128
],
129129
},
130130
{
@@ -180,10 +180,53 @@ export const zhSidebar = sidebar({
180180
text: "回调",
181181
collapsible: true,
182182
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" },
183+
{ text: "回调概述", link: "callback/callback_overview.html" },
184+
{ text: "发送前回调", link: "callback/callback_presending.html" },
185+
{ text: "发送后回调", link: "callback/callback_postsending.html" },
186+
{ text: '发送后回调事件',
187+
collapsible: true,
188+
children: [
189+
{ text: '用户登入/登出', link: 'callback/callback_login_logout.html' },
190+
{ text: '发送消息', link: 'callback/callback_message_send.html' },
191+
{ text: '发送单聊消息已读回执', link: 'callback/callback_single_read_ack.html' },
192+
{ text: '发送群聊消息已读回执', link: 'callback/callback_group_read_ack.html' },
193+
{ text: '发送会话已读回执', link: 'callback/callback_single_conversation_ack.html' },
194+
{ text: '修改消息', link: 'callback/callback_message_modify.html' },
195+
{ text: '撤回消息', link: 'callback/callback_message_recall.html' },
196+
{ text: '群组/聊天室操作(新)',
197+
collapsible: true,
198+
children: [
199+
{ text: '创建群组/聊天室', link: 'callback/callback_group_room_create.html' },
200+
{ text: '更新群组/聊天室',
201+
collapsible: true,
202+
children: [
203+
{ text: '更新群组_聊天室信息', link: 'callback/callback_group_room_info.html' },
204+
{ text: '变更群主/聊天室所有者', link: 'callback/callback_group_room_owner.html' },
205+
{ text: '设置/更新公告', link: 'callback/callback_group_room_announcement.html' },
206+
{ text: '封禁/解禁群组', link: 'callback/callback_group_ban.html' },
207+
{ text: '全员禁言', link: 'callback/callback_group_room_muteall.html' }
208+
]
209+
},
210+
{ text: '删除群组/聊天室', link: 'callback/callback_group_room_delete.html' },
211+
{ text: '屏蔽/解除屏蔽群组', link: 'callback/callback_group_block.html' },
212+
{ text: '上传/删除群共享文件', link: 'callback/callback_group_shared_file.html' },
213+
{ text: '用户加入', link: 'callback/callback_group_room_join.html' },
214+
{ text: '成员离开', link: 'callback/callback_group_room_leave.html' },
215+
{ text: '添加/移除管理员', link: 'callback/callback_group_room_admin.html' },
216+
{ text: '加入/移出禁言列表', link: 'callback/callback_group_room_mute.html' },
217+
{ text: '添加/移出白名单', link: 'callback/callback_group_room_allowlist.html' },
218+
{ text: '加入/移出黑名单', link: 'callback/callback_group_room_blocklist.html' },
219+
{ text: '添加/移除聊天室超级管理员', link: 'callback/callback_room_superadmin.html' }
220+
]
221+
},
222+
{ text: '群组/聊天室操作(旧)', link: 'callback/callback_group_room_old.html' },
223+
{ text: '用户关系操作', link: 'callback/callback_contact.html' },
224+
{ text: '离线推送', link: 'callback/callback_offline_push.html' },
225+
{ text: 'Reaction', link: 'callback/callback_reaction.html' },
226+
{ text: 'Thread', link: 'callback/callback_thread.html' },
227+
{ text: '敏感词监测', link: 'callback/callback_sensitive_word.html' }
228+
]
229+
}
187230
],
188231
},
189232
{ text: "质量监控", link: "/product/request_quality_overview.html" },

docs/document/android/message_translation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 翻译
1+
# 消息翻译
22

33
<Toc />
44

docs/document/server-side/callback_sensitive_word.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 敏感词监测
1+
# 敏感词监测
22

33
回调请求主要字段含义:
44

docs/document/server-side/callback_thread.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Thread 回调事件
1+
# Thread 回调事件
22

33
若对 Thread 中的一条消息进行相关操作,包括发送、撤回或修改,环信服务器会向你的 app server 发送回调请求。
44

docs/document/unity/message_translation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1. 完成 `1.0.5 或以上版本` SDK 初始化,详见 [快速开始](quickstart.html)
1515
2. 了解环信即时通讯 IM API 的 [使用限制](/product/limitation.html)
1616
3. 已在 [环信即时通讯云控制台](https://console.easemob.com/user/login) 开通翻译功能。
17-
4. 该功能由 Microsoft Azure Translation API 提供,因此开始前请确保你了解该功能支持的目标语言。详见 [翻译语言支持](https://learn.microsoft.com/zh-cn/azure/ai-services/translator/language-support)
17+
4. 该功能由 Microsoft Azure Translation API 提供。开始前请确保你了解该功能支持的目标语言。详见 [翻译语言支持](https://learn.microsoft.com/zh-cn/azure/ai-services/translator/language-support)
1818

1919
## 技术原理
2020

docs/document/windows/message_translation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1. 完成 `1.0.5 或以上版本` SDK 初始化,详见 [快速开始](quickstart.html)
1515
2. 了解环信即时通讯 IM API 的 [使用限制](/product/limitation.html)
1616
3. 已在 [环信即时通讯云控制台](https://console.easemob.com/user/login) 开通翻译功能。
17-
4. 该功能由 Microsoft Azure Translation API 提供,因此开始前请确保你了解该功能支持的目标语言。详见 [翻译语言支持](https://learn.microsoft.com/zh-cn/azure/ai-services/translator/language-support)
17+
4. 该功能由 Microsoft Azure Translation API 提供。开始前请确保你了解该功能支持的目标语言。详见 [翻译语言支持](https://learn.microsoft.com/zh-cn/azure/ai-services/translator/language-support)
1818

1919
## 技术原理
2020

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
{
3+
pageUri: "/document/server-side/callback_contact.html",
4+
title: "好友关系操作"
5+
}
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
{
3+
pageUri: "/document/server-side/callback_group_ban.html",
4+
title: "群组封禁/解禁事件"
5+
}
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
{
3+
pageUri: "/document/server-side/callback_group_block.html",
4+
title: "屏蔽/解除屏蔽群组事件"
5+
}
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
{
3+
pageUri: "/document/server-side/callback_group_read_ack.html",
4+
title: "发送群组消息已读回执"
5+
}
6+
---

0 commit comments

Comments
 (0)