-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): allow for server side feature flags (#5627)
- Loading branch information
Showing
55 changed files
with
628 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## 0.50.4 | ||
**`(internal):`** The docs.yml now supports a separate configurtation 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 [email protected] to learn more! | ||
|
||
```yml docs.yml | ||
navigation: | ||
- page: Page 1 | ||
feature-flag: my-feature-flag-a # single boolean flag | ||
- page: Page 2 | ||
feature: # multiple boolean flags | ||
- flag: my-feature-flag-a | ||
- flag: my-feature-flag-b | ||
- section: Section Title | ||
viewers: role-a | ||
feature-flag: # configurable match | ||
flag: my-feature-flag-a | ||
fallback-value: "ga" | ||
match: "beta" | ||
layout: [] | ||
``` | ||
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
- changelogEntry: | ||
- summary: | | ||
The docs.yml now supports a separate configurtation 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 [email protected] to learn more! | ||
```yml docs.yml | ||
navigation: | ||
- page: Page 1 | ||
feature-flag: my-feature-flag-a # single boolean flag | ||
- page: Page 2 | ||
feature: # multiple boolean flags | ||
- flag: my-feature-flag-a | ||
- flag: my-feature-flag-b | ||
- section: Section Title | ||
viewers: role-a | ||
feature-flag: # configurable match | ||
flag: my-feature-flag-a | ||
fallback-value: "ga" | ||
match: "beta" | ||
layout: [] | ||
``` | ||
type: internal | ||
irVersion: 55 | ||
version: 0.50.4 | ||
|
||
- changelogEntry: | ||
- summary: | | ||
Fixes an issue where optional, nullable properties resulted in a double optional in the | ||
|
Oops, something went wrong.