Folder-based navigation

Auto-generate navigation from a folder of markdown files using the new folder configuration. Instead of manually listing each page in docs.yml, point to a folder. Fern discovers all .md and .mdx files and adds them to the navigation.

docs.yml
1navigation:
2 - section: Getting started
3 contents:
4 - page: Introduction
5 path: ./pages/intro.mdx
6 - folder: ./pages/guides
7 title: Guides # Display name for folder section
8 icon: fa-regular fa-book
9 collapsed: true
10 availability: beta # Optional badge to display in navigation

Subfolders become nested sections. Supported options: title, slug, icon, collapsed, hidden, skip-slug, availability.

Learn more about navigation configuration.