Skip to content

Commit f062d44

Browse files
authored
docs: 修复README文件锚点跳转和链接解析问题 (#556)
1 parent 7d2e08e commit f062d44

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ npm install --save @tswjs/tsw
4040
// yarn add @tswjs/tsw
4141
```
4242
### 2. 添加配置文件
43-
配置文件是 TSW 启动时加载进运行时的配置文件,主要声明需要使用的 [插件](#Plugins) 列表。**默认会加载项目根目录下的 `tswconfig.js` 文件,也可以通过启动参数 `-c` 或者 `--config` 来手动指定配置文件路径。**
43+
配置文件是 TSW 启动时加载进运行时的配置文件,主要声明需要使用的 [插件](#plugins) 列表。**默认会加载项目根目录下的 `tswconfig.js` 文件,也可以通过启动参数 `-c` 或者 `--config` 来手动指定配置文件路径。**
4444

45-
**注意事项**: 2.0 中没有集成开放平台相关逻辑,而是封装成了一个插件让用户按需使用,详情见[插件](#Plugins)章节。
45+
**注意事项**: 2.0 中没有集成开放平台相关逻辑,而是封装成了一个插件让用户按需使用,详情见[插件](#plugins)章节。
4646

4747
**配置文件示例:**
4848
```js
@@ -55,7 +55,7 @@ module.exports = {
5555
**参数列表**:
5656
| Name | Type | default | Optional | Description |
5757
| :-: | :-: | :-: | :-: | :-: |
58-
| plugins | Array<[Plugin](#Plugins)>| - | yes | [插件](#Plugins)列表 |
58+
| plugins | Array<[Plugin](#plugins)>| - | yes | [插件](#plugins)列表 |
5959
| cleanLog | boolean | `false` | yes | 是否关闭默认打印 |
6060
| logLevel | `DEBUG/INFO/WARN/ERROR` | `DEBUG` | yes | 设置 log level |
6161
| winstonTransports | Array<[TransportStream](https://github.com/winstonjs/winston-transport/blob/master/index.d.ts)> | - | yes | [Winston](#winston-是什么)日志通道 |
@@ -130,7 +130,7 @@ export.modules = class MyPlugin() {
130130
<h2 align="center">Open Platform</h2>
131131

132132
在默认的情况下,TSW 只是会把所有的日志和抓包内容抓取到并且送到事件总线上,以供 [插件](#插件是什么?) 消费。所以将日志和抓包内容落地查看一般需要用户自己编写插件以及提供存储,使用成本过于高昂。
133-
因此,TSW 官方提供了公共的服务平台https://tswjs.org,让用户低成本、更快、更方便地使用 TSW 的特性,详情见 [开放平台使用指引](./docs/use-open-platform.md)
133+
因此,TSW 官方提供了公共的服务平台 [https://tswjs.org](https://tswjs.org),让用户低成本、更快、更方便地使用 TSW 的特性,详情见 [开放平台使用指引](./docs/use-open-platform.md)
134134

135135
<h2 align="center">Cluster</h2>
136136

0 commit comments

Comments
 (0)