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
Enforce heading sentence case throughout the BEH #57143
Conversation
Flaky tests detected in ce674db. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7241631320
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes make sense to me too, but I'd like to leave a comment with some typo corrections or suggestions.
Also, in the document style guide, there is a rule called "Always capitalize proper nouns.".
For example, which rule do you think should be followed in this PR?
- Block supports or Block Supports?
- Global styles of Global Styles?
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
Thanks for reviewing @t-hamano and fixing my typos 🤦♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* Enforce heading sentence case. * Linting * Update title and remove unnecessary TOC * Update docs/how-to-guides/README.md Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update docs/reference-guides/richtext.md Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update docs/explanations/user-interface/block-design.md Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> * Update docs/how-to-guides/internationalization.md Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> --------- Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
This PR is not exhaustive, but it is a first step in enforcing sentence case for all headings throughout the Block Editor Handbook. This is in accordance with the documentation style guide.
Edit: While updating the Explanations → Architecture → Styles in the Editor doc, I also took the liberty of removing the unnecessary TOC and fixing the heading hierarchy. I missed this in #57087