Docusaurus: Update Docusaurus to 3.7 #6777
Open
+7,190
−5,929
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's the problem this PR addresses?
The Docusaurus version we use is not the latest
How did you fix it?
Upgrades Docusuaurs to 3.7 and start using the new features:
docusaurus-plugin-typedoc-api
for compatibilitydocusaurus-plugin-typedoc-api
is unmaintined now. Maybe we should make our custom solution eventually?xterm
so the website can be built with Node 22markdown-it-br
andmarked-base-url
is actually usused@codesandbox/sandpack-react
. Even if we use@codesandbox/sandpack-react
again we'd probably use the latest version which is a semver-major bump so there will be churn either way.I have done some visual comparison testing to verify there aren't unexpected visual changes (on the pages I checked at least)
Questions:
compressionLevel: 0
(the default since 4.0)? This PR replaces ~300 deps (out of ~2,100) so I feel like that's a good time to do so if we are to migrateChecklist