-
-
Notifications
You must be signed in to change notification settings - Fork 240
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(repo): linting with ssgs #2450
Conversation
docs/guides/2-cli.md
Outdated
@@ -60,6 +60,8 @@ Here you can build a [custom ruleset](../getting-started/3-rulesets.md), or exte | |||
- [OpenAPI ruleset](../reference/openapi-rules.md) | |||
- [AsyncAPI ruleset](../reference/asyncapi-rules.md) | |||
|
|||
> If you use rules created or updated in a hosted [Stoplight API project](https://docs.stoplight.io/docs/platform/branches/pam-716-updated-landing-page/c433d678d027a-create-rules) with the Spectral CLI, you must publish the project from Stoplight before the updates are using for linting. |
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.
"are using for linting" -> " are used for linting" :)
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.
I don't think we should be including a style guide in Spectral project itself.
This is likely to cause confusion for people.
Thoughts @mnaumanali94?
The docs change is OK though.
b5d3f8c
to
8f2994f
Compare
8f2994f
to
586e2b7
Compare
586e2b7
to
70813ad
Compare
Good point, Jakub. Should I remove both the styleguide.json and .spectral.mjs files? |
I took care of that already :) |
🎉 This PR is included in version 6.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fixes https://github.com/stoplightio/platform-docs/pull/752.
Added note about hosted style guide updates and Spectral CLI.
Checklist
Does this PR introduce a breaking change?