Skip to content

Commit

Permalink
updated docs and fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Apr 13, 2024
1 parent a69c10d commit 021274c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@
## ➵ 使用方式

1. [下载](#-下载)本扩展。
2. 点击扩展图标进入设定页面,并根据你的偏好进入设定。完成后,然后按下保存设定
2. 点击扩展图标进入设定页面,并根据你的偏好进行设定。完成后,按下保存设定
3. 进入B站任一直播间即可开始使用。

详情可参阅 [使用指南](https://eric2788.github.io/bilibili-vup-stream-enhancer/tutorials)
> 本扩展的所有功能基本上可以到设定页面自行探索和试用,便不再加篇章一一赘述。
>
> 不过考虑到有些功能可能比较难以察觉,故写了篇 [使用指南](https://eric2788.github.io/bilibili-vup-stream-enhancer/tutorials) (仅限难以察觉的功能)。
## ➵ 贡献

Expand Down
1 change: 1 addition & 0 deletions docs/background.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const menus = [
- 把内容脚本的弹幕数据发送到扩展页面
- 把内容脚本的同传字幕发送到扩展页面
- 扩展页面的重启指令发送到内容脚本
- 发送预编译的视频数据到扩展页面

例子如下:
```ts
Expand Down
2 changes: 1 addition & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function App(): JSX.Element {
- 使用 [`getSettingStorage`](/src/utils/storage.ts) 函数:

```ts
const helloWorldSettings = getSettingStorage('settings.helloWorld')
const helloWorldSettings = await getSettingStorage('settings.helloWorld')
```

> 此方式返回的数据本身包含设定结构,因此无需手动标注类型。
Expand Down

0 comments on commit 021274c

Please sign in to comment.