docs: redesigned admonitions (#5689)
This commit is contained in:
@@ -49,7 +49,7 @@ const plugins = [
|
||||
]
|
||||
```
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
If you have multiple storage plugins configured, the last plugin declared in the `medusa-config.js` file will be used.
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ To generate access keys for your plugin:
|
||||
3. This will open a new form with randomly-generated keys. Click on the Create button.
|
||||
4. A pop-up will then show the value for your Access Key and Secret Key. Copy them to use in the next section.
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
You will not be able to access the Secret Key after closing the pop-up. So, make sure to store it somewhere to use later when configuring the plugin.
|
||||
|
||||
@@ -107,7 +107,7 @@ const plugins = [
|
||||
]
|
||||
```
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
If you have multiple storage plugins configured, the last plugin declared in the `medusa-config.js` file will be used.
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ S3_PREFIX=<YOUR_BUCKET_PREFIX>
|
||||
```
|
||||
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
If you have multiple storage plugins configured, the last plugin declared in the `medusa-config.js` file will be used.
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ This shows a table with the Name field editable. Enter a name for the Access Key
|
||||
|
||||
Then, two keys will be available under the Key column of the table. The first one is the Access Key ID and the second is the Secret Access Key. Copy both as you’ll use them later.
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
The secret access key will not be shown again after you leave the page. Make sure to copy it when you see it or you’ll need to re-generate a new one.
|
||||
|
||||
@@ -124,7 +124,7 @@ const plugins = [
|
||||
]
|
||||
```
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
If you have multiple storage plugins configured, the last plugin declared in the `medusa-config.js` file will be used.
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ In the handler function, you resolve the `twilioSmsService` and `orderService` u
|
||||
|
||||
The `sendSms` method of the Twilio service accepts an object of parameters. These parameters are based on Twilio’s SMS APIs. You can check their [API documentation](https://www.twilio.com/docs/sms/api/message-resource#create-a-message-resource) for more fields that you can add.
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
If you’re on a Twilio trial make sure that the phone number you entered on checkout is a [verified Twilio number on your console](https://console.twilio.com/us1/develop/phone-numbers/manage/verified).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user