You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in docs and not generated from the API spec. Here's an example file:
---
title: Tabs and headers
description: Headers repeat in TOC between tabs
slug: tabs-headers
---
## The first phase
Process for different OS's; A, B, and C
<Tabs>
<Tab title="A tab">
A tab
### First step a
### Second step A
### Third step a
</Tab>
<Tab title="B tab">
B tab
### first step B
### second step b
### third step b
</Tab>
<Tab title="C tab">
C tab
### first step c
### second step c
### third step c
</Tab>
</Tabs>
## The second phase
<Tabs>
<Tab title="A tab">
A tab
### First step a
### Second step A
### Third step a
</Tab>
<Tab title="B tab">
B tab
### first step B
### second step b
### third step b
</Tab>
<Tab title="C tab">
C tab
### first step c
### second step c
### third step c
</Tab>
</Tabs>
Actual UI Behavior
Expected UI Behavior
Would expect the autogenerated TOC to change depending on which tab is open.
## The first phase
### 1. Tab A
### 2. Tab A
### 3. Tab A
## The Second phase
### 1. Tab A
### 2. Tab A
### 3. Tab A
This is something most react.js docs frameworks really struggle with. The previous behavior is the ideal one, but the following would be an acceptable fix. It requires that all tabs have the same headers in each.
## The first phase
### 1. Same header for all tabs
### 2. Same header for all tabs
### 3. Same header for all tabs
## Second phase
### 1. Same header for all tabs
### 2. Same header for all tabs
### 3. Same header for all tabs
Steps to Reproduce
Build the included .mdx file using Fern
Environment Details
No response
The text was updated successfully, but these errors were encountered:
CLI Version (from
fern.config.json
)0.46.3
Minimal API Specification
This is in docs and not generated from the API spec. Here's an example file:
Actual UI Behavior
Expected UI Behavior
Would expect the autogenerated TOC to change depending on which tab is open.
This is something most react.js docs frameworks really struggle with. The previous behavior is the ideal one, but the following would be an acceptable fix. It requires that all tabs have the same headers in each.
Steps to Reproduce
Build the included .mdx file using Fern
Environment Details
No response
The text was updated successfully, but these errors were encountered: