Skip to content

docs(router): add "How To" section to docs navigation sidebar - #6804

Closed
sleitor wants to merge 1 commit into
TanStack:mainfrom
sleitor:fix-6801
Closed

docs(router): add "How To" section to docs navigation sidebar#6804
sleitor wants to merge 1 commit into
TanStack:mainfrom
sleitor:fix-6801

Conversation

@sleitor

@sleitorsleitor commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Fixes#6801

Summary

The docs/router/how-to/ directory contains 20+ focused, step-by-step guides covering authentication, search params, testing, SSR, deployment, UI library integration, and more — but none of them appeared in the docs navigation sidebar.

This PR adds a "How To" section to docs/router/config.json, positioned between "Guides" and "API", with entries for all existing how-to guides:

  • Install TanStack Router
  • Use Environment Variables
  • Deploy to Production
  • Set Up SSR
  • Migrate from React Router
  • Set Up Authentication / Auth Providers / RBAC
  • Navigate / Set Up / Validate / Share Search Params
  • Arrays, Objects & Dates in Search Params
  • Set Up Testing / Test File-Based Routing
  • Debug Router Issues
  • Integrate Shadcn UI / Material UI / Chakra UI / Framer Motion

Changes

  • docs/router/config.json: add "How To" section with 20 entries

Summary by CodeRabbit

  • Documentation
    • Added comprehensive "How To" guides section with 20 new articles covering essential topics including installation, deployment, authentication, search parameters, testing, debugging, and integration with popular UI frameworks.

The how-to/ directory contains 20+ step-by-step guides covering
authentication, search params, testing, SSR, UI integrations, and more,
but none of them were linked from the docs navigation config.
Add a new 'How To' section to docs/router/config.json between
'Guides' and 'API' with entries for all existing how-to guides.
FixesTanStack#6801
@coderabbitai

coderabbitaiBot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1acc8ea and fe88fa6.

📒 Files selected for processing (1)
  • docs/router/config.json

📝 Walkthrough

Walkthrough

A new "How To" section with 20 guide items is added to the TanStack Router documentation navigation configuration, including guides for installation, environment variables, deployment, SSR, authentication, search parameters, testing, debugging, and UI framework integrations.

Changes

Cohort / File(s)Summary
Documentation Configuration
docs/router/config.json
Added new "How To" section with 20 guide items covering installation, deployment, authentication, search parameters, testing, debugging, and UI framework integrations. Includes empty framework children arrays for react and solid.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested labels

documentation

Poem

🐰 A nav so grand, with guides galore,
How-tos aplenty, we now explore,
From SSR to auth so keen,
The finest docs you've ever seen! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check nameStatusExplanation
Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
Title check✅ PassedThe title clearly and concisely describes the main change: adding a 'How To' section to the docs navigation sidebar in the router configuration.
Linked Issues check✅ PassedThe PR adds a 'How To' section to docs/router/config.json with 20 how-to guides, directly addressing issue #6801's requirement to make the existing how-to directory discoverable in the navigation sidebar.
Out of Scope Changes check✅ PassedAll changes are scoped to adding the 'How To' section to the navigation configuration; no unrelated modifications are present.
Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

@github-actionsgithub-actionsBot added the documentation Everything documentation related label Mar 3, 2026
@nx-cloud

nx-cloudBot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit fe88fa6

CommandStatusDurationResult
nx run @benchmarks/client-nav:test:perf:solid❌ Failed1m 14sView ↗
nx run @benchmarks/client-nav:test:perf:vue✅ Succeeded1m 25sView ↗
nx run @benchmarks/client-nav:test:perf:react✅ Succeeded1m 27sView ↗

☁️ Nx Cloud last updated this comment at 2026-03-03 02:39:22 UTC

@pkg-pr-new

pkg-pr-newBot commented Mar 3, 2026

Copy link
Copy Markdown
More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@6804

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@6804

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@6804

@tanstack/nitro-v2-vite-plugin

npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@6804

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@6804

@tanstack/react-router-devtools

npm i https://pkg.pr.new/@tanstack/react-router-devtools@6804

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@6804

@tanstack/react-start

npm i https://pkg.pr.new/@tanstack/react-start@6804

