misc: show only latest archive alpha/beta versions dropdown#5862
misc: show only latest archive alpha/beta versions dropdown#5862
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.)