Commit Graph

144 Commits

Author SHA1 Message Date
Anduin Xue d04c2554c4 Fix lint issues. 2022-11-03 12:16:51 +00:00
Anduin Xue d1ea7868e7 修正一下lint的提示信息。 2022-05-28 20:35:51 +08:00
Marcus 29c4b3a00b
白灼菜心 (#1017)
* 白灼菜心

* modify  Unordered list style

* modify by lint

* 增加附加内容

* 放到素材里面

* 放到素菜里面

* 附加内容修改

* 附加内容修改加个句...
2022-05-28 20:33:58 +08: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 5e2b9751e1 不再允许使用杯子作为单位,因为 杯 不精准。 2022-05-08 14:15:26 +08:00
Anduin Xue 322966b732 禁止出现 '我' 这类人称代词和偏主观的特定人的认知 2022-04-13 17:18:31 +08:00
Anduin Xue 92cc356eb4
Update readme_template.md 2022-04-11 03:27:56 +08:00
Anduin Xue 9c54d9031f 如果引用了份数,必须标注总量。 2022-04-06 14:27:05 +08:00
Anduin Xue f35d03a71d Fix lint message. 2022-04-06 13:53:40 +08:00
Anduin Xue b394f60226 与人数解耦。 2022-04-06 13:52:29 +08:00
Anduin Xue 3de68a7edf
黄焖鸡把这个文件给改坏了 2022-03-31 19:32:40 +08:00
zx 1ac5739675 黄焖鸡 2022-03-29 20:42:05 +08:00
Anduin Xue 75850d3c1d 调整一些提示语。 2022-03-27 17:18:31 +08:00
Anduin Xue 0fde0a5dc9 删除所有“少许” 2022-03-23 18:53:00 +08:00
Anduin Xue 07ae9400eb 修改 Pull request 模板 2022-03-22 17:26:54 +08:00
Anduin Xue c3d25afb54 Simplify pull request template. 2022-03-22 17:20:05 +08:00
Anduin Xue 1d372f6519 将 min 改成分钟 2022-03-21 03:26:23 +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 94ce8a7537 修正所有勺子的问题。 2022-03-21 02:49:02 +08:00
Anduin Xue 6ef74e790b 修正戚风蛋糕里一行太长的问题。 2022-03-21 02:36:57 +08:00
Anduin Xue 71b6f773b5 中文 lint 信息,方便贡献者审查。 2022-03-21 02:35:53 +08:00
Anduin Xue 1034439fd9 删除所有的左右。 2022-03-21 02:28:18 +08:00
Anduin Xue 6d5668bcbd 删除所有适量。 2022-03-21 02:14:45 +08:00
Anduin Xue 0aeb4bedaf lint 勺 2022-03-15 13:44:53 +08:00
Anduin Xue ee12db9d71 Fix more lint. 2022-03-13 14:09:46 +08:00
Anduin Xue 47c562ede0 Use modern js. 2022-03-12 15:07:08 +08:00
Anduin Xue b249df296b Better lint js. 2022-03-12 14:42:14 +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 58fa2e419c Read template from file. 2022-03-07 03:28:45 +08:00
Anduin Xue 1475e77536 Add code of conduct to website. 2022-03-07 03:11:28 +08:00
Anduin Xue 9bb4f38092 Add npm. 2022-03-05 01:50:24 +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 8773dd6f67 Display deploy as badge. 2022-03-05 00:31:00 +08:00
Anduin Xue 3626b6f403 Checkout with PAT. 2022-03-05 00:29:01 +08:00
Anduin Xue e18308a735 将水产作为一个独立的分类 2022-03-05 00:19:54 +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 ed4ee8966c Merge branch 'master' of github.com:Anduin2017/HowToCook 2022-03-04 23:49:14 +08:00
Anduin Xue 1dbaaec6a9 rename actions. 2022-03-04 23:49:00 +08:00
Xing Yahao 6503f65a5e [ci] Auto generation add mkdocs support 2022-03-04 22:23:17 +09:00
Anduin Xue a7bd4a6351 删除过时的通知。 2022-03-04 01:23:51 +08:00
Anduin Xue 6b3f868151 修正更多lint问题。 2022-03-04 00:53:24 +08:00
Anduin Xue ea6dbb12eb Change readme generate template. 2022-03-04 00:39:06 +08:00
Anduin Xue 80463f0b22 Real markdown lint. 2022-03-04 00:36:07 +08:00
Waki 1f7aff1ecd
根据action日志抓虫子 2022-03-03 23:40:42 +08:00
Anduin Xue 165175f769 修正一些readme生成的错误。 2022-03-03 18:01:51 +08:00
Waki 08e79b626b
Update readme-generate.js 2022-03-02 08:11:42 +08:00
Waki baadb29d2b
Update readme-generate.js 2022-03-02 08:08:33 +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
Xing Yahao 23f01d6ddd [ci] Add stale issue pr close bot 2022-02-27 15:51:37 +09:00
Anduin Xue 6dbe1cf617
Update readme-generate.yml 2022-02-27 13:59:48 +08:00
Xing Yahao e10701dced add new category 2022-02-26 20:56:53 +09: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
Anduin Xue a6d05fada4
Update pull_request_template.md 2022-02-23 15:16:04 +08:00
Anduin Xue 8a6d789f5a
Update pull_request_template.md 2022-02-22 20:50:51 +08:00
Anduin Xue cf2c036d2c
对发出PR的人提出警告:菜谱使用了Unlicense协议,避免签入有版权的内容。 2022-02-22 20:48:17 +08:00
Anduin Xue 9c2d725858
Update pull_request_template.md 2022-02-22 20:28:04 +08:00
Anduin Xue adc20f175a
简化PR模板 2022-02-22 16:50:13 +08:00
Yisi Liu 2a95e1dbaa feat: add pull request template 2022-02-22 14:34:00 +08: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
bsdelf 3a9e7d70c5 Create ci.yml 2022-01-04 12:18:41 +08:00