Customize your docs

Configure colors, fonts, and layout in your docs.yml file

View as Markdown

The docs.yml file configures your whole documentation site, from navigation to visual styling. Customization covers the colors, logos, fonts, and layout that give your docs their look and feel. These settings that apply across every page so your branding stays consistent.

Quick example

Here’s a minimal example showing common customization options in docs.yml:

docs.yml
1title: Your Documentation
2
3colors:
4 accentPrimary:
5 dark: "#81C784"
6 light: "#1B5E20"
7
8logo:
9 dark: docs/assets/logo-dark.svg
10 light: docs/assets/logo-light.svg
11
12favicon: docs/assets/favicon.svg

Complete customization options

Explore the customization options below and click through to the Fern documentation for detailed configuration guides.