Docs: Fix incorrect @next version specifiers #32213
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did
Replace
@nextversion specifiers with@latestin docs snippets and code examples.(Note that this PR targets
main, to only affect the latest docs.)Checklist for Contributors
Testing
Manual testing
N/A
Documentation
MIGRATION.MD
Checklist for Maintainers
When this PR is ready for testing, make sure to add
ci:normal,ci:mergedorci:dailyGH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found incode/lib/cli-storybook/src/sandbox-templates.tsMake sure this PR contains one of the labels below:
Available labels
bug: Internal changes that fixes incorrect behavior.maintenance: User-facing maintenance tasks.dependencies: Upgrading (sometimes downgrading) dependencies.build: Internal-facing build tooling & test updates. Will not show up in release changelog.cleanup: Minor cleanup style change. Will not show up in release changelog.documentation: Documentation only changes. Will not show up in release changelog.feature request: Introducing a new feature.BREAKING CHANGE: Changes that break compatibility in some way with current major version.other: Changes that don't fit in the above categories.Greptile Summary
This pull request updates Storybook documentation to replace
@nextversion specifiers with@latestacross multiple documentation files and code snippets. The changes affect three key files:@latestinstead of@next@latest@latestThe change ensures that documentation examples direct users to the stable latest version of Storybook rather than pre-release versions. This is important because
@nexttypically refers to pre-release or beta versions that may be unstable, while@latestrefers to the most recent stable release. Since this PR targets themainbranch (which affects the production documentation), it makes sense to standardize on@latestto provide users with stable, production-ready versions by default.These snippet files are likely included in multiple documentation pages throughout the Storybook docs, so this change will have a broad impact on user-facing installation and upgrade instructions. The change aligns with standard package management practices and ensures consistency across all package manager examples.
Confidence score: 5/5