Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion docs/.vuepress/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineClientConfig({
app.component('DemoCard', DemoCard)

if (typeof window !== "undefined") {
embedChatbot();
//embedChatbot();
}
},
setup() {},
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<HopeHomePage>
<template #center>
<div class="main-container">
<HeroSection />
<!-- <HeroSection /> -->
<main :ref="containerRef" class="main-content">
<div class="toc">
<ClientOnly>
Expand Down
9 changes: 5 additions & 4 deletions docs/.vuepress/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const extraNavList = themeData.value.extra_nav || [];
<Navbar>
<template #endBefore>
<!-- <Docsearch /> -->
<div class="search-box" @click="handleSearch">
<!-- <div class="search-box" @click="handleSearch">
<div class="search-input-wrapper">
<div class="search-icon">
<svg
Expand All @@ -31,20 +31,21 @@ const extraNavList = themeData.value.extra_nav || [];
</div>
<div class="search-input">Search</div>
</div>
</div>
</div> -->

<el-link
<!-- <el-link
class="extra-link"
:type="item.type"
v-for="item in extraNavList"
:key="item.text"
:href="item.link"
>{{ item.text }}
</el-link>
</el-link> -->
</template>
</Navbar>
</template>


<script>
export default {
methods: {
Expand Down
160 changes: 80 additions & 80 deletions docs/.vuepress/navbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,6 @@ import { navbar } from 'vuepress-theme-hope'

export const zhNavbar = navbar([
{ text: '产品简介', link: '/product/introduction.html' },
{
text: 'UIKit',
children: [
{
text: '单群聊 UIKit',
children: [
{
text: 'Android',
icon: '/icon-Android.svg',
link: '/uikit/chatuikit/android/chatuikit_overview.html'
},
{
text: 'iOS',
icon: '/icon-iOS.svg',
link: '/uikit/chatuikit/ios/chatuikit_overview.html'
},
{
text: 'Web',
icon: '/icon-web.svg',
link: '/uikit/chatuikit/web/chatuikit_overview.html'
},
{
text: 'HarmonyOS',
icon: '/icon-harmonyos.svg',
link: '/uikit/chatuikit/harmonyos/chatuikit_overview.html'
},
{
text: 'Uniapp',
icon: '/icon-uni-app.svg',
link: '/uikit/chatuikit/uniapp/chatuikit_overview.html'
},
{
text: 'React Native',
icon: '/icon-ReactNative.svg',
link: '/uikit/chatuikit/react-native/chatuikit_overview.html'
},
{
text: 'Flutter',
icon: '/icon-flutter.svg',
link: '/uikit/chatuikit/flutter/chatuikit_overview.html'
}
]
},
{
text: '聊天室 UIKit',
children: [
{
text: 'Android',
icon: '/icon-Android.svg',
link: '/uikit/chatroomuikit/android/roomuikit_overview.html'
},
{
text: 'iOS',
icon: '/icon-iOS.svg',
link: '/uikit/chatroomuikit/ios/roomuikit_overview.html'
},
{
text: 'Web',
icon: '/icon-web.svg',
link: '/uikit/chatroomuikit/web/roomuikit_overview.html'
},
{
text: 'React Native',
icon: '/icon-ReactNative.svg',
link: '/uikit/chatroomuikit/react-native/roomuikit_overview.html'
},
{
text: 'Flutter',
icon: '/icon-flutter.svg',
link: '/uikit/chatroomuikit/flutter/roomuikit_overview.html'
}
]
}
]
},
{
text: 'SDK/REST 集成',
children: [
Expand Down Expand Up @@ -167,6 +92,81 @@ export const zhNavbar = navbar([
}
]
},
{
text: 'UIKit',
children: [
{
text: '单群聊 UIKit',
children: [
{
text: 'Android',
icon: '/icon-Android.svg',
link: '/uikit/chatuikit/android/chatuikit_overview.html'
},
{
text: 'iOS',
icon: '/icon-iOS.svg',
link: '/uikit/chatuikit/ios/chatuikit_overview.html'
},
{
text: 'Web',
icon: '/icon-web.svg',
link: '/uikit/chatuikit/web/chatuikit_overview.html'
},
{
text: 'HarmonyOS',
icon: '/icon-harmonyos.svg',
link: '/uikit/chatuikit/harmonyos/chatuikit_overview.html'
},
{
text: 'Uniapp',
icon: '/icon-uni-app.svg',
link: '/uikit/chatuikit/uniapp/chatuikit_overview.html'
},
{
text: 'React Native',
icon: '/icon-ReactNative.svg',
link: '/uikit/chatuikit/react-native/chatuikit_overview.html'
},
{
text: 'Flutter',
icon: '/icon-flutter.svg',
link: '/uikit/chatuikit/flutter/chatuikit_overview.html'
}
]
},
{
text: '聊天室 UIKit',
children: [
{
text: 'Android',
icon: '/icon-Android.svg',
link: '/uikit/chatroomuikit/android/roomuikit_overview.html'
},
{
text: 'iOS',
icon: '/icon-iOS.svg',
link: '/uikit/chatroomuikit/ios/roomuikit_overview.html'
},
{
text: 'Web',
icon: '/icon-web.svg',
link: '/uikit/chatroomuikit/web/roomuikit_overview.html'
},
{
text: 'React Native',
icon: '/icon-ReactNative.svg',
link: '/uikit/chatroomuikit/react-native/roomuikit_overview.html'
},
{
text: 'Flutter',
icon: '/icon-flutter.svg',
link: '/uikit/chatroomuikit/flutter/roomuikit_overview.html'
}
]
}
]
},
{
text: 'API 参考',
children: [
Expand Down Expand Up @@ -247,10 +247,10 @@ export const zhNavbar = navbar([
}
]
},
{
text: '即时推送',
link: '/push/push_overview.html'
},
// {
// text: '即时推送',
// link: '/push/push_overview.html'
// },
// {
// text: "私有部署",
// children: [
Expand All @@ -264,6 +264,6 @@ export const zhNavbar = navbar([
// },
// ],
// },
{ text: '历史版本', link: 'https://docs-im.easemob.com/ccim/intro' },
// { text: '历史版本', link: 'https://docs-im.easemob.com/ccim/intro' },
// { text: '有奖调研', link: 'https://doc.easemob.com/form/wjx.html' }
])
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/.vuepress/public/images/privitization/delete.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/images/privitization/deploy_auth_code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed docs/.vuepress/public/images/privitization/get.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed docs/.vuepress/public/images/privitization/post.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
31 changes: 16 additions & 15 deletions docs/.vuepress/sidebar/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ const documentSidebar = [
*/
text: '快速开始',
children: [
// { text: '私有云 SDK 集成配置', link: 'privatecloud.html', except: ['windows', 'server-side', 'react-native', 'unity'] },
{ text: '私有云 SDK 集成配置', link: 'privatecloud.html', only: ['ios', 'android', 'web', 'flutter', 'harmonyos'] },
{ text: 'React Demo 体验', link: 'demo_react.html', only: ['web'] },
{ text: 'Vue Demo 体验', link: 'demo_vue.html', only: ['web'] },
{ text: 'Demo 体验', link: 'demo.html', except: ['web', 'windows', 'unity', 'server-side'] },
{ text: '快速开始', link: 'quickstart.html', except: ['windows', 'react-native', 'flutter', 'unity', 'server-side'] },
{ text: '快速开始', link: 'quickstart.html', only: ['windows', 'react-native', 'flutter', 'unity'] },
// { text: '私有云 SDK 集成配置', link: 'privatecloud.html', except: ['windows', 'server-side', 'react-native', 'flutter', 'unity'] },
{ text: 'SDK 更新日志', link: 'releasenote.html', except: ['server-side']},
/*{ text: 'API reference', link: 'apireference.html', only: ['android', 'ios', 'web', 'windows', 'react-native', 'flutter', 'unity']},*/
{ text: '开通和配置服务 console', link: 'enable_and_configure_IM.html', only: ['server-side'] },
{ text: '使用环信 App Token 鉴权', link: 'easemob_app_token.html', only: ['server-side'] },
{ text: '使用环信 User Token 鉴权', link: 'easemob_user_token.html', only: ['server-side'] },
{ text: 'IM 产品使用限制', link: 'limitation.html', only: ['server-side'] },
{ text: '接口频率限制', link: 'limitationapi.html', only: ['server-side'] },
// { text: '接口频率限制', link: 'limitationapi.html', only: ['server-side'] },
],
except: ['applet', 'electron','linux']
},
Expand Down Expand Up @@ -70,9 +71,9 @@ const documentSidebar = [
{ text: '定向消息', link: 'message_target.html' },
{ text: '消息扩展', link: 'message_extension.html' },
{ text: '置顶消息', link: 'message_pin.html'},
{ text: '翻译消息', link: 'message_translation.html', except: ['harmonyos']},
// { text: '翻译消息', link: 'message_translation.html', except: ['harmonyos']},
{ text: '只投在线用户', link: 'message_deliver_only_online.html'},
{ text: '消息审核(举报)', link: 'moderation.html', except: ['harmonyos']},
// { text: '消息审核(举报)', link: 'moderation.html', except: ['harmonyos']},
{ text: '获取消息流量统计', link: 'message_traffic_statis.html', only: ['android', 'ios'] },
]
},
Expand Down Expand Up @@ -150,7 +151,7 @@ const documentSidebar = [
{ text: '设置通知的显示内容', link: 'push/push_display.html', only: ['android', 'ios', 'harmonyos', 'react-native', 'flutter'] },
{ text: '设置通知方式和免打扰', link: 'push/push_notification_mode_dnd.html', only: ['android', 'ios', 'web', 'harmonyos', 'react-native', 'flutter']},
{ text: '设置推送模板', link: 'push/push_template.html', only: ['web']},
{ text: '设置推送翻译', link: 'push/push_translation.html', only: ['android', 'ios', 'web', 'react-native', 'flutter']},
// { text: '设置推送翻译', link: 'push/push_translation.html', only: ['android', 'ios', 'web', 'react-native', 'flutter']},
{ text: '设置推送扩展功能', link: 'push/push_extension.html', only: ['android', 'ios', 'web', 'react-native', 'flutter']},
{ text: '推送消息分类', link: 'push/push_message_classification.html', only: ['android'] },
{ text: 'FAQ', link: 'push/push_solution.html', only: ['android', 'ios','harmonyos']},
Expand Down Expand Up @@ -239,9 +240,9 @@ const documentSidebar = [
{ text: '定向消息', link: 'message_target.html' },
{ text: '消息扩展', link: 'message_extension.html' },
{ text: '置顶消息', link: 'message_pin.html' },
{ text: '翻译消息', link: 'message_translation.html' },
// { text: '翻译消息', link: 'message_translation.html' },
{ text: '只投在线用户', link: 'message_deliver_only_online.html'},
{ text: '消息审核(举报)', link: 'moderation.html'},
// { text: '消息审核(举报)', link: 'moderation.html'},
]
},
{
Expand Down Expand Up @@ -299,7 +300,7 @@ const documentSidebar = [
{ text: '离线推送概述', link: 'push/push_overview.html' },
{ text: '设置通知方式和免打扰', link: 'push/push_notification_mode_dnd.html' },
{ text: '设置推送模板', link: 'push/push_template.html' },
{ text: '设置推送翻译', link: 'push/push_translation.html' },
// { text: '设置推送翻译', link: 'push/push_translation.html' },
{ text: '设置推送扩展功能', link: 'push/push_extension.html' },
{ text: 'uni-app 离线推送',
collapsible: true,
Expand Down Expand Up @@ -537,13 +538,13 @@ const documentSidebar = [
],
only: ['server-side']
},
{
text: '已废弃内容',
children: [
{ text: '通过用户 ID 和密码获取用户 token', link: 'easemob_user_token_password.html' }
],
only: ['server-side']
},
// {
// text: '已废弃内容',
// children: [
// { text: '通过用户 ID 和密码获取用户 token', link: 'easemob_user_token_password.html' }
// ],
// only: ['server-side']
// },
]

function buildDocSidebar() {
Expand Down
Loading