Skip to content

Commit

Permalink
fix: reference link
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Apr 10, 2024
1 parent d6e19cb commit c9e1673
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/dev-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Next, let's introduce the meaning of each field one by one:

In short, it is necessary to parse the list of files that need to be downloaded based on the request information in `ctx.req` in the `onResolve` callback function and assign it to `ctx.res`. The script above is easy to understand. It parses an `index.html` file and its corresponding download address, and then assigns it to `ctx.res`.

> About `ctx`'s detailed explanation can be found in [documentation](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.OnResovleContext.html).
> About `ctx`'s detailed explanation can be found in [documentation](https://docs.gopeed.com/site/reference/interfaces/gopeed.OnResovleContext.html).
## Extension settings

Expand Down Expand Up @@ -297,7 +297,7 @@ gopeed.events.onResolve((ctx) => {
});
```

> Note: For detailed API, please refer to [documentation](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.Storage.html).
> Note: For detailed API, please refer to [documentation](https://docs.gopeed.com/site/reference/interfaces/gopeed.Storage.html).
## Extension debugging

Expand Down
4 changes: 2 additions & 2 deletions docs/zh-TW/dev-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ gopeed.events.onResolve((ctx) => {

簡而言之就是需要在`onResolve`回調函數中,根據`ctx.req`裡的請求信息,解析出需要下載的文件列表賦值給`ctx.res`即可,那麼上面的腳本就很好理解 了,就是解析出一個`index.html`檔案和對應的下載位址,然後賦值給`ctx.res`

> 關於`ctx`的詳細說明可以參考[文件](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.OnResovleContext.html)
> 關於`ctx`的詳細說明可以參考[文件](https://docs.gopeed.com/site/reference/interfaces/gopeed.OnResovleContext.html)
## 擴充設定

Expand Down Expand Up @@ -278,7 +278,7 @@ gopeed.events.onResolve((ctx) => {
});
```

> 附註:詳細的 API 可以參考[文件](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.Storage.html)
> 附註:詳細的 API 可以參考[文件](https://docs.gopeed.com/site/reference/interfaces/gopeed.Storage.html)
## 擴充調試

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/dev-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ gopeed.events.onResolve((ctx) => {

简而言之就是需要在`onResolve`回调函数中,根据`ctx.req`里的请求信息,解析出需要下载的文件列表赋值给`ctx.res`即可,那么上面的脚本就很好理解了,就是解析出一个`index.html`文件和对应的下载地址,然后赋值给`ctx.res`

> 关于`ctx`的详细说明可以参考[文档](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.OnResovleContext.html)
> 关于`ctx`的详细说明可以参考[文档](https://docs.gopeed.com/site/reference/interfaces/gopeed.OnResovleContext.html)
## 扩展设置

Expand Down Expand Up @@ -278,7 +278,7 @@ gopeed.events.onResolve((ctx) => {
});
```

> 注:详细的 API 可以参考[文档](https://docs.gopeed.com/site/reference/interfaces/gopeed.types.Storage.html)
> 注:详细的 API 可以参考[文档](https://docs.gopeed.com/site/reference/interfaces/gopeed.Storage.html)
## 扩展调试

Expand Down

0 comments on commit c9e1673

Please sign in to comment.