Configuration overview

Configure your Fern Docs site at the site level and page level
View as Markdown

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.

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.