Conversation
…acement Co-Authored-By: bot_apk <apk@cognition.ai>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
Requested by: mathieu |
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1774894502-document-theme-tabs-hierarchy.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: bot_apk <apk@cognition.ai>
devalog
approved these changes
Mar 30, 2026
|
|
||
| ## Tab alignment and placement options | ||
|
|
||
| You can now finetune how your tabs look and behave using `theme.tabs` in `docs.yml`. Choose between the default underline or bubble style, place tabs in the header or sidebar, and center-align header tabs from a single configuration block. |
Contributor
There was a problem hiding this comment.
[FernStyles.Current] Avoid time-relative terms like 'now' that become outdated
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Documents the new
theme.tabsobject configuration introduced in fern-api/fern#12983. Thetheme.tabssetting now accepts either a string shorthand ("default"|"bubble") or an object withstyle,alignment, andplacementproperties.Changes across 3 files:
theme.tabstype fromstring→string | object, added newParamFieldentries fortheme.tabs.style,theme.tabs.alignment, andtheme.tabs.placement.theme.tabs.placementas the primary way to move tabs to the header. Added a full object-form example showing style + alignment + centering.Updates since last revision
<Tabs>) component ("String form" / "Object form") into a single code block showing the object form integrated into the full theme example. The string shorthand is still documented in thetheme.tabsParamField description.Review & Testing Checklist for Human
#themetabs,#themetabsplacement,#themetabsalignment) and the changelog button link depend on how the docs site generates anchors fromParamFieldpaths with dots. Check that these link to the right sections on the rendered page.layout.tabs-placementis still findable. The tabs.mdx page now leads withtheme.tabs.placementinstead oflayout.tabs-placement. Verify users who search for the old property can still find the correct docs (it's still documented in the Layout section of site-level-settings).Notes
theme.tabs.placementproperty takes precedence overlayout.tabs-placementwhen both are set — this precedence note is included in theParamFielddescription.<Note>components.Link to Devin session: https://app.devin.ai/sessions/f192b1f289bf4588aad8216445a89c9b