mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-01 16:00:29 +02:00
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308)
This commit is contained in:
parent
58be496da2
commit
f5ae537d3e
339 changed files with 666 additions and 515 deletions
|
@ -45,7 +45,7 @@ Builds and serves a preview of your site locally with [Webpack Dev Server](https
|
|||
| `--poll [optionalIntervalMs]` | `false` | Use polling of files rather than watching for live reload as a fallback in environments where watching doesn't work. More information [here](https://webpack.js.org/configuration/watch/#watchoptionspoll). |
|
||||
| `--no-minify` | `false` | Build website without minimizing JS/CSS bundles. |
|
||||
|
||||
:::important
|
||||
:::info
|
||||
|
||||
Please note that some functionality (for example, anchor links) will not work in development. The functionality will work as expected in production.
|
||||
|
||||
|
@ -123,7 +123,7 @@ The swizzle CLI is interactive and will guide you through the whole [swizzle pro
|
|||
| `--danger` | Allow immediate swizzling of unsafe components |
|
||||
| `--typescript` | Swizzle the TypeScript variant component |
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
Unsafe components have a higher risk of breaking changes due to internal refactorings.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue