From 976f07b75ad1108450f55c1a671ee6d5a3c03fa0 Mon Sep 17 00:00:00 2001 From: Tatsunori Uchino Date: Thu, 4 Jan 2024 18:52:51 +0900 Subject: [PATCH] docs: add guide to keep title of caution admonitions --- website/docs/migration/v3.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/docs/migration/v3.mdx b/website/docs/migration/v3.mdx index 72646ecfe72d..9c25b1b19878 100644 --- a/website/docs/migration/v3.mdx +++ b/website/docs/migration/v3.mdx @@ -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