Skip to content

Commit

Permalink
Fix warning (#3812)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsauce authored Mar 9, 2024
1 parent 4086e5f commit 7dfab6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/contributing/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ This is a tip about a cool feature option.
This is some vital information.
:::

:::danger
This action is dangerous and could result in data loss.
:::

:::warning
This could note important and problematic information.
:::

:::danger
This action is dangerous and could result in data loss.
:::

:::sumo Best Practice
Highlight specific info, best practices, links, [training links](https://www.sumologic.com/learn/training/), and other information from Sumo specialists. You can change the title based on the content.
:::
Expand All @@ -185,14 +185,14 @@ This is a tip about a cool feature option.
This is some vital information.
:::

:::danger
This action is dangerous and could result in data loss.
:::

:::warning
This could note important and problematic information.
:::

:::danger
This action is dangerous and could result in data loss.
:::

:::sumo Best Practice
Highlight specific info, best practices, links, [training links](https://www.sumologic.com/learn/training/), and other information from Sumo specialists. You can change the title based on the content.
:::
Expand Down Expand Up @@ -1053,7 +1053,7 @@ Our [`sidebars.ts`](https://github.com/SumoLogic/sumologic-documentation/blob/ma
* To add a dedicated sidebar, use the following format:
<details>
<summary>Example: adding a dedicated sidebar for a guide</summary>

```js title="sidebars.ts"
module.exports = {
sectionName: [
Expand Down
1 change: 0 additions & 1 deletion src/theme/Admonition/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const aliases = {
secondary: 'note',
important: 'info',
success: 'tip',
warning: 'danger',
};
function getAdmonitionConfig(unsafeType) {
const type = aliases[unsafeType] ?? unsafeType;
Expand Down

0 comments on commit 7dfab6f

Please sign in to comment.