January 16, 2025

0.50.4

(internal): The docs.yml now supports a separate configuration for feature-flags which allows Fern to render pieces of content depending on whether or not certain feature flags are enabled for particular user.

This feature is in alpha stage; please contact support@buildwithfern.com to learn more!

docs.yml
1navigation:
2 - page: Page 1
3 feature-flag: my-feature-flag-a # single boolean flag
4 - page: Page 2
5 feature: # multiple boolean flags
6 - flag: my-feature-flag-a
7 - flag: my-feature-flag-b
8 - section: Section Title
9 viewers: role-a
10 feature-flag: # configurable match
11 flag: my-feature-flag-a
12 fallback-value: "ga"
13 match: "beta"
14 layout: []