@tanstack/react-start-client

npm i https://pkg.pr.new/@tanstack/react-start-client@6804

@tanstack/react-start-server

npm i https://pkg.pr.new/@tanstack/react-start-server@6804

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@6804

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@6804

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@6804

@tanstack/router-devtools-core

npm i https://pkg.pr.new/@tanstack/router-devtools-core@6804

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@6804

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@6804

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@6804

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@6804

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@6804

@tanstack/solid-router

npm i https://pkg.pr.new/@tanstack/solid-router@6804

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/@tanstack/solid-router-devtools@6804

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@6804

@tanstack/solid-start

npm i https://pkg.pr.new/@tanstack/solid-start@6804

@tanstack/solid-start-client

npm i https://pkg.pr.new/@tanstack/solid-start-client@6804

@tanstack/solid-start-server

npm i https://pkg.pr.new/@tanstack/solid-start-server@6804

@tanstack/start-client-core

npm i https://pkg.pr.new/@tanstack/start-client-core@6804

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/@tanstack/start-fn-stubs@6804

@tanstack/start-plugin-core

npm i https://pkg.pr.new/@tanstack/start-plugin-core@6804

@tanstack/start-server-core

npm i https://pkg.pr.new/@tanstack/start-server-core@6804

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/@tanstack/start-static-server-functions@6804

@tanstack/start-storage-context

npm i https://pkg.pr.new/@tanstack/start-storage-context@6804

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@6804

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@6804

@tanstack/vue-router

npm i https://pkg.pr.new/@tanstack/vue-router@6804

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/@tanstack/vue-router-devtools@6804

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@6804

@tanstack/vue-start

npm i https://pkg.pr.new/@tanstack/vue-start@6804

@tanstack/vue-start-client

npm i https://pkg.pr.new/@tanstack/vue-start-client@6804

@tanstack/vue-start-server

npm i https://pkg.pr.new/@tanstack/vue-start-server@6804

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@6804

commit: a3e8628

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Benchmarks

  • Commit: 1acc8eaf3a07
  • Measured at: 2026-03-03T02:33:42.982Z
  • Baseline source: history:1acc8eaf3a07
  • Dashboard: bundle-size history
ScenarioCurrent (gzip)Delta vs baselineRawBrotliTrend
react-router.minimal86.58 KiB0 B (0.00%)272.45 KiB75.22 KiB▅▅▅▅▅▅▅▅▅▅▅
react-router.full89.61 KiB0 B (0.00%)282.78 KiB77.90 KiB▅▅▅▅▅▅▅▅▅▅▅
solid-router.minimal35.88 KiB0 B (0.00%)107.56 KiB32.26 KiB▅▅▅▅▅▅▅▅▅▅▅
solid-router.full40.21 KiB0 B (0.00%)120.61 KiB36.13 KiB▅▅▅▅▅▅▅▅▅▅▅
vue-router.minimal51.75 KiB0 B (0.00%)147.54 KiB46.50 KiB▅▅▅▅▅▅▅▅▅▅▅
vue-router.full56.55 KiB0 B (0.00%)163.12 KiB50.86 KiB▅▅▅▅▅▅▅▅▅▅▅
react-start.minimal99.11 KiB0 B (0.00%)311.58 KiB85.68 KiB▅▅▅▅▅▅▅▅▅▅▅
react-start.full102.50 KiB0 B (0.00%)321.39 KiB88.63 KiB▁▁▁▁▁██████
solid-start.minimal48.19 KiB0 B (0.00%)145.13 KiB42.67 KiB▅▅▅▅▅▅▅▅▅▅▅
solid-start.full53.68 KiB0 B (0.00%)161.08 KiB47.37 KiB▁▁▁▁▁██████

Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better.

@codspeed-hq

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing sleitor:fix-6801 (fe88fa6) with main (1acc8ea)

Open in CodSpeed

@schiller-manuel

Copy link
Copy Markdown
Collaborator

the howtos are not ready for consumption. we might remove them or restructure completely

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

Labels

documentationEverything documentation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"How To" section is missing from the navigation sidebar of the TanStack Router documentation page

2 participants

@sleitor@schiller-manuel