Commit Graph

131 Commits

Author SHA1 Message Date
Anduin Xue 872485b6cd 调整一些提示语。 2022-03-27 17:18:31 +08:00
Anduin Xue f2643bac58 删除所有“少许” 2022-03-23 18:53:00 +08:00
Anduin Xue 2b1cf1bf06 修改 Pull request 模板 2022-03-22 17:26:54 +08:00
Anduin Xue 967bbf16f4 Simplify pull request template. 2022-03-22 17:20:05 +08:00
Anduin Xue c0a2c09cb9 将 min 改成分钟 2022-03-21 03:26:23 +08:00
Anduin Xue 01355c1787 删除github comment 功能,因为看起来不支持。。。 2022-03-21 03:22:07 +08:00
Anduin Xue 8cd7b79bcc Better CI interaction. 2022-03-21 03:13:13 +08:00
Anduin Xue 63d9bbffa9 More messages. 2022-03-21 03:05:58 +08:00
Anduin Xue 9d8e5dbcfb Fix comment. 2022-03-21 03:04:57 +08:00
Anduin Xue 78b66aa9b7 修正comment信息。 2022-03-21 02:59:51 +08:00
Anduin Xue 10c683a746 Comment failure action. 2022-03-21 02:56:27 +08:00
Anduin Xue 90db1ffffd 修正所有勺子的问题。 2022-03-21 02:49:02 +08:00
Anduin Xue 2f1326f62c 修正戚风蛋糕里一行太长的问题。 2022-03-21 02:36:57 +08:00
Anduin Xue 9fd1ddc091 中文 lint 信息,方便贡献者审查。 2022-03-21 02:35:53 +08:00
Anduin Xue 5cac295bf2 删除所有的左右。 2022-03-21 02:28:18 +08:00
Anduin Xue 8b21c81213 删除所有适量。 2022-03-21 02:14:45 +08:00
Anduin Xue 71d5669ef7 lint 勺 2022-03-15 13:44:53 +08:00
Anduin Xue ab5122095a Fix more lint. 2022-03-13 14:09:46 +08:00
Anduin Xue a5bff28663 Use modern js. 2022-03-12 15:07:08 +08:00
Anduin Xue 8ccf997b7e Better lint js. 2022-03-12 14:42:14 +08:00
Anduin Xue 27964df913 Run npm install. 2022-03-12 14:38:20 +08:00
Anduin Xue 2934ef7b5d Checkout before npm install. 2022-03-12 14:36:27 +08:00
Anduin Xue 774420ed63 New lint CI. Fix some issues. 2022-03-12 14:34:23 +08:00
Anduin Xue caa5383e46 Read template from file. 2022-03-07 03:28:45 +08:00
Anduin Xue 0ce69090a0 Add code of conduct to website. 2022-03-07 03:11:28 +08:00
Anduin Xue 74ea0a36e1 Add npm. 2022-03-05 01:50:24 +08:00
Anduin Xue 574c532cea Build before lint. 2022-03-05 01:31:49 +08:00
Anduin Xue d662d8e293 Lint before npm install. 2022-03-05 01:20:47 +08:00
Anduin Xue d69b3f3696 更新更多贡献细节。build时必须lint通过。 2022-03-05 01:17:47 +08:00
Anduin Xue c7ff9b4eb6 Try to manually build it with strict. 2022-03-05 00:52:54 +08:00
Anduin Xue c34ada0459 Fix ci issue. 2022-03-05 00:45:01 +08:00
Anduin Xue 70be27b97e CI will check mkdocs build. 2022-03-05 00:43:02 +08:00
Anduin Xue 3763e79595 Also commit the generated mk file. 2022-03-05 00:36:13 +08:00
Anduin Xue 8c0cd31317 Display deploy as badge. 2022-03-05 00:31:00 +08:00
Anduin Xue e6b0d9021e Checkout with PAT. 2022-03-05 00:29:01 +08:00
Anduin Xue 8c98ada408 将水产作为一个独立的分类 2022-03-05 00:19:54 +08:00
Anduin Xue 4b108ef96f Rename ci job to markdown-lint. 2022-03-05 00:06:56 +08:00
Anduin Xue 99f1739343 Rename back. 2022-03-05 00:03:12 +08:00
Anduin Xue 1df945345d Rename again. 2022-03-05 00:00:38 +08:00
Anduin Xue 9df5b25c7c Change ci yml 2022-03-04 23:58:29 +08:00
Anduin Xue bc9923f96f Merge branch 'master' of github.com:Anduin2017/HowToCook 2022-03-04 23:49:14 +08:00
Anduin Xue 734b1dfa09 rename actions. 2022-03-04 23:49:00 +08:00
Xing Yahao e572d32b56 [ci] Auto generation add mkdocs support 2022-03-04 22:23:17 +09:00
Anduin Xue 1f88ad9ed2 删除过时的通知。 2022-03-04 01:23:51 +08:00
Anduin Xue 4310ef4a99 修正更多lint问题。 2022-03-04 00:53:24 +08:00
Anduin Xue 19fd6871ae Change readme generate template. 2022-03-04 00:39:06 +08:00
Anduin Xue 123d10b167 Real markdown lint. 2022-03-04 00:36:07 +08:00
Waki 6ab50fe524
根据action日志抓虫子 2022-03-03 23:40:42 +08:00
Anduin Xue 463a2750df 修正一些readme生成的错误。 2022-03-03 18:01:51 +08:00
Waki f968d66cbd
Update readme-generate.js 2022-03-02 08:11:42 +08:00
Waki 2aee054d2f
Update readme-generate.js 2022-03-02 08:08:33 +08:00
Anduin Xue ef18f97dc7 Use a new approach to generate cname. 2022-03-01 15:27:58 +08:00
Anduin Xue 2d0fae5963
Update build.yml 2022-03-01 15:15:52 +08:00
Anduin Xue 0bd82de343 Try to mitigate a build issue. 2022-03-01 02:16:57 +08:00
Anduin Xue 60d452a46f Better built doc. 2022-03-01 02:11:59 +08:00
Anduin Xue 4ab400f6de Refactor mkdocs publish. 2022-03-01 01:45:53 +08:00
Anduin Xue cff130eec4 Unify steps. 2022-03-01 01:42:13 +08:00
Anduin Xue 46dbf5632d Fix a yml issue. 2022-03-01 01:36:11 +08:00
Anduin Xue 3dd9bb52de Try to auto build pages. 2022-03-01 01:33:48 +08:00
Anduin Xue 768db615ed Unify jobs as build 2022-03-01 01:04:07 +08:00
Anduin Xue e0462b9fa3
Update textlint.yml 2022-02-28 11:58:06 +08:00
Xing Yahao eeed28f5d6 [ci] Add stale issue pr close bot 2022-02-27 15:51:37 +09:00
Anduin Xue d94a2c1f87
Update readme-generate.yml 2022-02-27 13:59:48 +08:00
Xing Yahao 63a9cdc0ad add new category 2022-02-26 20:56:53 +09:00
Xing Yahao 7d1734ad97 update ci related 2022-02-26 19:31:36 +09:00
Xing Yahao b42904a7e8 use current branch 2022-02-26 19:11:36 +09:00
Xing Yahao 72caa1a86e fix ci 2022-02-26 19:08:05 +09:00
Xing Yahao 87d9e3c076 [ci] Create readme auto generator 2022-02-26 19:05:53 +09:00
Anduin Xue 1ebc98e4cb
Update pull_request_template.md 2022-02-23 15:16:04 +08:00
Anduin Xue fab857a483
Update pull_request_template.md 2022-02-22 20:50:51 +08:00
Anduin Xue eb10651940
对发出PR的人提出警告:菜谱使用了Unlicense协议,避免签入有版权的内容。 2022-02-22 20:48:17 +08:00
Anduin Xue 3db3b9d64f
Update pull_request_template.md 2022-02-22 20:28:04 +08:00
Anduin Xue 29a52be8d5
简化PR模板 2022-02-22 16:50:13 +08:00
Yisi Liu 5941f8babc feat: add pull request template 2022-02-22 14:34:00 +08:00
Recolic Keghart 00000000e8 Enhance contributing guide. "& 2022-02-19 18:59:08 +08:00
Bobby Rong 0e2aa9e3f6
Merge pull request #91 from Anduin2017/Anduin2017-patch-1
Suppress MD024
2022-02-19 14:42:05 +08:00
Anduin Xue cabfe0bda3
Update ci.yml 2022-02-19 14:32:15 +08:00
Bobby Rong f0ba452c85
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 c417787dc0
Suppress MD024 2022-02-19 00:33:25 +08:00
Bobby Rong 8613b265d5
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
bsdelf adade3392f Create ci.yml 2022-01-04 12:18:41 +08:00