[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(lint): import Chinese copywriting autocorrect linter #6568

Merged
merged 23 commits into from
Mar 24, 2022

Conversation

kwanhur
Copy link
Contributor
@kwanhur kwanhur commented Mar 10, 2022

What this PR does / why we need it:

  • add Chinese copywriting lint job
  • autocorrect fix docs/zh/latest/**/*.md
  • fix CHANGELOG.md conflict between markdownlint and autocorrect
  • add tools usage for linting in CONTRIBUTING.md

#6528

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

* add Chinese copywriting lint job
* autocorrect fix docs/zh/latest/**/*.md
* fix CHANGELOG.md conflict between markdownlint and autocorrect

Signed-off-by: kwanhur <huang_hua2012@163.com>
@kwanhur kwanhur marked this pull request as ready for review March 12, 2022 10:01
Copy link
Member
@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

.github/workflows/doc-lint.yml Show resolved Hide resolved
docs/zh/latest/plugins/gzip.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/proxy-control.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/real-ip.md Outdated Show resolved Hide resolved
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
@juzhiyuan juzhiyuan requested a review from yzeng25 March 17, 2022 02:54
docs/zh/latest/README.md Outdated Show resolved Hide resolved
docs/zh/latest/README.md Outdated Show resolved Hide resolved
docs/zh/latest/README.md Outdated Show resolved Hide resolved
docs/zh/latest/README.md Outdated Show resolved Hide resolved
docs/zh/latest/admin-api.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/limit-conn.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/response-rewrite.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/response-rewrite.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/traffic-split.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/traffic-split.md Outdated Show resolved Hide resolved
@yzeng25
Copy link
Contributor
yzeng25 commented Mar 17, 2022

@kwanhur impressive!

docs/zh/latest/stream-proxy.md Outdated Show resolved Hide resolved
docs/zh/latest/stream-proxy.md Outdated Show resolved Hide resolved
docs/zh/latest/plugins/wolf-rbac.md Outdated Show resolved Hide resolved
kwanhur and others added 4 commits March 17, 2022 17:54
Signed-off-by: kwanhur <huang_hua2012@163.com>
Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
@juzhiyuan
Copy link
Member

Hi @kwanhur, I try to resolve those conflicts, but I don't know which change I should keep. Please resolve them 🙏

Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
@kwanhur
Copy link
Contributor Author
kwanhur commented Mar 21, 2022

Hi @kwanhur, I try to resolve those conflicts, but I don't know which change I should keep. Please resolve them 🙏

Had resolved conflicts. Some ci jobs need to re-run manually, trigger them plz.

Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
Signed-off-by: kwanhur <huang_hua2012@163.com>
yzeng25
yzeng25 previously approved these changes Mar 23, 2022
Copy link
Contributor
@yzeng25 yzeng25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we are good to go now.

juzhiyuan
juzhiyuan previously approved these changes Mar 23, 2022
Copy link
Member
@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bcoz no other feedback, for now, LGTM.

p.s. I would still prefer using a specified commit id rather than the current way but looks good to me. 🙏

@spacewander
Copy link
Member

@kwanhur
Let's solve the merge conflict before we can merge it.

@kwanhur kwanhur dismissed stale reviews from juzhiyuan and yzeng25 via a50e9bf March 24, 2022 06:23
Copy link
Member
@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@spacewander spacewander merged commit 96838b9 into apache:master Mar 24, 2022
@kwanhur kwanhur deleted the typo-zh-copywriting branch March 24, 2022 08:23
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request May 20, 2022
Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
@huacnlee
Copy link
Contributor

spacewander pushed a commit that referenced this pull request Jun 30, 2022
Co-authored-by: leslie <59061168+leslie-tsang@users.noreply.github.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants