fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308)

This commit is contained in:
Sébastien Lorber 2023-09-15 10:48:21 +02:00 committed by GitHub
parent 58be496da2
commit f5ae537d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
339 changed files with 666 additions and 515 deletions

View file

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