Skip to content

docs(router): restructure docs to use the unified markdown syntax#6665

Merged
SeanCassiere merged 12 commits intomainfrom
generic-documentation
Feb 15, 2026
Merged

docs(router): restructure docs to use the unified markdown syntax#6665
SeanCassiere merged 12 commits intomainfrom
generic-documentation

Conversation

@SeanCassiere
Copy link
Member

@SeanCassiere SeanCassiere commented Feb 14, 2026

Requires TanStack/tanstack.com#716 to be merged at the same time.

The api reference docs are largely unchanged, which means it might have some React-isms which is fine for now, given that without this SolidJS users pretty didn't have these at all.

Summary by CodeRabbit

  • Documentation
    • Reorganized router docs into clearer framework-specific sections and tabs for React and Solid.
    • Expanded Getting Started with Overview, Quick Start, Devtools, Decisions on DX, LLM Support, Comparison, and FAQ.
    • Added many framework-specific examples and guidance across Quick Start, Devtools, FAQ, Decisions and Comparison.
    • Condensed/removed several Solid-specific mirrored pages and cross-reference metadata.

@github-actions github-actions bot added the documentation Everything documentation related label Feb 14, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 14, 2026

📝 Walkthrough

Walkthrough

The PR restructures router documentation: it populates the Getting Started navigation, clears framework-specific children for React and Solid in docs/router/config.json, consolidates framework-specific content into shared pages with React/Solid sections, and removes or strips several Solid-specific doc files and cross-reference front-matter.

Changes

Cohort / File(s) Summary
Navigation Configuration
docs/router/config.json
Populated sections[0].children with Getting Started entries (Overview, Quick Start, Devtools, Decisions on DX, LLM Assistance Support, Comparison, FAQ); cleared frameworks[].children for react and solid.
Shared router docs — framework scoping
docs/router/decisions-on-dx.md, docs/router/devtools.md, docs/router/faq.md, docs/router/quick-start.md, docs/router/comparison.md
Added framework-scoped blocks/tabs and start/end framework markers for React and Solid; replaced generic links with framework-specific paths and reorganized examples into per-framework sections.
Removed/stripped Solid framework files
docs/router/framework/solid/...
docs/router/framework/solid/overview.md, .../quick-start.md, .../devtools.md, .../faq.md, .../llm-support.md, .../decisions-on-dx.md
Deleted or removed front-matter and replace-mapping content from Solid-specific docs that previously mirrored React; Solid cross-reference lines removed.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • brenelz
  • schiller-manuel
  • birkskyum

Poem

🐇 I hopped through folders, nibbling docs with glee,

Tabs for React and Solid now sit side-by-side with me.
Nav grew pages, Solid notes were pruned with care,
Examples split cleanly so each framework has its share.
A little hop, a joyful tweak — docs gleam in morning air.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main
Title check ✅ Passed The title accurately describes the main objective: restructuring router documentation to use unified markdown syntax across multiple files and framework-specific sections.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch generic-documentation

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.

@nx-cloud
Copy link

nx-cloud bot commented Feb 14, 2026

View your CI Pipeline Execution ↗ for commit 75a79ca

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded <1s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-15 07:35:06 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 14, 2026

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/arktype-adapter@6665

@tanstack/eslint-plugin-router

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

@tanstack/history

npm i https://pkg.pr.new/TanStack/router/@tanstack/history@6665

@tanstack/nitro-v2-vite-plugin

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

@tanstack/react-router

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

@tanstack/react-router-devtools

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

@tanstack/react-router-ssr-query

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

@tanstack/react-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start@6665

@tanstack/react-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-client@6665

@tanstack/react-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-server@6665

@tanstack/router-cli

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

@tanstack/router-core

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

@tanstack/router-devtools

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

@tanstack/router-devtools-core

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

@tanstack/router-generator

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

@tanstack/router-plugin

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

@tanstack/router-ssr-query-core

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

@tanstack/router-utils

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

@tanstack/router-vite-plugin

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

@tanstack/solid-router

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

@tanstack/solid-router-devtools

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

@tanstack/solid-router-ssr-query

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

