docs: add guide to keep title of caution admonitions (#9695)

This commit is contained in:
Tatsunori Uchino 2024-01-04 19:05:24 +09:00 committed by GitHub
parent ece3d04d57
commit 332a466893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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