refactor: docs format

This commit is contained in:
DIYgod
2019-09-09 17:47:36 +08:00
parent 49569ba92b
commit 32faf53e89
10 changed files with 143 additions and 143 deletions

View File

@@ -48,14 +48,14 @@ pageClass: routes
<Route author="a180285" example="/blogs/jingwei.link" path="/blogs/jingwei.link"/> <Route author="a180285" example="/blogs/jingwei.link" path="/blogs/jingwei.link"/>
## 王垠博客
### 文章
<Route author="junbaor SkiTiSu" example="/blogs/wangyin" path="/blogs/wangyin"/>
## 每日安全 ## 每日安全
### 推送 ### 推送
<Route author="LogicJake" example="/security/pulses" path="/security/pulses"/> <Route author="LogicJake" example="/security/pulses" path="/security/pulses"/>
## 王垠博客
### 文章
<Route author="junbaor SkiTiSu" example="/blogs/wangyin" path="/blogs/wangyin"/>

View File

@@ -4,6 +4,20 @@ pageClass: routes
# 设计 # 设计
## Dribbble
### 流行
<Route author="DIYgod" example="/dribbble/popular/week" path="/dribbble/popular/:timeframe?" :paramsDesc="['时间维度, 支持 week month year ever']"/>
### 用户(团队
<Route author="DIYgod" example="/dribbble/user/google" path="/dribbble/user/:name" :paramsDesc="['用户名, 可在该用户主页 URL 中找到']"/>
### 关键词
<Route author="DIYgod" example="/dribbble/keyword/player" path="/dribbble/keyword/:keyword" :paramsDesc="['想要订阅的关键词']"/>
## UI 中国 ## UI 中国
### 推荐文章 ### 推荐文章
@@ -39,17 +53,3 @@ pageClass: routes
例如: 站酷的个人主页 `https://baiyong.zcool.com.cn` 对应 rss 路径 `/zcool/user/baiyong` 例如: 站酷的个人主页 `https://baiyong.zcool.com.cn` 对应 rss 路径 `/zcool/user/baiyong`
</Route> </Route>
## Dribbble
### 流行
<Route author="DIYgod" example="/dribbble/popular/week" path="/dribbble/popular/:timeframe?" :paramsDesc="['时间维度, 支持 week month year ever']"/>
### 用户(团队
<Route author="DIYgod" example="/dribbble/user/google" path="/dribbble/user/:name" :paramsDesc="['用户名, 可在该用户主页 URL 中找到']"/>
### 关键词
<Route author="DIYgod" example="/dribbble/keyword/player" path="/dribbble/keyword/:keyword" :paramsDesc="['想要订阅的关键词']"/>

View File

