Commit e9e27a2
Simplify the docs sidebar and Pro landing pages (#3119)
### Summary
Simplify the docs information architecture by removing redundant
top-level sidebar sections, regrouping Building Features, keeping
Deployment visible, and nesting React Server Components under React on
Rails Pro. Add release note archive pages and turn `home-pro` into a
compatibility page so the sidebar can be simplified without changing
existing doc routes.
### Pull Request checklist
- [x] ~Add/update test to cover these changes~
- [x] Update documentation
- [x] ~Update CHANGELOG file~
### Other Information
Validated with `pnpm exec eslint docs/sidebars.ts`, `pnpm exec prettier
--check` on the changed files, and a doc-id existence check covering 105
sidebar references. I did not run a full Docusaurus build in this
workspace.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk documentation-only change; primary risk is broken navigation
if the stub/exclusion IDs don’t match Docusaurus doc IDs.
>
> **Overview**
> Adds an **unlisted URL-compatibility stub** at `docs/pro/home-pro.md`
that keeps the legacy `pro/home-pro` route working and directs readers
to the canonical `pro/react-on-rails-pro` page (with a small set of Pro
quick links).
>
> Updates sidebar exclusion configuration (`docs/.sidebar-exclusions`
and comments in `docs/sidebars.ts`) to explicitly exclude `pro/home-pro`
from navigation so it functions purely as a compatibility entry point.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
d7ed940. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Added an unlisted Pro home compatibility stub that links to the
canonical Pro landing and includes a “Quick Links” section to Pro
resources (installation, OSS→Pro upgrade, React Server Components,
Streaming SSR, Node Renderer).
* Excluded the stub from the site sidebar so it serves as a
URL-compatibility redirect to the main Pro landing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bb0748c commit e9e27a2
3 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments