Add a banner to display important site-wide announcements and notifications
Use banners to display important announcements, updates, or notifications across your entire documentation site. Banners appear at the top of every page, support Markdown formatting, and can be made dismissible.To add a banner, use the banner property in your docs.json:
Report incorrect code
Copy
Ask AI
"banner": { "content": "🚀 Version 2.0 is now live! See our [changelog](/changelog) for details.", "dismissible": true}