🌿 Fern Scribe: Add docs for collapsed:true for docs.yml... #318
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🌿 Fern Scribe Documentation Update
Original Request: Add docs for collapsed:true for docs.yml
Files Updated:
fern/products/docs/pages/navigation/overview.mdx
Priority: Medium
Related Discussion: https://buildwithfern.slack.com/archives/C08801YNZG9/p1749740586553209
Additional Context: No response
The following files could not be updated due to MDX validation failures after 3 attempts:
1.
/learn/docs/writing-content/components/accordions
(Accordions)Suggested Content (needs manual MDX fixes):
2.
/learn/docs/navigation/changelogs
(Changelogs)Suggested Content (needs manual MDX fixes):
Once you've configured your changelog, specify where it should appear within your docs in your
```yaml {8-11,17} tabs: guides: display-name: Guides icon: light book-open api: display-name: API Reference icon: light code changelog: display-name: Changelog icon: light clock changelog: ./changelogdocs.yml
.navigation:
layout:
...
Once you've configured your changelog, specify where it should appear within your navigation in your
```yaml {9-11} navigation: - section: Introduction contents: - page: Authentication path: ./pages/authentication.mdx - page: Versioning path: ./pages/versioning.mdx - api: API Reference - changelog: ./changelog title: Release Notes slug: api-release-notes ``` Section-level changelogs **cannot** be nested within an `api` entry. See [API-level changelogs](#api-level-changelog) to add an API-level entry.docs.yml
.Navigation Options
Collapsed Sections
You can configure sections to be collapsed by default using the
```yaml navigation: - section: React collapsed: true contents: - page: Overview path: ./pages/react/overview.mdx - page: Installation path: ./pages/react/installation.mdx ```collapsed
property in yourdocs.yml
. This is useful for organizing large documentation sets with many sections.The
collapsed
property can be applied to any section in your navigation. When set totrue
, the section will be collapsed by default when users first load the documentation. Users can still expand the section by clicking on it.Create a Changelog Overview
You can include a high-level overview at the top of your changelog by adding an
overview.mdx
file to yourchangelog
folder.This is useful for summarizing major themes, linking to external release notes, or giving users context before diving into specific entries.
If an
overview.mdx
file is present, it will appear above the list of changelog entries automatically—no additional configuration needed.Write a Changelog Entry
Create a new changelog entry by writing a Markdown file. You can use
```mdx ## Summary.md
or.mdx
files. The benefit of using.mdx
is that you can leverage the built-in component library within an entry.In the latest release, we've added endpoints to create a new Plant.
What's new?
New endpoints:
... [Content truncated due to length]