yearn-devdocs
yearn-devdocs copied to clipboard
Upgrade Docusaurus to V3
Docusaurus has moved to V3 (3.2.1) while the Yearn documentation still uses V2.0.0-beta.21. In order to get Mermaid working (https://github.com/yearn/yearn-devdocs/issues/400) the Docusaurus version needs to be upgraded to V2.2 minimum. If going through the trouble to upgrade, it may make sense to bite the bullet and fully upgrade to the newest version. This would allow for future adds to be more easily implemented and prevent issues with compatibility.
The process to upgrade is detailed here with the main changes being upgrades to:
- MDX >= v3
- React >= v18)
- CommonJS -> ESModules for plugins
- Typescript >= v5
- NodeJs >= v18