Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning admonition #3812

Merged
merged 2 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading