Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table of contents should only show headings that are currently visible #6135

Open
zachkirsch opened this issue Feb 22, 2025 · 0 comments
Open

Comments

@zachkirsch
Copy link
Contributor

zachkirsch commented Feb 22, 2025

Which Fern component?

Fern Docs

How urgent is this?

P2 - Medium (Would be helpful)

What's the issue?

Right now, the table of contents on a docs page should all the headings - even the ones that are hidden in other tabs.

IMO, the table of contents should only show the headings that are on the currently-rendered page.

Example from fern's docs:

Image

Workaround

No response

Logs & Additional Context

No response

Are you interested in contributing a fix?

Maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant