You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closed: duplicateThis issue or pull request already exists in another issue or pull requestmlhMajor League Hacking FellowshipproposalThis issue is a proposal, usually non-trivial change
The migration cli is throw-away code as it won't be used for a very long time, but it wouldn't harm to clean it up a bit and make it easy to understand, as the current code is a bit messy, so you can start refactoring it a bit (without changing behavior).
Try to find a way to add this component library to v2 so that we render more page content. Even if it won't work in all situations, a hacky temporary solution could be helpful for users.
In general, any migration cli improvement idea is welcome, so let me know if you see useful things we could add.
Maybe you can try to find a community Docusaurus v1 site and propose a v2 migration to its owner?
This way you'd get a better understanding of the migration process, and be able to figure out which parts we can automate easily?
closed: duplicateThis issue or pull request already exists in another issue or pull requestmlhMajor League Hacking FellowshipproposalThis issue is a proposal, usually non-trivial change
Activity
utkarsh867 commentedon Nov 8, 2020
@slorber I'd like to take a shot at this issue.
It would be great to have some pointers on what migration features can I start with?
slorber commentedon Nov 9, 2020
Hi @utkarsh867
Sorry, forgot to link to the previous issue which has much more details: #3103
You'll also find PR comments interesting:
#3015
The migration cli is throw-away code as it won't be used for a very long time, but it wouldn't harm to clean it up a bit and make it easy to understand, as the current code is a bit messy, so you can start refactoring it a bit (without changing behavior).
The improvement I'd to see is to replicate the v1 comp library (Container, GridBlock, MarkdownBlock) using Infima, or just rendering fake data or whatever. The goal would be that we could migrate our own v1 site, and the pages would not render a blank screen like they currently do. See for example: https://deploy-preview-3517--docusaurus-2.netlify.app/v1-migrated/
Try to find a way to add this component library to v2 so that we render more page content. Even if it won't work in all situations, a hacky temporary solution could be helpful for users.
In general, any migration cli improvement idea is welcome, so let me know if you see useful things we could add.
Maybe you can try to find a community Docusaurus v1 site and propose a v2 migration to its owner?
This way you'd get a better understanding of the migration process, and be able to figure out which parts we can automate easily?
utkarsh867 commentedon Nov 10, 2020
I'll be going through the issues you linked above and get back with some ideas that I might have!
Thanks!
Josh-Cena commentedon Feb 10, 2022
Closing in favor of #3103