-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare website docs content for MDX v2 and Docusaurus v3 #14492
Conversation
✅ Deploy Preview for jestjs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great, thanks!
@@ -120,7 +120,7 @@ Clears all information stored in the [`mockFn.mock.calls`](#mockfnmockcalls), [` | |||
|
|||
The [`clearMocks`](configuration#clearmocks-boolean) configuration option is available to clear mocks automatically before each tests. | |||
|
|||
:::warning | |||
:::danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:::danger | |
:::caution |
I think that looks better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, you wanted to that separately. makes sense! 😀
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Preparation PR to make content compatible with MDX v2 (coming with Docusaurus v3).
Those docs are currently only compatible with MDX v1 (Docusaurus v2).
Now they are compatible with both MDX v1 and v2 (so Docusaurus v2 and v3), and the upgrade won't require to update them.
Follow-up PR that upgrades to Docusaurus v3 and MDX v2: #14463
Test plan
Deploy preview