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

Simplify documentation of "constraints" overview #6257

Merged
merged 1 commit into from
May 1, 2024

Conversation

jeremy-daley-kr
Copy link
Contributor

@jeremy-daley-kr jeremy-daley-kr commented Apr 30, 2024

The current documentation overview for Constraints reads somewhat like a sales pitch, rather than documentation. It's a bit wordy, and kind of grammatically incorrect/confusing. It might be more beneficial to mention "enforcement of workspace package rules" as the main point, rather than towards the end of the description. Additionally, constraints can be used for a large number of needs that are not necessarily "basic" ones.

I'd be fine with expanding the example list, but being sure to specify that these are just examples of how constraints are commonly used. They're not the limit of the capability.

What's the problem this PR addresses?

Unclear documentation.

How did you fix it?

Made it a bit more clear and simple.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

The current documentation sounds somewhat like a sales pitch, rather than documentation. It's a bit wordy, kind of confusing, and seems to "constrain" their purpose to a small set of usage. Constraints can be used for a large number of needs that are not necessarily "basic" ones.
@arcanis arcanis merged commit df5d1c2 into yarnpkg:master May 1, 2024
20 of 24 checks passed
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.

2 participants