mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
docs: add guide to keep title of caution admonitions (#9695)
This commit is contained in:
parent
ece3d04d57
commit
332a466893
1 changed files with 2 additions and 0 deletions
|
@ -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).
|
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
|
### Versioned Sidebars
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue