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

Add config option to hide header tabs on certain pages #5814

Open
nateKlaux opened this issue Jan 31, 2025 · 0 comments
Open

Add config option to hide header tabs on certain pages #5814

nateKlaux opened this issue Jan 31, 2025 · 0 comments
Labels
feature Requests for new features. product/docs Fern Docs which builds and hosts a developer documentation site

Comments

@nateKlaux
Copy link

Feature Description

In the metadata of an article / mdx file, add an option to hide the header tabs of a navigation bar.

Use Case

Use this option this to create more customizable landing pages.

Proposed Experience (Optional)

In an article's metadata:

---
title: Article title
hide-header-tabs: true
---

And it'd render:

Image

Alternatives Considered (Optional)

Currently, I have client side Javascript that sets the display of nav.fern-header-tabs to none and the height of .fern-theme-default.fern-container .fern-header-container to auto, but the nav bar still flashes momentarily.

This is unideal though and occasionally the nav bar hides too slowly and users notice it disappear.

@nateKlaux nateKlaux added feature Requests for new features. product/docs Fern Docs which builds and hosts a developer documentation site labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for new features. product/docs Fern Docs which builds and hosts a developer documentation site
Development

No branches or pull requests

1 participant