masa-finance / docs

Masa Finance Documentation
https://developers.masa.ai
MIT License
146 stars 10 forks source link

feat: upgrade docusaurus to > 3.x #181

Closed juanmanso closed 1 month ago

juanmanso commented 5 months ago

Description

As part of the migration process of version 2.x to 3.x, Docusaurus provides a CLI command to check the potential issues while compiling mdx files:

npx docusaurus-mdx-checker

Running this command, a huge output was given that could be summarized with the following screenshot:

image

One of the errors is the bad usage of { as stated here

On this preview PR, we migrated some of the files' curly braces and this is the current summary of the CLI output:

image

Feel free to continue with this migration or I will when I'm back at it 🚀

Related issues

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
masa-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 4:51pm
H34D commented 3 months ago

@juanmanso the files you changed are auto generated, i think you must search for a different solution here

juanmanso commented 2 months ago

As a follow-up, the proposed solution of migrating them by hand won't work since the future update of these files is made automatically instead of devs entering their changes on this repo.

Thus, solution needs to be redesigned since the change should lie next to the source of these automation tools that generate the code for this repo to incorporate