mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs: add guide to keep title of caution admonitions (#9695)
This commit is contained in:
parent
ece3d04d57
commit
332a466893
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue