Skip to content

Commit

Permalink
docs: adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
imtaotao committed Aug 31, 2024
1 parent fc497d2 commit 0473607
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hero:

features:
- title: Multiple Rendering Algorithms
details: We offer strict collision detection algorithms, progressive collision detection algorithms, and standard full real-time rendering algorithms.
details: We provide strict and progressive, as well as ordinary full real-time rendering algorithms.
icon: 🔍
- title: Rich API
details: Provides a variety of APIs needed for different business scenarios, greatly simplifying the development process.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/manager-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
**Type: `string`**
The current npm package version of the `danmu` library.
The current version of the `danmu` library.
## `manager.options`
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/create-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 描述

由于内核没有暴漏出来**根据条件来实现过滤弹幕**的功能,原因在于内核不知道弹幕内容的数据结构,这和业务的诉求强相关,所以我们在此通过插件来实现**精简弹幕**的功能用来演示。
由于内核没有暴露出来**根据条件来实现过滤弹幕**的功能,原因在于内核不知道弹幕内容的数据结构,这和业务的诉求强相关,所以我们在此通过插件来实现**精简弹幕**的功能用来演示。

## 💻 编写一个插件

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ hero:

features:
- title: 多种渲染算法
details: 我们提供了严格的碰撞检测算法,也提供了渐进式的碰撞检测算法,以及普通的全量实时渲染算法。
details: 我们提供了严格和渐进式的,以及普通的全量实时渲染算法。
icon: 🔍
- title: 丰富的 api
details: 提供了很多业务场景需要的 api,最大程度的简化开发方式。
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/reference/manager-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
**类型:`string`**
当前 `danmu` 库的 npm 包版本
当前 `danmu` 库的版本
## `manager.options`
Expand Down
2 changes: 1 addition & 1 deletion src/lifeCycle.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SyncHook, SyncWaterfallHook, PluginSystem } from 'hooks-plugin';
import { ids } from './utils';
import type { Manager, ManagerOptions } from './manager';
import type { TrackData, Danmaku, DanmakuType, DanmakuPlugin } from './types';
import type { Danmaku, DanmakuType, DanmakuPlugin } from './types';

export function createDanmakuLifeCycle<T extends Danmaku<any>>() {
return new PluginSystem({
Expand Down

0 comments on commit 0473607

Please sign in to comment.