From 1f0b897d5e749ca5bb09281c3f662e41b126b1a8 Mon Sep 17 00:00:00 2001 From: TonyRL Date: Mon, 13 Jun 2022 16:35:36 +0000 Subject: [PATCH] style: format docs --- docs/api.md | 2 +- docs/bbs.md | 8 ++++---- docs/blog.md | 2 +- docs/design.md | 2 +- docs/en/anime.md | 2 +- docs/en/api.md | 4 ++-- docs/en/forecast.md | 2 +- docs/en/install/README.md | 18 +++++++++--------- docs/en/journal.md | 5 +++-- docs/en/shopping.md | 3 +-- docs/en/social-media.md | 6 +++--- docs/en/traditional-media.md | 29 ++++++++++++++--------------- docs/programming.md | 2 +- docs/social-media.md | 2 +- docs/university.md | 2 +- 15 files changed, 44 insertions(+), 45 deletions(-) diff --git a/docs/api.md b/docs/api.md index 11eeebcfa..5263657c0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -6,7 +6,7 @@ API 仍处于开发状态中, 并可能会有改动。欢迎提供建议! RSSHub 提供下列 API: -### 可用公共路由列表 +## 可用公共路由列表 ::: tip 提示 `protected_router.js`下的路由**不会被**包含在此 API 返回的结果当中. diff --git a/docs/bbs.md b/docs/bbs.md index e60f9cbe6..129170152 100644 --- a/docs/bbs.md +++ b/docs/bbs.md @@ -260,7 +260,7 @@ pageClass: routes ### AV - + | 全部文章 | AV 新聞 | AV 導覽 | | ---- | ----- | ----- | @@ -270,7 +270,7 @@ pageClass: routes ### 情趣 - + | 全部文章 | 情趣體驗報告 | 情趣新聞 | 情趣研究所 | | ---- | ---------- | ---- | -------- | @@ -740,7 +740,7 @@ pageClass: routes ### 社区 - + | 最新回复 | 最新发布 | 热门 | 精华 | | ------ | ---- | --- | ------- | @@ -985,7 +985,7 @@ pageClass: routes ### 分类 - + | 编辑推荐 | 奇闻异事 | 鬼话连篇 | | ------- | ---------- | -------------- | diff --git a/docs/blog.md b/docs/blog.md index 7f0b50ba3..c53efe012 100644 --- a/docs/blog.md +++ b/docs/blog.md @@ -185,7 +185,7 @@ pageClass: routes ### 分类 - + | 微软应用 | 安卓应用 | 教程资源 | 其他资源 | | ------- | ------- | -------- | ----- | diff --git a/docs/design.md b/docs/design.md index b0af1f6ed..61195acd6 100644 --- a/docs/design.md +++ b/docs/design.md @@ -82,7 +82,7 @@ Behance 用户主页 URL 获取用户名,如 -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: , `lang=zh-hant`,`category=drama`,`name=gongzhucheyeweimian`,`id=894`. ### [Naver](https://comic.naver.com) diff --git a/docs/en/api.md b/docs/en/api.md index acf95f470..ec91e1fe0 100644 --- a/docs/en/api.md +++ b/docs/en/api.md @@ -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`. diff --git a/docs/en/forecast.md b/docs/en/forecast.md index afa71de8d..ed2e1e422 100644 --- a/docs/en/forecast.md +++ b/docs/en/forecast.md @@ -9,7 +9,7 @@ pageClass: routes ### Report - + Please skip the local service area code for `name`, for example `https://outage.report/us/verizon-wireless` to `verizon-wireless`. diff --git a/docs/en/install/README.md b/docs/en/install/README.md index 14dea8653..59f9d8677 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -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: . For readers that do not support HTTP Basic authentication, please refer to [Access Control Configuration](#access-control-configuration). diff --git a/docs/en/journal.md b/docs/en/journal.md index 842edd85d..d8a067787 100644 --- a/docs/en/journal.md +++ b/docs/en/journal.md @@ -58,8 +58,11 @@ Fill in parameter `query` with content after `http://export.arxiv.org/api/query? ### Essays + ## Cell Journal +### Current Issue + | `: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 - - | `:category_name` | Route | | -------- | ----- | | humans-and-technology | /technologyreview/humans-and-technology | diff --git a/docs/en/shopping.md b/docs/en/shopping.md index 390ce0e59..91ddf41df 100644 --- a/docs/en/shopping.md +++ b/docs/en/shopping.md @@ -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. -For instance, in https://www.leboncoin.fr/recherche/?**category=10&locations=Paris_75015**, the query is **category=10&locations=Paris_75015** +For instance, in , the query is **category=10&locations=Paris_75015** diff --git a/docs/en/social-media.md b/docs/en/social-media.md index fccc7da8e..f636791d0 100644 --- a/docs/en/social-media.md +++ b/docs/en/social-media.md @@ -42,8 +42,8 @@ pageClass: routes Type -| artwork | crafts | music | writing | -| ---- | ---- | ---- | ---- | +| artwork | crafts | music | writing | +| ---- | ---- | ---- | ---- | | artwork | crafts | music | writing | @@ -72,7 +72,7 @@ Type -### User's Commission Information +### User's Commission Information diff --git a/docs/en/traditional-media.md b/docs/en/traditional-media.md index 7155fcda6..15d7d8b01 100644 --- a/docs/en/traditional-media.md +++ b/docs/en/traditional-media.md @@ -236,11 +236,11 @@ Only `s00017` is in English. | العربية | বাংলা | မြန်မာဘာသာစကား | 中文(简体) | 中文(繁體) | 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. -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 -The download site: http://www.cgx02.xyz/index.php?dir=/te +The download site: @@ -522,22 +522,21 @@ Provides all of the articles by the specified New York Times author. ### Best Seller Books - -| 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. -## Yomiuri Shimbun 読売新聞 +## Yomiuri Shimbun 読売新聞 ### News diff --git a/docs/programming.md b/docs/programming.md index 6192e5381..ce064a9e7 100644 --- a/docs/programming.md +++ b/docs/programming.md @@ -110,7 +110,7 @@ Rated 对象 ## Codeforces -#### 最新比赛 +### 最新比赛 diff --git a/docs/social-media.md b/docs/social-media.md index 550209066..02bbbeb2c 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -1280,7 +1280,7 @@ rule ### 个人时间线 - + ::: warning 注意 diff --git a/docs/university.md b/docs/university.md index 63f9df7b8..aece45dcb 100644 --- a/docs/university.md +++ b/docs/university.md @@ -2265,7 +2265,7 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS ## 深圳大学 -#### 深圳大学研究生招生网通知公告 +### 深圳大学研究生招生网通知公告