-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make the Vale prose linter required #47907
base: master
Are you sure you want to change the base?
Conversation
🤖 Vercel preview here: https://docs-eoprbue73-goteleport.vercel.app/docs/ver/preview |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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.
awesome, this will save folks a lot of time!
e8dd631
to
f789367
Compare
This pull request is automatically being deployed by Amplify Hosting (learn more). |
🤖 Vercel preview here: https://docs-pft7e7o94-goteleport.vercel.app/docs/ver/preview |
How do we feel about removing the ban on the word 'simple' from the vale subjective terms, since we're looking to make prose linter required soon? On one hand I can see the word not really being needed, but on the other I think it can put new users at ease depending on context. Some examples:
|
@mmcallister Personally, I'm not a fan of "simple", since a docs author can't know everything about the reader's infrastructure, professional experience, organizational constraints, etc. For me, assuring the reader that something is simple doesn't help it appear simpler, and can risk being alienating. I think all of the examples above make as much sense without "simple". If we're divided on it, though, I think it makes sense to change the rule's level to Edit: The rule was already at the |
f789367
to
db73f44
Compare
🤖 Vercel preview here: https://docs-3ijej2l4p-goteleport.vercel.app/docs/ver/preview |
945b97f
to
008e9e8
Compare
🤖 Vercel preview here: https://docs-8jlkxz67t-goteleport.vercel.app/docs/ver/preview |
008e9e8
to
7142973
Compare
🤖 Vercel preview here: https://docs-96xudrd4r-goteleport.vercel.app/docs/ver/preview |
Putting this in draft while I split up this PR into smaller PRs to make review easier: |
7142973
to
d436555
Compare
🤖 Vercel preview here: https://docs-2qga2vz12-goteleport.vercel.app/docs |
d436555
to
9ff8b17
Compare
🤖 Vercel preview here: https://docs-plrjf4wga-goteleport.vercel.app/docs |
9ff8b17
to
217abcc
Compare
🤖 Vercel preview here: https://docs-98nxsqqve-goteleport.vercel.app/docs |
217abcc
to
5478b5a
Compare
🤖 Vercel preview here: https://docs-1k3dz6mby-goteleport.vercel.app/docs |
5478b5a
to
7b5104c
Compare
🤖 Vercel preview here: https://docs-38lcau24c-goteleport.vercel.app/docs |
This change makes the prose linting step part of the required Lint (Docs) job. As of Vale 3.8.0, it is possible to set custom comment delimiters so an author can temporarily disable a style rule within an MDX docs page. For example, an author can ignore the `protocol-products` rule by including this: ```text {/* vale messaging.protocol-products = NO */} This paragraph is about server access. {/* vale messaging.protocol-products = YES */} ``` This change updates the version of Vale used by the linting job to 3.9.0, and includes custom comment delimiters in the configuration.
7b5104c
to
b150cdd
Compare
Amplify deployment status
|
Make the Vale prose linter required
This change makes the prose linting step part of the required Lint
(Docs) job.
As of Vale 3.8.0, it is possible to set custom comment delimiters so an
author can temporarily disable a style rule within an MDX docs page. For
example, an author can ignore the
protocol-products
rule by includingthis:
This change updates the version of Vale used by the linting job to
3.9.0, and includes custom comment delimiters in the configuration.