diff --git a/docs/.format/chineseFormat.js b/docs/.format/chineseFormat.js index 73bea54c93..dd48242a30 100644 --- a/docs/.format/chineseFormat.js +++ b/docs/.format/chineseFormat.js @@ -13,6 +13,7 @@ module.exports = { .use(frontmatter) .use(pangu, { inlineCode: false, + link: false, }) .use(prettier) .use({ diff --git a/docs/anime.md b/docs/anime.md index 10aeb35f55..71e3e49500 100644 --- a/docs/anime.md +++ b/docs/anime.md @@ -45,8 +45,7 @@ pageClass: routes -时间和动画名称请自己从网址取得: [https://anime1.me/category/2018 年秋季 / 刀劍神域 - alicization](https://anime1.me/category/2018年秋季/刀劍神域-alicization) - +时间和动画名称请自己从网址取得: `https://anime1.me/category/2018年秋季/刀劍神域-alicization` ### 搜尋 diff --git a/docs/design.md b/docs/design.md index e0b5ad8579..af3f4b05d8 100755 --- a/docs/design.md +++ b/docs/design.md @@ -10,7 +10,7 @@ pageClass: routes -文章内 Work type 指向的栏目地址,比如: ' 的 tag 为 `full-service-cg-production`,要注意的是 tag 和文章的目录是一样的。 +文章内 Work type 指向的栏目地址,比如: 的 tag 为 `full-service-cg-production`,要注意的是 tag 和文章的目录是一样的。 有一些 tag 并不经常使用: `Script`, `direction`, `production`, `design-concept` 等等。 @@ -63,7 +63,7 @@ pageClass: routes 不支持`news`和`main`。 -默认为 ' 下的栏目。 +默认为 下的栏目。 diff --git a/docs/install/README.md b/docs/install/README.md index 52fb79a667..b5214d8ecb 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -163,8 +163,10 @@ $ pm2 start lib/index.js --name rsshub 在项目根目录新建一个 `.env` 文件,每行以 `NAME=VALUE` 格式添加环境变量,例如 +```env CACHE_TYPE=redis CACHE_EXPIRE=600 +``` 注意它不会覆盖已有的环境变量,更多规则请参考 [dotenv](https://github.com/motdotla/dotenv) diff --git a/docs/other.md b/docs/other.md index 4c0e516301..9d5b2b850a 100644 --- a/docs/other.md +++ b/docs/other.md @@ -4,18 +4,6 @@ pageClass: routes # 其他 -## `远程.work` - -### `远程.work` 招聘信息 - - - -| 所有职位 | 技术 | 设计 | 运营 | 产品 | 其他 | 市场 | 销售 | -| :------: | :---------: | :----: | :-------: | :-----: | :---: | :-------: | :---: | -| all | development | design | operation | product | other | marketing | sales | - - - ## acwifi 路由器交流 ### 新闻 @@ -589,6 +577,18 @@ type 为 all 时,category 参数不支持 cost 和 free +## 远程 work + +### 远程 work 招聘信息 + + + +| 所有职位 | 技术 | 设计 | 运营 | 产品 | 其他 | 市场 | 销售 | +| :------: | :---------: | :----: | :-------: | :-----: | :---: | :-------: | :---: | +| all | development | design | operation | product | other | marketing | sales | + + + ## 正版中国 ### 分类列表 diff --git a/docs/parameter.md b/docs/parameter.md index 5e12b43e7f..24e68769c0 100644 --- a/docs/parameter.md +++ b/docs/parameter.md @@ -22,8 +22,8 @@ filter 选出想要的内容 - filter_time: 过滤时间,仅支持数字,单位为秒。返回指定时间范围内的内容。如果条目没有输出`pubDate`或者格式不正确将不会被过滤 -举例 1: [https://rsshub.app/bilibili/fav/2267573/801952073?filter = 编曲 | 摄影](https://rsshub.app/bilibili/fav/2267573/801952073?filter=编曲|摄影) -举例 2: +举例 1: `https://rsshub.app/bilibili/fav/2267573/801952073?filter=编曲|摄影` +举例 2: https://rsshub.app/nga/forum/489?filter_time=600 filterout 去掉不要的内容 @@ -35,9 +35,9 @@ filterout 去掉不要的内容 - filterout_author: 过滤作者 -举例: [https://rsshub.app/bilibili/fav/2267573/801952073?filterout = 编曲 | 摄影](https://rsshub.app/bilibili/fav/2267573/801952073?filterout=编曲|摄影) +举例: `https://rsshub.app/bilibili/fav/2267573/801952073?filterout=编曲|摄影` -filter_case_sensitive 过滤是否区分大小写,filter 和 filterout 同时适用 +`filter_case_sensitive` 过滤是否区分大小写,`filter` 和 `filterout`同时适用 默认为 true,区分大小写 @@ -82,4 +82,4 @@ RSSHub 同时支持 RSS 2.0 和 Atom 输出格式,在路由末尾添加 `.rss` - 缺省 RSS 2.0 - - RSS 2.0 - - Atom - -- 和 filter 或其他 URL query 一起使用 [https://rsshub.app/bilibili/user/coin/2267573.atom?filter = 微小微 | 赤九玖 | 暴走大事件](https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件) +- 和 filter 或其他 URL query 一起使用 `https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件` diff --git a/docs/programming.md b/docs/programming.md index c0980b6fcc..dbfaddd1f7 100644 --- a/docs/programming.md +++ b/docs/programming.md @@ -66,10 +66,10 @@ pageClass: routes GitHub 官方也提供了一些 RSS: -- 仓库 releases: -- 仓库 commits: -- 用户动态: -- 专属动态: (登录后在[仪表盘页面](https://github.com)找到 **Subscribe to your news feed** 字样即可) +- 仓库 releases: `https://github.com/:owner/:repo/releases.atom` +- 仓库 commits: `https://github.com/:owner/:repo/commits.atom` +- 用户动态: `https://github.com/:user.atom` +- 专属动态: `https://github.com/:user.private.atom?token=:secret` (登录后在[仪表盘页面](https://github.com)找到 **Subscribe to your news feed** 字样即可) ::: diff --git a/docs/traditional-media.md b/docs/traditional-media.md index 908b0c194b..58f5288618 100644 --- a/docs/traditional-media.md +++ b/docs/traditional-media.md @@ -26,8 +26,8 @@ pageClass: routes 支持大部分频道,频道名称见[官方频道 RSS](https://www.bbc.co.uk/news/10628494). -- 频道为单一路径,如 则为 `/bbc/business`. -- 频道包含多重路径,如 则替换 `/` 为 `-` `/bbc/world-asia`. +- 频道为单一路径,如 `https://feeds.bbci.co.uk/news/business/rss.xml` 则为 `/bbc/business`. +- 频道包含多重路径,如 `https://feeds.bbci.co.uk/news/world/asia/rss.xml` 则替换 `/` 为 `-` `/bbc/world-asia`. - 例外: BBC 中文网为 `/bbc/chinese`, 繁体中文为 `/bbc/traditionalchinese`. @@ -55,8 +55,8 @@ pageClass: routes 支持所有频道,频道名称见[官方频道 RSS](http://www.ftchinese.com/channel/rss.html). -- 频道为单一路径,如 则为 `/ft/chinese/news`. -- 频道包含多重路径,如 则替换 `/` 为 `-` `/ft/chinese/column-007000002`. +- 频道为单一路径,如 `http://www.ftchinese.com/rss/news` 则为 `/ft/chinese/news`. +- 频道包含多重路径,如 `http://www.ftchinese.com/rss/column/007000002` 则替换 `/` 为 `-` `/ft/chinese/column-007000002`.