babel / website

:globe_with_meridians: The Babel documentation website
https://babeljs.io/docs/en/index.html
MIT License
749 stars 1.3k forks source link

Update to Docusaurus 3 #2848

Closed JLHwung closed 8 months ago

JLHwung commented 8 months ago

In this PR we update docusaurus to v3 and React to v18.

  1. Docusaurus updates MDX to v3. Impacts to our docs:
  1. The customized :::babel[78] markdown directives are adjusted to MDX v3 AST. It is now much more straightforward as we can get rid of token reinterpretation
  2. The react jsx runtime does not offer umd builds so we have to bundle the runtime with our REPL scripts
netlify[bot] commented 8 months ago

Deploy Preview for babel-next ready!

Name Link
Latest commit c16dcddca2366305c5eb227fd7c551b6cb70dace
Latest deploy log https://app.netlify.com/sites/babel-next/deploys/654ecc158d2b3c0009dc9b87
Deploy Preview https://deploy-preview-2848--babel-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 8 months ago

Deploy Preview for babel ready!

Name Link
Latest commit c16dcddca2366305c5eb227fd7c551b6cb70dace
Latest deploy log https://app.netlify.com/sites/babel/deploys/654ecc151117ab000929ba8c
Deploy Preview https://deploy-preview-2848--babel.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.