Commit Graph

51 Commits

Author SHA1 Message Date
Anduin Xue
78031210eb 统一 markdown lint时不采用的规则为 ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007 2022-11-03 12:22:26 +00:00
Anduin Xue
fd3d43d4c8 Fix CI. 2022-11-03 12:18:45 +00:00
Anduin Xue
d04c2554c4 Fix lint issues. 2022-11-03 12:16:51 +00:00
Anduin Xue
ec7d7b62a8 Update build.yml 2022-05-13 01:09:13 +08:00
Anduin Xue
742736e18f Suppress MD013. Fix #989 2022-05-11 12:33:20 +08:00
Anduin Xue
fc670aab17 删除github comment 功能,因为看起来不支持。。。 2022-03-21 03:22:07 +08:00
Anduin Xue
8de0c58bf0 Better CI interaction. 2022-03-21 03:13:13 +08:00
Anduin Xue
b64cbc5815 More messages. 2022-03-21 03:05:58 +08:00
Anduin Xue
d6c3417f36 Fix comment. 2022-03-21 03:04:57 +08:00
Anduin Xue
04e7fed0ea 修正comment信息。 2022-03-21 02:59:51 +08:00
Anduin Xue
ba8c293271 Comment failure action. 2022-03-21 02:56:27 +08:00
Anduin Xue
ed25a0820e Run npm install. 2022-03-12 14:38:20 +08:00
Anduin Xue
4654b8c378 Checkout before npm install. 2022-03-12 14:36:27 +08:00
Anduin Xue
62f11a87e7 New lint CI. Fix some issues. 2022-03-12 14:34:23 +08:00
Anduin Xue
9c5940eced Build before lint. 2022-03-05 01:31:49 +08:00
Anduin Xue
cdda71949d Lint before npm install. 2022-03-05 01:20:47 +08:00
Anduin Xue
e72d411554 更新更多贡献细节。build时必须lint通过。 2022-03-05 01:17:47 +08:00
Anduin Xue
f2c5a7438c Try to manually build it with strict. 2022-03-05 00:52:54 +08:00
Anduin Xue
c4ea9876f6 Fix ci issue. 2022-03-05 00:45:01 +08:00
Anduin Xue
10dd630101 CI will check mkdocs build. 2022-03-05 00:43:02 +08:00
Anduin Xue
05599cd0d7 Also commit the generated mk file. 2022-03-05 00:36:13 +08:00
Anduin Xue
3626b6f403 Checkout with PAT. 2022-03-05 00:29:01 +08:00
Anduin Xue
0b9669c34c Rename ci job to markdown-lint. 2022-03-05 00:06:56 +08:00
Anduin Xue
faa4be73d1 Rename back. 2022-03-05 00:03:12 +08:00
Anduin Xue
b133fae817 Rename again. 2022-03-05 00:00:38 +08:00
Anduin Xue
0a0ffa83f3 Change ci yml 2022-03-04 23:58:29 +08:00
Anduin Xue
1dbaaec6a9 rename actions. 2022-03-04 23:49:00 +08:00
Anduin Xue
6b3f868151 修正更多lint问题。 2022-03-04 00:53:24 +08:00
Anduin Xue
80463f0b22 Real markdown lint. 2022-03-04 00:36:07 +08:00
Anduin Xue
147cfb7553 Use a new approach to generate cname. 2022-03-01 15:27:58 +08:00
Anduin Xue
0c2894f03c Update build.yml 2022-03-01 15:15:52 +08:00
Anduin Xue
978e58b863 Try to mitigate a build issue. 2022-03-01 02:16:57 +08:00
Anduin Xue
7d878de97e Better built doc. 2022-03-01 02:11:59 +08:00
Anduin Xue
e4e5ad84ce Refactor mkdocs publish. 2022-03-01 01:45:53 +08:00
Anduin Xue
cd7fc42114 Unify steps. 2022-03-01 01:42:13 +08:00
Anduin Xue
3967d84e3f Fix a yml issue. 2022-03-01 01:36:11 +08:00
Anduin Xue
3399877ba4 Try to auto build pages. 2022-03-01 01:33:48 +08:00
Anduin Xue
ce63e712ce Unify jobs as build 2022-03-01 01:04:07 +08:00
Anduin Xue
d8117d54d7 Update textlint.yml 2022-02-28 11:58:06 +08:00
Anduin Xue
6dbe1cf617 Update readme-generate.yml 2022-02-27 13:59:48 +08:00
Xing Yahao
0bcb6a3dd7 update ci related 2022-02-26 19:31:36 +09:00
Xing Yahao
8c13d224ec use current branch 2022-02-26 19:11:36 +09:00
Xing Yahao
0b912618e3 fix ci 2022-02-26 19:08:05 +09:00
Xing Yahao
9ce0cac337 [ci] Create readme auto generator 2022-02-26 19:05:53 +09:00
Recolic Keghart
fae5a2010a Enhance contributing guide. "& 2022-02-19 18:59:08 +08:00
Bobby Rong
fabd741cbb Merge pull request #91 from Anduin2017/Anduin2017-patch-1
Suppress MD024
2022-02-19 14:42:05 +08:00
Anduin Xue
40a7d02a0d Update ci.yml 2022-02-19 14:32:15 +08:00
Bobby Rong
5647b5421b CI: add textlint
Instead of requesting changes in every pull requests and block them from merging,
we are trying to automate the process of adding missing spaces between half and
full-width characters using GitHub Actions.

The main idea is:

- Only run the workflow in the main repository (instead of other forks).
- Try to fix all files using textlint.
- Only commit files with .md extension.
- Directly push the change to the master branch.

Related projects:

- https://github.com/textlint/textlint
- https://github.com/textlint-ja/textlint-rule-preset-ja-spacing
- https://github.com/sparanoid/chinese-copywriting-guidelines

Related discussions:

- https://github.com/Anduin2017/HowToCook/pull/88
2022-02-19 14:21:45 +08:00
Anduin Xue
7c695155bf Suppress MD024 2022-02-19 00:33:25 +08:00
Bobby Rong
3a47ae8c8a lint: skip MD029 and MD036
Skipping:

* MD029 Ordered list item prefix
* MD036 Emphasis used instead of a header

These rules are not fully applied to this repository yet and
further discussion is probably needed on how to deal with them.

Example markdownlint run:

* https://github.com/Anduin2017/HowToCook/runs/5226805159
2022-02-17 12:09:19 +08:00