Skip to content

Commit

Permalink
Merge pull request #573 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify IM & Chatroom UIKit Docs
  • Loading branch information
haoxiuwen authored Jan 2, 2024
2 parents ccf82ac + 45faf6c commit fcf7a25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/.vuepress/sidebar/uikit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const chatroomUikitSidebar = [
{ text: "可配置项", link: "roomuikit_config_item.html" },
{ text: "主题", link: "roomuikit_theme.html" },
{ text: "自定义", link: "roomuikit_customize.html" },
{ text: "组件文档", link: "roomuikit_storybook.html", only: ['web'] },
{ text: "更新日志", link: "roomuikit_releasenote.html" },
{ text: "设计指南", link: "design_guide.html" },
];
Expand Down
2 changes: 1 addition & 1 deletion docs/document/web/message_translation.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ conn.getSupportedLanguages().then(res => console.log(res))
接收方调用 `translateMessage` 将接收到的消息翻译成目标语言。示例代码如下:

```javascript
conn.translateMessage('hello', ['zh-Hans']).then(res => console.log(res))
conn.translateMessage({text: 'hello', languages: [zh-Hans]})
```

### 自动翻译
Expand Down
5 changes: 5 additions & 0 deletions docs/uikit/chatroomuikit/web/roomuikit_storybook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 组件文档

ChatroomUIKit 提供 container 组件 `Chatroom``ChatroomMember`,module 组件 `ChatroomMessage`。组件中包含各种属性供你配置。

若要查看组件配置详情,请点击[这里](https://storybook.easemob.com/)

0 comments on commit fcf7a25

Please sign in to comment.