Configuration overview
Fern documentation is configured at two levels: site-level settings in docs.yml that apply globally, and page-level settings in frontmatter that control individual pages.
Site-level configuration
The docs.yml file controls your site’s appearance, structure, and behavior. All of the settings below are configured in docs.yml.
Colors, typography, logo, layout, navbar links, and analytics
Organize your sidebar with sections, pages, and folders
Group content into switchable tabs with optional variants
Add a dropdown version selector for multiple doc versions
Add a product switcher for multi-product sites
Chronological record of changes with tagging and RSS
Page-level configuration
Use frontmatter in individual .mdx files to override site-level defaults for a specific page, such as titles, meta descriptions, slugs, layout, and visibility of page elements.