Skip to content

Commit

Permalink
docs: add guide to keep title of caution admonitions (#9695)
Browse files Browse the repository at this point in the history
  • Loading branch information
tats-u authored Jan 4, 2024
1 parent ece3d04 commit 332a466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ If you previously used the undocumented `:::warning` admonition, make sure to ve

Docusaurus v3 also [deprecated the `:::caution`](https://github.com/facebook/docusaurus/pull/9308) admonition. Please refactor `:::caution` (yellow) to either `:::warning` (yellow) or `:::danger` (red).

If you want to keep the title “caution”, you might want to refactor it to `:::warning[caution]` (yellow).

:::

### Versioned Sidebars
Expand Down

0 comments on commit 332a466

Please sign in to comment.