-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
chore: add archived versions system + archive alpha.73-75 #5005
Conversation
@@ -0,0 +1,5 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @lex111 if you archive a version you can get an immutable Netlify deployment link and add it there. I don't think it's needed to keep versions 3 months now, we can just add older versions this way in a more exhaustive way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's nice, thanks, maybe we can create [npm/bash] command to automate this? And why are URLs so long?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can create [npm/bash] command to automate this
Ideally, I'd like to have an official docusaurus archive
CLI but that's not so simple due to the plugin system, multi-instance etc...
And why are URLs so long?
Those are the unique deploy URLs from Netlify. I don't think it's worth creating a custom subdomain DNS for all the older versions. I don't have direct access to the DNS config so it's a bit annoying to have to ask Joel on each archived release. Note also the React doc does this, some older docs redirect to an immutable vercel deployment: https://reactjs.org/versions
✔️ [V2] 🔨 Explore the source changes: 7ecb59d 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60ccb893eff1200007fd5931 😎 Browse the preview: https://deploy-preview-5005--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-5005--docusaurus-2.netlify.app/ |
Size Change: -85.3 kB (-13%) 👏 Total Size: 569 kB
ℹ️ View Unchanged
|
Motivation
We should be able to link to older doc versions, even if we don't keep their doc in the repo anymore.
This permits to reduce build times (particularly with i18n), but still let users access older docs