@@ -72,7 +72,7 @@ const sortByHeading = async (filePath) => {
const locale = config.themeConfig.locales[key]; const locale = config.themeConfig.locales[key];
if (locale.hasOwnProperty('sidebar')) { if (locale.hasOwnProperty('sidebar')) {
if (locale.sidebar['/']) { if (locale.sidebar['/']) {
// return locale.sidebar['/'][1].children.map((x) => path.resolve(__dirname, `./${x}.md`)); return locale.sidebar['/'][1].children.map((x) => path.resolve(__dirname, `./${x}.md`));
} else if (locale.sidebar['/en/']) { } else if (locale.sidebar['/en/']) {
return locale.sidebar['/en/'][1].children.map((x) => path.resolve(__dirname, `./en/${x}.md`)); return locale.sidebar['/en/'][1].children.map((x) => path.resolve(__dirname, `./en/${x}.md`));
} }

View File

@@ -166,6 +166,12 @@ pageClass: routes
<Route author="ranpox" example="/iqiyi/dongman/a_19rrh1sifx" path="/iqiyi/dongman/:id" :paramsDesc="['动漫 id, 可在该动漫主页 URL 中找到(不包括`.html`)']"/> <Route author="ranpox" example="/iqiyi/dongman/a_19rrh1sifx" path="/iqiyi/dongman/:id" :paramsDesc="['动漫 id, 可在该动漫主页 URL 中找到(不包括`.html`)']"/>
## 播客 IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
### IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
<Route author="fengkx" example="/maitta" path="/maitta" supportPodcast="1" />
## 草榴社区 ## 草榴社区
### 分区帖子 ### 分区帖子
@@ -352,24 +358,6 @@ pageClass: routes
<Route author="kt286" example="/radio/2/520767" path="/radio/:channelname/:name" :paramsDesc="['频道ID, 可在对应专辑页面的 URL 中找到','节目ID可在对应专辑页面的 URL 中找到']" supportPodcast="1"/> <Route author="kt286" example="/radio/2/520767" path="/radio/:channelname/:name" :paramsDesc="['频道ID, 可在对应专辑页面的 URL 中找到','节目ID可在对应专辑页面的 URL 中找到']" supportPodcast="1"/>
## 字幕组ZiMuZu.tv
::: tip 提示
跟官方提供的 RSS 相比:官方使用了不规范的 magnet 字段,无法被 BT 客户端识别并自动下载,其他数据相同
:::
### 影视
<Route author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id对应影视的 URL 中找到,为空时输出最近更新']" supportBT="1"/>
## 播客 IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
### IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
<Route author="fengkx" example="/maitta" path="/maitta" supportPodcast="1" />
## 字幕库 ## 字幕库
### 字幕列表 ### 字幕列表
@@ -383,3 +371,15 @@ pageClass: routes
| mv | tv | | mv | tv |
</Route> </Route>
## 字幕组ZiMuZu.tv
::: tip 提示
跟官方提供的 RSS 相比:官方使用了不规范的 magnet 字段,无法被 BT 客户端识别并自动下载,其他数据相同
:::
### 影视
<Route author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id对应影视的 URL 中找到,为空时输出最近更新']" supportBT="1"/>

View File

@@ -87,12 +87,6 @@ pageClass: routes
<Route author="xyqfer" example="/itjuzi/merge" path="/itjuzi/merge"/> <Route author="xyqfer" example="/itjuzi/merge" path="/itjuzi/merge"/>
## 腾讯 NBA
### 头条新闻
<Route author="alizeegod" example="/nba/app_news" path="/nba/app_news"/>
## Readhub ## Readhub
### 分类 ### 分类
@@ -415,6 +409,20 @@ pageClass: routes
<Route author="qiwihui" example="/paidai/news" path="/paidao/news" /> <Route author="qiwihui" example="/paidai/news" path="/paidao/news" />
## 品途商业评论
### 文章
<Route author="DIYgod" example="/pintu360/0" path="/pintu360/:type?" :paramsDesc="['类型, 默认为 `0` 推荐']">
类型
| 推荐 | 零售前沿 | 智能科技 | 泛文娱 | 教育 | 大健康 | 新消费 | 创业投资 |
| ---- | -------- | -------- | ------ | ---- | ------ | ------ | -------- |
| 0 | 7 | 10 | 9 | 98 | 70 | 8 | 72 |
</Route>
## 品玩 ## 品玩
### 实时要闻 ### 实时要闻
@@ -551,6 +559,12 @@ pageClass: routes
<Route author="xyqfer" example="/tanwu/products" path="/tanwu/products"/> <Route author="xyqfer" example="/tanwu/products" path="/tanwu/products"/>
## 腾讯 NBA
### 头条新闻
<Route author="alizeegod" example="/nba/app_news" path="/nba/app_news"/>
## 腾讯大家 ## 腾讯大家
### 首页 ### 首页
@@ -677,17 +691,3 @@ pageClass: routes
### 全文 ### 全文
<Route author="HenryQW" example="/zzz" path="/zzz/index"/> <Route author="HenryQW" example="/zzz" path="/zzz/index"/>
## 品途商业评论
### 文章
<Route author="DIYgod" example="/pintu360/0" path="/pintu360/:type?" :paramsDesc="['类型, 默认为 `0` 推荐']">
类型
| 推荐 | 零售前沿 | 智能科技 | 泛文娱 | 教育 | 大健康 | 新消费 | 创业投资 |
| ---- | -------- | -------- | ------ | ---- | ------ | ------ | -------- |
| 0 | 7 | 10 | 9 | 98 | 70 | 8 | 72 |
</Route>

View File

@@ -16,6 +16,14 @@ pageClass: routes
<Route author="FHYunCai" example="/bing" path="/bing"/> <Route author="FHYunCai" example="/bing" path="/bing"/>
## Dilbert Comic Strip
<Route name="Daily Strip" author="Maecenas" example="/dilbert/strip" path="/dilbert/strip">
通过提取漫画,提供比官方源更佳的阅读体验。
</Route>
## Konachan Anime Wallpapers ## Konachan Anime Wallpapers
::: tip 提示 ::: tip 提示
@@ -85,6 +93,18 @@ pageClass: routes
</Route> </Route>
## 百度趣画
### 更新
<Route author="xyqfer" example="/baidu/doodles" path="/baidu/doodles"/>
## 北京天文馆
### 每日一图
<Route author="HenryQW" example="/bjp/apod" path="/bjp/apod"/>
## 不羞涩 ## 不羞涩
### 分类 ### 分类
@@ -164,23 +184,3 @@ pageClass: routes
### 用户上传作品和用户喜欢作品 ### 用户上传作品和用户喜欢作品
<Route author="LanceZhu" example="/gracg/user11968EIcqS3" path="/gracg/:user/:love?" :paramsDesc="['用户访问ID用户主页URL获取', '是否切换为用户喜欢作品, 不选或为 0 不切换1则切换']"/> <Route author="LanceZhu" example="/gracg/user11968EIcqS3" path="/gracg/:user/:love?" :paramsDesc="['用户访问ID用户主页URL获取', '是否切换为用户喜欢作品, 不选或为 0 不切换1则切换']"/>
## 北京天文馆
### 每日一图
<Route author="HenryQW" example="/bjp/apod" path="/bjp/apod"/>
## Dilbert Comic Strip
<Route name="Daily Strip" author="Maecenas" example="/dilbert/strip" path="/dilbert/strip">
通过提取漫画,提供比官方源更佳的阅读体验。
</Route>
## 百度趣画
### 更新
<Route author="xyqfer" example="/baidu/doodles" path="/baidu/doodles"/>

View File

@@ -122,6 +122,12 @@ pageClass: routes
<Route author="DIYgod" example="/rsshub/rss" path="/rsshub/rss" radar="1"/> <Route author="DIYgod" example="/rsshub/rss" path="/rsshub/rss" radar="1"/>
## sketch.com
### beta 更新
<Route author="Jeason0228" example="/sketch/beta" path="/sketch/beta" />
## Thunderbird ## Thunderbird
### 更新日志 ### 更新日志
@@ -140,12 +146,6 @@ pageClass: routes
<Route author="DIYgod" example="/xclient/app/sketch" path="/xclient/app/:name" :paramsDesc="['应用名, 可在应用页 URL 中找到']"/> <Route author="DIYgod" example="/xclient/app/sketch" path="/xclient/app/:name" :paramsDesc="['应用名, 可在应用页 URL 中找到']"/>
## sketch.com
### beta 更新
<Route author="Jeason0228" example="/sketch/beta" path="/sketch/beta" />
## Xiaomi.eu ## Xiaomi.eu
### ROM Releases ### ROM Releases

View File

@@ -527,6 +527,12 @@ GitHub 官方也提供了一些 RSS:
</Route> </Route>
## 日报 | D2 资源库
### 日报 | D2 资源库
<Route author="Andiedie" example="/d2/daily" path="/d2/daily"/>
## 顺丰 ## 顺丰
### 顺丰丰桥开放平台公告 ### 顺丰丰桥开放平台公告
@@ -600,9 +606,3 @@ GitHub 官方也提供了一些 RSS:
### 热门 ### 热门
<Route author="SirM2z" example="/zcfy/hot" path="/zcfy/hot"/> <Route author="SirM2z" example="/zcfy/hot" path="/zcfy/hot"/>
## 日报 | D2 资源库
### 日报 | D2 资源库
<Route author="Andiedie" example="/d2/daily" path="/d2/daily"/>

View File

@@ -58,6 +58,32 @@ pageClass: routes
<Route author="Netrvin" example="/ciweimao/chapter/100045750" path="/ciweimao/chapter/:id" :paramsDesc="['小说 id, 可在对应小说页 URL 中找到']"/> <Route author="Netrvin" example="/ciweimao/chapter/100045750" path="/ciweimao/chapter/:id" :paramsDesc="['小说 id, 可在对应小说页 URL 中找到']"/>
## 单向空间
### 单读
<Route author="KeNorizon" example="/owspace/read/0" path="/owspace/read/:type?" :paramsDesc="['栏目分类,不填则默认为首页']">
| 首页 | 文字 | 影像 | 声音 | 单向历 | 谈论 |
| ---- | ---- | ---- | ---- | ------ | ---- |
| 0 | 1 | 2 | 3 | 4 | 6 |
</Route>
## 飞地
### 分类
<Route author="LogicJake" example="/enclavebooks/category/1" path="/enclavebooks/category/:id" :paramsDesc="['类别 id可在[分类api](https://app.enclavebooks.cn/v2/discovery)返回数据中的category查看']"/>
### 用户创作
<Route author="junbaor" example="/enclavebooks/user/103702" path="/enclavebooks/user/:uid" :paramsDesc="['用户ID, 自行抓包寻找']"/>
### 用户收藏
<Route author="junbaor" example="/enclavebooks/collection/103702" path="/enclavebooks/collection/:uid" :paramsDesc="['用户ID, 自行抓包寻找']"/>
## 观止(每日一文) ## 观止(每日一文)
### 观止 ### 观止
@@ -139,29 +165,3 @@ pageClass: routes
### 主页 ### 主页
<Route author="kt286" example="/zreading" path="/zreading" /> <Route author="kt286" example="/zreading" path="/zreading" />
## 单向空间
### 单读
<Route author="KeNorizon" example="/owspace/read/0" path="/owspace/read/:type?" :paramsDesc="['栏目分类,不填则默认为首页']">
| 首页 | 文字 | 影像 | 声音 | 单向历 | 谈论 |
| ---- | ---- | ---- | ---- | ------ | ---- |
| 0 | 1 | 2 | 3 | 4 | 6 |
</Route>
## 飞地
### 分类
<Route author="LogicJake" example="/enclavebooks/category/1" path="/enclavebooks/category/:id" :paramsDesc="['类别 id可在[分类api](https://app.enclavebooks.cn/v2/discovery)返回数据中的category查看']"/>
### 用户创作
<Route author="junbaor" example="/enclavebooks/user/103702" path="/enclavebooks/user/:uid" :paramsDesc="['用户ID, 自行抓包寻找']"/>
### 用户收藏
<Route author="junbaor" example="/enclavebooks/collection/103702" path="/enclavebooks/collection/:uid" :paramsDesc="['用户ID, 自行抓包寻找']"/>

View File

@@ -274,6 +274,12 @@ pageClass: routes
<Route author="Maecenas" path="/instagram/story/:username" example="/instagram/story/instagram" :paramsDesc="['用户名']"/> <Route author="Maecenas" path="/instagram/story/:username" example="/instagram/story/instagram" :paramsDesc="['用户名']"/>
## Keep
### 运动日记
<Route author="Dectinc DIYgod" example="/keep/user/556b02c1ab59390afea671ea" path="/keep/user/:id" :paramsDesc="['Keep 用户 id']"/>
## Matters ## Matters
### 最新排序 ### 最新排序
@@ -414,6 +420,12 @@ pageClass: routes
<Route author="kt286" example="/changba/34108440" path="/changba/:userid" :paramsDesc="['用户ID, 可在对应页面的 URL 中找到']" supportPodcast="1"/> <Route author="kt286" example="/changba/34108440" path="/changba/:userid" :paramsDesc="['用户ID, 可在对应页面的 URL 中找到']" supportPodcast="1"/>
## 大众点评
### 用户
<Route author="brilon" example="/dianping/user/35185271" path="/dianping/user/:id" :paramsDesc="['用户id可在 URL 中找到']"/>
## 豆瓣 ## 豆瓣
### 正在上映的电影 ### 正在上映的电影
@@ -608,6 +620,20 @@ pageClass: routes
</Route> </Route>
## 刷屏
### 最新
<Route author="xyqfer" example="/weseepro/newest" path="/weseepro/newest"/>
### 最新(无中间页)
<Route author="xyqfer yefoenix" example="/weseepro/newest-direct" path="/weseepro/newest-direct"/>
### 朋友圈
<Route author="xyqfer" example="/weseepro/circle" path="/weseepro/circle"/>
## 搜狐 ## 搜狐
### 搜狐号 ### 搜狐号
@@ -818,29 +844,3 @@ pageClass: routes
### 知乎书店-知乎周刊 ### 知乎书店-知乎周刊
<Route author="LogicJake" example="/zhihu/weekly" path="/zhihu/weekly" anticrawler="1" radar="1"/> <Route author="LogicJake" example="/zhihu/weekly" path="/zhihu/weekly" anticrawler="1" radar="1"/>
## Keep
### 运动日记
<Route author="Dectinc DIYgod" example="/keep/user/556b02c1ab59390afea671ea" path="/keep/user/:id" :paramsDesc="['Keep 用户 id']"/>
## 大众点评
### 用户
<Route author="brilon" example="/dianping/user/35185271" path="/dianping/user/:id" :paramsDesc="['用户id可在 URL 中找到']"/>
## 刷屏
### 最新
<Route author="xyqfer" example="/weseepro/newest" path="/weseepro/newest"/>
### 最新(无中间页)
<Route author="xyqfer yefoenix" example="/weseepro/newest-direct" path="/weseepro/newest-direct"/>
### 朋友圈
<Route author="xyqfer" example="/weseepro/circle" path="/weseepro/circle"/>