From 2b7be504d96b0054aef77b361a9e5ca15b56aa96 Mon Sep 17 00:00:00 2001 From: TonyRL Date: Wed, 29 Mar 2023 14:47:35 +0000 Subject: [PATCH] docs: fix typos --- docs/.vuepress/config.js | 2 +- docs/joinus/debug.md | 2 +- docs/joinus/new-rss/add-docs.md | 2 +- docs/joinus/script-standard.md | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 7e09cc25fb..73b6fcd9d8 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -131,7 +131,7 @@ module.exports = { path: '/joinus/new-radar.html', }, { - title: '💪 Advanced', + title: '💪 高级用法', path: '/joinus/advanced-feed.html', collapsable: false, children: [ diff --git a/docs/joinus/debug.md b/docs/joinus/debug.md index a37eecd8c8..ca4466d90d 100644 --- a/docs/joinus/debug.md +++ b/docs/joinus/debug.md @@ -3,7 +3,7 @@ sidebarDepth: 0 --- # 调试 -当调试代码时,除了使用 `console.log` 或将 node 进程附加到调试器,您还可以将自定义对象提供给 ctx.state.json 来进行调试。 +当调试代码时,除了使用 `console.log` 或将 node 进程附加到调试器,您还可以将自定义对象提供给 `ctx.state.json` 来进行调试。 ## 使用 `ctx.state.json` diff --git a/docs/joinus/new-rss/add-docs.md b/docs/joinus/new-rss/add-docs.md index 52d5b86d8b..ce3e2a5b34 100644 --- a/docs/joinus/new-rss/add-docs.md +++ b/docs/joinus/new-rss/add-docs.md @@ -4,7 +4,7 @@ sidebarDepth: 2 # 添加文档 -现在我们完成了代码,是时候为您的路由添加文档了。在 [文档(/docs/)](https://github.com/DIYgod/RSSHub/blob/master/docs/en)中打开相应的文件,本例中是 `docs/programming.md`。您可以通过运行以下命令实时预览文档: +现在我们完成了代码,是时候为您的路由添加文档了。在 [文档 (/docs/)](https://github.com/DIYgod/RSSHub/blob/master/docs) 中打开相应的文件,本例中是 `docs/programming.md`。您可以通过运行以下命令实时预览文档: diff --git a/docs/joinus/script-standard.md b/docs/joinus/script-standard.md index d2aef95966..220667356d 100644 --- a/docs/joinus/script-standard.md +++ b/docs/joinus/script-standard.md @@ -65,8 +65,6 @@ sidebarDepth: 2 ## v2 路由规范 -When creating a new route in RSSHub, you need to organize your files in a specific way. Your namespace folder should be stored in the `lib/v2` directory and should include three mandatory files: - 当在 RSSHub 中编写新的路由时,需要按特定方式组织文件。命名空间文件夹应该存储在 `lib/v2` 目录下,并且应包括三个必需文件: - `router.js` 注册路由