Skip to content

fix(docs): update VariantItem link implementation and separate CLI version docs Closes npm/cli#8414 #1659

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mohit5Upadhyay
Copy link

Description

This PR addresses npm/cli#8414, which reports that switching versions using the CLI version dropdown does not properly update the displayed documentation.

Changes

  • Refactored VariantItem component:

These changes ensure that when users switch CLI versions from the dropdown, the documentation updates correctly to display the appropriate content for each version.


Updated

docs-version-updated-npm.mp4

References

Closes npm/cli#8414

@Mohit5Upadhyay
Copy link
Author

Hi @leobalter and @wraithgar!

This PR fixes the dropdown issue from npm/cli#8414.
I’d love your feedback and am happy to make further improvements if needed.

Thanks for your time and review!

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.

[BUG] : Documentation should be updated as per the Selected Option from the dropdown menu
1 participant