Skip to content

Commit

Permalink
Merge pull request #1097 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify IM Docs
  • Loading branch information
haoxiuwen authored Dec 19, 2024
2 parents c5a397e + 0cdd646 commit d6db529
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 17 deletions.
17 changes: 1 addition & 16 deletions docs/.vuepress/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const zhSidebar = sidebar({
children: [
{ text: "产品概述", link: "introduction.html" },
{ text: "特性介绍",
collapsible: true,
children: [
{ text: "消息",
collapsible: true,
Expand Down Expand Up @@ -67,22 +68,6 @@ export const zhSidebar = sidebar({
{ text: "Demo 体验及源码地址", link: "demo_sourcecode_address.html" },
],
},
{
text: "快速开始",
children: [
{ text: "使用环信 App Token 鉴权", link: "easemob_app_token.html" },
{ text: "使用环信 User Token 鉴权", link: "easemob_user_token.html" },
{ text: "快速开始 Android", link: "/document/android/quickstart.html" },
{ text: "快速开始 iOS", link: "/document/ios/quickstart.html" },
{ text: "快速开始 Web", link: "/document/web/quickstart.html" },
{ text: "快速开始 Applet", link: "/document/applet/wechat.html" },
{ text: "快速开始 HarmonyOS", link: "/document/harmonyos/quickstart.html" },
{ text: "快速开始 Flutter", link: "/document/flutter/quickstart.html" },
{ text: "快速开始 React Native", link: "/document/react-native/quickstart.html" },
{ text: "快速开始 Unity", link: "/document/unity/quickstart.html" },
{ text: "快速开始 Windows", link: "/document/windows/quickstart.html" },
],
},
{
text: "内容审核",
children: [
Expand Down
2 changes: 2 additions & 0 deletions docs/document/applet/alipay.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ request 合法域名:
3. https://a3.easemob.com
4. https://a4.easemob.com
5. https://a5.easemob.com
7. https://rs.chat.agora.io
8. https://rs.easemob.com
:::

:::tip
Expand Down
2 changes: 2 additions & 0 deletions docs/document/applet/baidu.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ request 合法域名:
3. https://a3.easemob.com
4. https://a4.easemob.com
5. https://a5.easemob.com
6. https://rs.chat.agora.io
7. https://rs.easemob.com
:::

:::tip
Expand Down
2 changes: 2 additions & 0 deletions docs/document/applet/bytedance.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ request 合法域名:
4. https://a4.easemob.com
5. https://a5.easemob.com
6. https://a1-chatfile.easemob.com
7. https://rs.chat.agora.io
8. https://rs.easemob.com
:::

:::tip
Expand Down
2 changes: 2 additions & 0 deletions docs/document/applet/qq.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ request 合法域名:
3. https://a3.easemob.com
4. https://a4.easemob.com
5. https://a5.easemob.com
6. https://rs.chat.agora.io
7. https://rs.easemob.com
:::

:::tip
Expand Down
2 changes: 2 additions & 0 deletions docs/document/applet/uniapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ request 合法域名,uploadFile 合法域名,downloadFile 合法域名
8. https://a41.easemob.com
9. https://a51.easemob.com
10. https://a1-chatfile.easemob.com
11. https://rs.chat.agora.io
12. https://rs.easemob.com
:::

:::tip
Expand Down
2 changes: 1 addition & 1 deletion docs/document/web/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ miniCore.contact.getContacts();

#### 与整体导入的接口差别

通过按需导入的 SDK 与通过 [JavaScript](#通过-javascript-导入-sdk)[TavaScript](#通过-typescript-导入-sdk)导入的 SDK 在接口使用方面类似,唯一差别是后者将所有方法都挂载到 `connection` 类, 而使用 miniCore 时,基础的登录登出方法挂载在 miniCore 上,其他功能模块上的方法挂载在相应的模块上。
通过按需导入的 SDK 与通过 [JavaScript](#引入-javascript-sdk)[TavaScript](#引入-typescript-sdk)导入的 SDK 在接口使用方面类似,唯一差别是后者将所有方法都挂载到 `connection` 类, 而使用 miniCore 时,基础的登录登出方法挂载在 miniCore 上,其他功能模块上的方法挂载在相应的模块上。

本节以登录/登出、事件监听和发送消息为例进行说明。

Expand Down

0 comments on commit d6db529

Please sign in to comment.