Skip to content

Switch navigation to horizontal tabs#3495

Merged
qdequele merged 1 commit intomainfrom
switch-to-horizontal-tabs
Mar 10, 2026
Merged

Switch navigation to horizontal tabs#3495
qdequele merged 1 commit intomainfrom
switch-to-horizontal-tabs

Conversation

@qdequele
Copy link
Member

@qdequele qdequele commented Mar 9, 2026

Summary

  • Replace vertical anchor-based sidebar navigation with horizontal tab navigation in docs.json
  • Rename "API Reference" tab to "Reference"

Test plan

  • Run mintlify dev and verify the three tabs (Learn, Reference, Guides) appear as horizontal tabs at the top
  • Verify sidebar content under each tab remains unchanged

This PR is required for adding #3497 and #3496

Fixes #3489

Replace anchor-based sidebar navigation with horizontal tab navigation
for Learn, Reference, and Guides sections. Rename "API Reference" to
"Reference".

Entire-Checkpoint: 9c68757644a6
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

📝 Walkthrough

Walkthrough

The docs.json configuration file undergoes a structural refactoring of its navigation schema. The top-level property "anchors" is renamed to "tabs" within version definitions. Concurrently, nested "anchor" fields are renamed to "tab", and "icon" fields are removed from tab entries across the Learn, API Reference, and Guides sections.

Changes

Cohort / File(s) Summary
Navigation Schema Restructuring
docs.json
Renamed "anchors" to "tabs" at version level; renamed individual "anchor" to "tab" within each tab; removed "icon" field from tab definitions across Learn, API Reference, and Guides sections.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Tabs now organize the warren so neat,
Old anchors retire—their mission complete.
Icons hop off, our structure refined,
Navigation blooms with a cleaner design!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Switch navigation to horizontal tabs' directly and clearly describes the main change: converting the navigation structure from anchors to tabs in docs.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch switch-to-horizontal-tabs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@CaroFG CaroFG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@qdequele qdequele added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit 22e0476 Mar 10, 2026
2 of 3 checks passed
@qdequele qdequele deleted the switch-to-horizontal-tabs branch March 10, 2026 09:10
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.

Move main the navigation from vertical to horizontal

2 participants