From 2981bedddeb49078b01c6248a53c834c11f966ca Mon Sep 17 00:00:00 2001 From: Kim <56411016+kimsauce@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:34:31 -0800 Subject: [PATCH] Fix warning --- docs/contributing/style-guide.md | 18 +++++++++--------- src/theme/Admonition/index.js | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/contributing/style-guide.md b/docs/contributing/style-guide.md index 834eafd29d..53387eb33f 100644 --- a/docs/contributing/style-guide.md +++ b/docs/contributing/style-guide.md @@ -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. ::: @@ -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. ::: @@ -1053,7 +1053,7 @@ Our [`sidebars.ts`](https://github.com/SumoLogic/sumologic-documentation/blob/ma * To add a dedicated sidebar, use the following format:
Example: adding a dedicated sidebar for a guide - + ```js title="sidebars.ts" module.exports = { sectionName: [ diff --git a/src/theme/Admonition/index.js b/src/theme/Admonition/index.js index 4c0d0b4a67..8256416175 100644 --- a/src/theme/Admonition/index.js +++ b/src/theme/Admonition/index.js @@ -132,7 +132,6 @@ const aliases = { secondary: 'note', important: 'info', success: 'tip', - warning: 'danger', }; function getAdmonitionConfig(unsafeType) { const type = aliases[unsafeType] ?? unsafeType;