Skip to content

Commit ab5f5e7

Browse files
authored
feat: Banner (#538)
* add baner * update banner example
1 parent db23dcf commit ab5f5e7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

settings/global.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,24 @@ Every documentation site requires a `docs.json` file that contains the core conf
416416
</Expandable>
417417
</ResponseField>
418418

419+
<ResponseField name="banner" type="object">
420+
Banner configurations
421+
422+
<Expandable title="Banner">
423+
<ResponseField name="content" type="string">
424+
The content of the banner. This can be a string of text or a markdown string. For example:
425+
```json
426+
{
427+
"content": "🚀 Banner is live! [Learn more](mintlify.com)"
428+
}
429+
```
430+
</ResponseField>
431+
<ResponseField name="dismissible" type="boolean">
432+
Whether the banner is dismissible. Defaults to `false`.
433+
</ResponseField>
434+
</Expandable>
435+
</ResponseField>
436+
419437
<ResponseField name="redirects" type="array of object">
420438

421439
<Expandable title="Redirects">

0 commit comments

Comments
 (0)