style: format docs

This commit is contained in:
TonyRL
2022-06-13 16:35:36 +00:00
committed by Tony
parent 9af3e4a202
commit 1f0b897d5e
15 changed files with 44 additions and 45 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ API 仍处于开发状态中, 并可能会有改动。欢迎提供建议!
RSSHub 提供下列 API:
### 可用公共路由列表
## 可用公共路由列表
::: tip 提示
`protected_router.js`下的路由**不会被**包含在此 API 返回的结果当中.
+4 -4
View File
@@ -260,7 +260,7 @@ pageClass: routes
### AV
<Route author="TonyRL" example="/playno1/av" path="/playno1/av/:catid?" :paramsDesc="['分类,见下表,默认为全部文章']" radar="1" rssbud="1">
<Route author="TonyRL" example="/playno1/av" path="/playno1/av/:catid?" :paramsDesc="['分类,见下表,默认为全部文章']" radar="1" rssbud="1">
| 全部文章 | AV 新聞 | AV 導覽 |
| ---- | ----- | ----- |
@@ -270,7 +270,7 @@ pageClass: routes
### 情趣
<Route author="TonyRL" example="/playno1/st" path="/playno1/st/:catid?" :paramsDesc="['分类,见下表,默认为全部文章']" radar="1" rssbud="1">
<Route author="TonyRL" example="/playno1/st" path="/playno1/st/:catid?" :paramsDesc="['分类,见下表,默认为全部文章']" radar="1" rssbud="1">
| 全部文章 | 情趣體驗報告 | 情趣新聞 | 情趣研究所 |
| ---- | ---------- | ---- | -------- |
@@ -740,7 +740,7 @@ pageClass: routes
### 社区
<Route author="TonyRL" example="/feng/forum/1" path="/feng/forum/:id/:type?" :paramsDesc="['版块 ID,可在版块 URL 找到', '排序,见下表,默认为 `all`']" radar="1" rssbud="1">
<Route author="TonyRL" example="/feng/forum/1" path="/feng/forum/:id/:type?" :paramsDesc="['版块 ID,可在版块 URL 找到', '排序,见下表,默认为 `all`']" radar="1" rssbud="1">
| 最新回复 | 最新发布 | 热门 | 精华 |
| ------ | ---- | --- | ------- |
@@ -985,7 +985,7 @@ pageClass: routes
### 分类
<Route author="sanmmm" example="/lingyi/qiwenyishi" path="/lingyi/:qiwenyishi" :paramsDesc="['分类']">
<Route author="sanmmm" example="/lingyi/qiwenyishi" path="/lingyi/:qiwenyishi" :paramsDesc="['分类']">
| 编辑推荐 | 奇闻异事 | 鬼话连篇 |
| ------- | ---------- | -------------- |
+1 -1
View File
@@ -185,7 +185,7 @@ pageClass: routes
### 分类
<Route author="nitezs" example="/dayanzai/windows" path="/dayanzai/:category/:fulltext?" :paramsDesc="['分类','是否获取全文,需要获取则传入参数`y`']" radar="1">
<Route author="nitezs" example="/dayanzai/windows" path="/dayanzai/:category/:fulltext?" :paramsDesc="['分类','是否获取全文,需要获取则传入参数`y`']" radar="1">
| 微软应用 | 安卓应用 | 教程资源 | 其他资源 |
| ------- | ------- | -------- | ----- |
+1 -1
View File
@@ -82,7 +82,7 @@ Behance 用户主页 URL 获取用户名,如 <https://www.behance.net/mishapet
::: warning 注意
需要设置 API key,所以只能自建,详情见[ 部署页面 ](https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi)的配置模块。
需要设置 API key,所以只能自建,详情见[部署页面](https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi)的配置模块。
:::
+1 -1
View File
@@ -86,7 +86,7 @@ Article types:
<RouteEn author="machsix" path="/webtoons/:lang/:category/:name/:id" example="/webtoons/zh-hant/drama/gongzhuweimian/894" :paramsDesc="['Language','Category','Name','ID']"/>
For example: https://www.webtoons.com/zh-hant/drama/gongzhuweimian/list?title_no=894, `lang=zh-hant`,`category=drama`,`name=gongzhucheyeweimian`,`id=894`.
For example: <https://www.webtoons.com/zh-hant/drama/gongzhuweimian/list?title_no=894>, `lang=zh-hant`,`category=drama`,`name=gongzhucheyeweimian`,`id=894`.
### [Naver](https://comic.naver.com)
+2 -2
View File
@@ -1,4 +1,4 @@
## API
# API
::: warning Warning
The API is under active development and is subject to change. All suggestions are welcome!
@@ -6,7 +6,7 @@ The API is under active development and is subject to change. All suggestions ar
RSSHub provides the following APIs:
### List of Public Routes
## List of Public Routes
::: tip Tip
This API **will not** return any routes under `lib/protected_router.js`.
+1 -1
View File
@@ -9,7 +9,7 @@ pageClass: routes
### Report
<RouteEn author="cxumol" example="/outagereport/ubisoft/5" path="/outagereport/:name/:count?" :paramsDesc="['Service name, spelling format must be consistent with URL', 'Counting threshold, will only be written in RSS if the number of people who report to stop serving is not less than this number']">
Please skip the local service area code for `name`, for example `https://outage.report/us/verizon-wireless` to `verizon-wireless`.
</RouteEn>
+9 -9
View File
@@ -9,17 +9,17 @@ RSSHub provides a painless deployment process if you are equipped with basic pro
The deployment may involve the followings:
1. Command line interface
1. [Git](https://git-scm.com/)
1. [Node.js](https://nodejs.org/)
1. [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/zh-Hans/docs/install)
2. [Git](https://git-scm.com/)
3. [Node.js](https://nodejs.org/)
4. [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/zh-Hans/docs/install)
Deploy for public access may require:
1. [Nginx](https://www.nginx.com/resources/wiki/start/topics/tutorials/install/)
1. [Docker](https://www.docker.com/get-started) or [docker-compose](https://docs.docker.com/compose/install/)
1. [Redis](https://redis.io/download)
1. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
1. [Google App Engine](https://cloud.google.com/appengine/)
2. [Docker](https://www.docker.com/get-started) or [docker-compose](https://docs.docker.com/compose/install/)
3. [Redis](https://redis.io/download)
4. [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
5. [Google App Engine](https://cloud.google.com/appengine/)
## Docker Image
@@ -283,7 +283,7 @@ in pkgs.stdenv.mkDerivation {
## Deploy to Heroku
### Notice:
### Notice
Heroku accounts with unverified payment methods have only 550 hours of credit per month (about 23 days), and up to 1,000 hours per month with verified payment methods.
@@ -468,7 +468,7 @@ resolved by the SOCKS server, recommanded, prevents DNS poisoning or DNS leak),
Routes in `protected_route.js` will be protected using HTTP Basic Authentication.
When adding feeds using RSS readers with HTTP Basic Authentication support, authentication information is required, eg: https://usernam3:passw0rd@rsshub.app/protected/rsshub/routes.
When adding feeds using RSS readers with HTTP Basic Authentication support, authentication information is required, eg: <https://usernam3:passw0rd@rsshub.app/protected/rsshub/routes>.
For readers that do not support HTTP Basic authentication, please refer to [Access Control Configuration](#access-control-configuration).
+3 -2
View File
@@ -58,8 +58,11 @@ Fill in parameter `query` with content after `http://export.arxiv.org/api/query?
### Essays
<RouteEn author="Fatpandac" example="/caareviews/essay" path="/caareviews/essay"/>
## Cell Journal
### Current Issue
<RouteEn author="yech1990" example="/cell/cell/current" path="/cell/cell/:category" supportScihub="1" />
| `:category` | Query Type | Route |
@@ -173,8 +176,6 @@ New items may always at the end of the list, when the number of paper entries is
<RouteEn author="laampui" example="/technologyreview/humans-and-technology" path="/technologyreview/:category_name" :paramsDesc="['see below']" />
| `:category_name` | Route |
| -------- | ----- |
| humans-and-technology | /technologyreview/humans-and-technology |
+1 -2
View File
@@ -55,7 +55,6 @@ Parameter `time` only works when `mostwanted` is chosen as the category.
> the `xxx` in `/search/xxx` is the search type, just refer to the original search url.
> The query string is the actual name of query, in this case is folding bike
## Guiltfree.pl
### Onsale
@@ -96,7 +95,7 @@ Transform any search into a feed.
<RouteEn author="Platane" example="/leboncoin/ad/category=10&locations=Paris_75015" path="/leboncoin/ad/:query" :paramsDesc="['search page querystring']">
For instance, in https://www.leboncoin.fr/recherche/?**category=10&locations=Paris_75015**, the query is **category=10&locations=Paris_75015**
For instance, in <https://www.leboncoin.fr/recherche/?category=10&locations=Paris_75015>, the query is **category=10&locations=Paris_75015**
</RouteEn>
+3 -3
View File
@@ -42,8 +42,8 @@ pageClass: routes
Type
| artwork | crafts | music | writing |
| ---- | ---- | ---- | ---- |
| artwork | crafts | music | writing |
| ---- | ---- | ---- | ---- |
| artwork | crafts | music | writing |
</RouteEn>
@@ -72,7 +72,7 @@ Type
<RouteEn author="TigerCubDen" example="/furaffinity/watchers/malikshadowclaw" path="/furaffinity/watchers/:username" :paramsDesc="['Username, can find in userpage']" radar="1"/>
### User's Commission Information
### User's Commission Information
<RouteEn author="TigerCubDen" example="/furaffinity/commissions/flashlioness" path="/furaffinity/commissions/:username" :paramsDesc="['Username, can find in userpage']" radar="1"/>
+14 -15
View File
@@ -236,11 +236,11 @@ Only `s00017` is in English.
<RouteEn author="TonyRL" example="/nhk/news/en" path="/nhk/news/:lang?" :paramsDesc="['Language, see below, `en` by default']" radar="1" rssbud="1">
| العربية | বাংলা | မြန်မာဘာသာစကား | 中文(简体) | 中文(繁體) | English | Français |
| ------- | ----- | -------------- | ------ | ------ | ------- | -------- |
| ar | bn | my | zh | zt | en | fr |
| ------- | ----- | -------------- | ------ | ------ | ------- | -------- |
| ar | bn | my | zh | zt | en | fr |
| हिन्दी | Bahasa Indonesia | 코리언 | فارسی | Português | Русский | Español |
| ------ | ---------------- | --- | ----- | --------- | ------- | ------- |
| ------ | ---------------- | --- | ----- | --------- | ------- | ------- |
| hi | id | ko | fa | pt | ru | es |
| Kiswahili | ภาษาไทย | Türkçe | Українська | اردو | Tiếng Việt |
@@ -267,7 +267,7 @@ Only `s00017` is in English.
<RouteEn author="zphw" example="/rfa/english" path="/rfa/:language?/:channel?/:subChannel?" :paramsDesc="['language, English by default', 'channel', 'subchannel, where applicable']" />
Delivers a better experience by supporting parameter specification.
Delivers a better experience by supporting parameter specification.
Parameters can be obtained from the official website, for instance:
@@ -480,7 +480,7 @@ Language
<RouteEn author="nczitzk" example="/economist/download" path="/economist/download" >
The download site: http://www.cgx02.xyz/index.php?dir=/te
The download site: <http://www.cgx02.xyz/index.php?dir=/te>
</RouteEn>
@@ -522,22 +522,21 @@ Provides all of the articles by the specified New York Times author.
### Best Seller Books
<RouteEn author="melvinto" example="/nytimes/book/combined-print-and-e-book-nonfiction" path="/nytimes/book/:category?"/>
| Category |
| -------- |
| Category |
| -------- |
| combined-print-and-e-book-nonfiction |
| hardcover-nonfiction|
| paperback-nonfiction|
| advice-how-to-and-miscellaneous|
| hardcover-nonfiction|
| paperback-nonfiction|
| advice-how-to-and-miscellaneous|
| combined-print-and-e-book-fiction|
| hardcover-fiction|
| trade-fiction-paperback|
| childrens-middle-grade-hardcover|
| trade-fiction-paperback|
| childrens-middle-grade-hardcover|
| picture-books|
| series-books|
| young-adult-hardcover|
| young-adult-hardcover|
## The Wall Street Journal (WSJ)
@@ -577,7 +576,7 @@ Provides all of the articles by the specified Yahoo! author.
</RouteEn>
## Yomiuri Shimbun 読売新聞
## Yomiuri Shimbun 読売新聞
### News
+1 -1
View File
@@ -110,7 +110,7 @@ Rated 对象
## Codeforces
#### 最新比赛
### 最新比赛
<Route author="Fatpandac" example="/codeforces/contests" path="/codeforces/contests"/>
+1 -1
View File
@@ -1280,7 +1280,7 @@ rule
### 个人时间线
<Route author="zytomorrow DIYgod Rongronggg9" example="/weibo/timeline/3306934123" path="/weibo/timeline/:uid/:feature?/:routeParams?" :paramsDesc="['用户的uid', ' 过滤类型ID,0:全部、1:原创、2:图片、3:视频、4:音乐,默认为0。', '额外参数;请参阅上面的说明和表格']" anticrawler="1" selfhost="1">
<Route author="zytomorrow DIYgod Rongronggg9" example="/weibo/timeline/3306934123" path="/weibo/timeline/:uid/:feature?/:routeParams?" :paramsDesc="['用户的uid', '过滤类型ID,0:全部、1:原创、2:图片、3:视频、4:音乐,默认为0。', '额外参数;请参阅上面的说明和表格']" anticrawler="1" selfhost="1">
::: warning 注意
+1 -1
View File
@@ -2265,7 +2265,7 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS
## 深圳大学
#### 深圳大学研究生招生网通知公告
### 深圳大学研究生招生网通知公告
<Route author="sushengmao" example="/szuyjs" path="/szuyjs" />