@tanstack/solid-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start@6665

@tanstack/solid-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-client@6665

@tanstack/solid-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-server@6665

@tanstack/start-client-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-client-core@6665

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-fn-stubs@6665

@tanstack/start-plugin-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-plugin-core@6665

@tanstack/start-server-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-core@6665

@tanstack/start-static-server-functions

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

@tanstack/start-storage-context

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-storage-context@6665

@tanstack/valibot-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/valibot-adapter@6665

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/TanStack/router/@tanstack/virtual-file-routes@6665

@tanstack/vue-router

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

@tanstack/vue-router-devtools

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

@tanstack/vue-router-ssr-query

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

@tanstack/vue-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start@6665

@tanstack/vue-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-client@6665

@tanstack/vue-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-server@6665

@tanstack/zod-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/zod-adapter@6665

commit: 75a79ca

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/router/quick-start.md (1)

58-60: ⚠️ Potential issue | 🟡 Minor

"existing React project" is also framework-specific in a now-generic page.

Line 60 still reads "If you have an existing React project and want to add TanStack Router to it…" — this should be broadened to match the framework-agnostic scope of the page, especially since the Requirements section immediately below already has framework-specific blocks for React and Solid.

✏️ Suggested fix
-If you have an existing React project and want to add TanStack Router to it, you can install it manually.
+If you have an existing project and want to add TanStack Router to it, you can install it manually.
🤖 Fix all issues with AI agents
In `@docs/router/decisions-on-dx.md`:
- Around line 17-18: Fix the grammatical fragment in the tip block that starts
with "[!TIP]": replace the phrase "The examples in this guide where components
and code snippets are written in React" with a complete clause such as "The
examples in this guide, where components and code snippets are written in React,
..." or "The examples in this guide show components and code snippets written in
React..." and keep the rest of the sentence about Solid unchanged so the full
tip reads clearly and grammatically correct.

In `@docs/router/devtools.md`:
- Around line 274-289: The Solid example uses TanStackRouterDevtoolsPanel with
prop className but the DevtoolsPanel Options section documents the Solid prop as
class; update one to match the other for consistency. Edit the example or the
Options docs so both use the same prop name (either change the example to
class={class} or change the Options docs to document className for
TanStackRouterDevtoolsPanel) and ensure the referenced symbol
TanStackRouterDevtoolsPanel and example usage in the App function are updated
accordingly.

In `@docs/router/quick-start.md`:
- Line 25: The sentence "Once complete, a new React project will be generated
with TanStack Router installed and ready to use." is framework-specific; update
it to be framework-agnostic by replacing "React project" with a neutral phrase
such as "project" or "project for your chosen framework" (e.g., "Once complete,
a new project for your chosen framework will be generated with TanStack Router
installed and ready to use.") so the quick-start applies correctly to both React
and Solid scaffolding.
🧹 Nitpick comments (1)
docs/router/devtools.md (1)

245-245: Live example link is React-only.

This link points to the React devtools panel example. Since the page now covers both frameworks, consider either noting that it's a React example or adding a Solid equivalent if one exists.

@SeanCassiere SeanCassiere marked this pull request as draft February 14, 2026 23:11
@SeanCassiere SeanCassiere changed the title Generic documentation for router docs(router): restructure docs to use the unified markdown syntax Feb 15, 2026
@SeanCassiere SeanCassiere marked this pull request as ready for review February 15, 2026 07:30
@SeanCassiere SeanCassiere merged commit e8c5dd0 into main Feb 15, 2026
7 of 8 checks passed
@SeanCassiere SeanCassiere deleted the generic-documentation branch February 15, 2026 08:00
Sheraff pushed a commit that referenced this pull request Feb 15, 2026
)

* docs: move overview page

* docs: move all top-level guides to use generic syntax

* make comparison generic

* apply coderabbit suggestions

* docs: move installation guides

* docs: move integrations

* docs: move routing

* docs: move router reference api

* docs: move guides

* docs: fixup links to guides from api reference

* docs: other fixups

* build(llms): LLM generation to account for doc structure change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Everything documentation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant