From 90fedc2c88f2256c096112172a9a3500d80e899d Mon Sep 17 00:00:00 2001 From: dks333 Date: Thu, 20 Feb 2025 09:54:44 -0800 Subject: [PATCH 1/2] add baner --- settings/global.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/settings/global.mdx b/settings/global.mdx index 083562e34..4e61e3e64 100644 --- a/settings/global.mdx +++ b/settings/global.mdx @@ -416,6 +416,22 @@ Every documentation site requires a `docs.json` file that contains the core conf + + Banner configurations + + + + The content of the banner. This can be a string of text or a markdown string. For example: + ```mdx + 🚀 Banner is live! [Learn more](mintlify.com) + ``` + + + Whether the banner is dismissible. Defaults to `false`. + + + + From c714dc4a469f529164101de09d63014a8f1e5275 Mon Sep 17 00:00:00 2001 From: dks333 Date: Thu, 20 Feb 2025 10:48:06 -0800 Subject: [PATCH 2/2] update banner example --- settings/global.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings/global.mdx b/settings/global.mdx index 4e61e3e64..bb9b780e9 100644 --- a/settings/global.mdx +++ b/settings/global.mdx @@ -422,8 +422,10 @@ Every documentation site requires a `docs.json` file that contains the core conf The content of the banner. This can be a string of text or a markdown string. For example: - ```mdx - 🚀 Banner is live! [Learn more](mintlify.com) + ```json + { + "content": "🚀 Banner is live! [Learn more](mintlify.com)" + } ```