Skip to content

secondary nav bar poc - #5273

Draft
jsundai wants to merge 4 commits into
mainfrom
poc-secondary-nav-bar
Draft

secondary nav bar poc #5273
jsundai wants to merge 4 commits into
mainfrom
poc-secondary-nav-bar

Conversation

@jsundai

@jsundai jsundai commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

very much a poc + working draft. only showing a few sections as a poc. underlined vs segmented with gradient. contextually changing second nav bar. dev guides also have a contextual nav.

Notes to reviewers

Screenshot 2026-09-08 at 3 26 46 PM Screenshot 2026-09-08 at 4 18 53 PM

Changes

  • sidebars.js: an appended block lifts the four category objects into their
    own sidebar exports. The existing 2,211 lines are untouched, so the split can
    be reverted by deleting the block.
  • src/components/SecondaryNav/: the tab bar, plus the URL matching that
    decides which tab is active.
  • src/theme/Navbar/index.js: renders the bar under the existing navbar. The
    primary navbar is unchanged.
  • src/css/custom.css: --ifm-navbar-height now covers both header rows.
    Docusaurus sizes the doc sidebar, its sticky offsets, and anchor scroll
    positions from that variable, so without this the sidebar container's negative
    top margin pulls it up into the bar and its right border runs through the tabs.
    .navbar keeps its own 3.75rem height.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Sep 8, 2026 9:35pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant