For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Getting started
    • Overview
    • How it works
    • Quickstart
    • Project structure
    • Customer showcase
    • Changelog
  • Configuration
    • Overview
    • Site-level settings
    • Page-level settings
  • Writing content
    • Markdown basics
    • Rich media in Markdown
    • Fern Editor
    • Reusable snippets
  • AI features
    • Overview
    • Fern Writer
    • AI-generated examples
    • Markdown access
      • Overview
      • Customize LLM output
      • Agent directives
      • Analytics and integration
    • MCP server
    • API catalog discovery
      • Announcement banner
      • Embedded mode
      • Hiding content
      • Search
      • User feedback
      • Custom CSS & JS
      • CSS selectors reference
      • Custom React components
      • Header and footer
      • Global themes
  • Public API
    • GETJWT from Fern API key
    • GETAlgolia search credentials
    • GETCurrent user information
  • Fern Writer API
    • GETGet Fern Writer Install Link
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
On this page
  • Setup
  • Configuring announcements at multiple levels
Customization

Announcement banner

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

Multi-source docs

Next

Embedded mode

Use an announcement banner to draw attention to new features, updates, and product launches. When configured, the announcement bar appears at the top of your docs site. After the user dismisses the bar, it will reappear the next time you update the announcement.

BigCommerce uses an announcement banner to welcome visitors to their developer docs and point them to Ask AI and search.

Setup

Add an announcement property with a message to your docs.yml:

docs.yml
1announcement:
2 message: "🚀 New feature: Announcements are available! (<a href=\"https://buildwithfern.com/learn/docs/customization/announcement-banner\" target=\"_blank\">Learn more</a>) 🚀"

The announcement message supports Markdown and HTML. You can include links, images, and other formatting, including custom CSS.

Configuring announcements at multiple levels

Announcements can be configured at multiple levels to target specific products or versions. The override hierarchy is:

  1. Version-level - Highest priority, always shown when defined for a specific version
  2. Product-level - Used when no version-level announcement exists for a product
  3. Config-level - Fallback announcement shown across all products/versions when no specific override is defined

Add the announcement property directly to items in the products: or versions: lists in your docs.yml file.

The below example shows a multi-product docs site where the Docs product displays “Docs product is in beta”, the SDKs v1 version shows “v1 is in maintenance mode”, and the SDKs v2 version inherits the product-level message “New SDK features available!”

docs.yml
1# Config-level announcement (fallback for all products/versions)
2announcement:
3 message: "Welcome to our documentation!"
4
5products:
6 - display-name: Docs
7 path: ./products/docs/docs.yml
8 # Product-level announcement (overrides config-level for this product)
9 announcement:
10 message: "Docs product is in beta. Features may change."
11
12 - display-name: SDKs
13 path: ./products/sdks/sdks.yml
14 announcement:
15 message: "New SDK features available!"
16
17 versions:
18 - display-name: v1
19 path: ./products/sdks/v1/docs.yml
20 # Version-level announcement (highest priority, overrides product and config)
21 announcement:
22 message: "v1 is in maintenance mode. Upgrade to v2."
23
24 - display-name: v2
25 path: ./products/sdks/v2/docs.yml
26 # This version will show the product-level announcement