-
-
Notifications
You must be signed in to change notification settings - Fork 9k
misc: show only latest archive alpha/beta versions dropdown #5862
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
Conversation
✔️ [V2] 🔨 Explore the source changes: 5a3a3e8 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6182afb80f12dd000738ec3e 😎 Browse the preview: https://deploy-preview-5862--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-5862--docusaurus-2.netlify.app/ |
Size Change: -19.3 kB (-2%) Total Size: 832 kB
ℹ️ View Unchanged
|
What's the rationale to keep the last Alpha release? The alpha-beta cutoff was pretty arbitrary iirc, and beta.0 is not much different from alpha.75. From the NPM stats it doesn't seem alpha versions are very popular either Also, surprised to see such significant bundle size optimization👀 |
Agree that it's not so useful to keep the latest alphas.
I don't understand either, would be interesting to investigate and see a diff |
There won't be any alpha version in dropdown, alright then, but maybe we shouldn't create extra var for this? |
Looks good enough for now thanks 👍 |
FYI about the file size diff: #5865 |
Motivation
Currently versions dropdown on the site is quite long, I propose to reduce its items by showing only the latest archived versions, since all available versions already renders on the "Versions" page.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Preview.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)