Commit 476c4fe
docs: normalize external GitHub repo slugs in links and generators (#3198)
### Summary
Updates stale GitHub repo references across docs, generator templates,
and specs to match the canonical repository slugs —
`react_on_rails_demo_ssr_hmr` → `react-on-rails-demo-ssr-hmr`,
`react_on_rails-demos` → `react-on-rails-demos`,
`react-server-components-marketplace-demo` →
`react-on-rails-demo-marketplace-rsc`, and
`react-on-rails-migration-example` → `react-on-rails-example-migration`.
Generator templates, `demo_page_config`, and the
`create-react-on-rails-app` smoke-test grep are updated alongside docs
so freshly generated apps link to the correct repos; the main
`shakacode/react_on_rails` repo slug is intentionally preserved. Also
replaces one pre-existing broken `create-remix` link (surfaced by the
lychee pre-push hook) with the valid repo root URL.
### Pull Request checklist
- ~[ ] Add/update test to cover these changes~ — link-text only
- ~[ ] Update documentation~ — this PR *is* the doc update
- ~[ ] Update CHANGELOG file~ — no user-facing runtime change
### Other Information
Affected spec:
`react_on_rails/spec/react_on_rails/generators/install_generator_spec.rb`
now asserts the new marketplace RSC demo URL string.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: changes are limited to documentation/comment/link updates
plus matching spec/smoke-test string expectations, with no runtime
behavior changes.
>
> **Overview**
> Normalizes external GitHub links across docs, generator templates, and
generated landing-page configs to use the canonical repo slugs (notably
`react-on-rails-demo-ssr-hmr`, `react-on-rails-demos`, and
`react-on-rails-demo-marketplace-rsc`).
>
> Updates generator-produced link lists (`base_generator`,
`demo_page_config`) and corresponding checks in
`install_generator_spec.rb` and the `create-react-on-rails-app` smoke
test to assert the new URLs. Also fixes a broken `create-remix` link and
renames the migration example repo link to
`react-on-rails-example-migration`.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
12fef22. 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**
* Updated external repository links and displayed repo names across
guides, tutorials, READMEs, and NEWS to use consistent hyphenated
naming.
* **Chores**
* Adjusted generated templates, example links, and header/comment
references to point to the renamed example repositories and demo URLs.
* **Tests**
* Updated smoke/test expectations to match the renamed demo repository
links.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3605761 commit 476c4fe
32 files changed
Lines changed: 43 additions & 43 deletions
File tree
- .claude/docs
- analysis
- analysis
- open-issue-deep-dive
- bin
- docs/oss
- building-features
- core-concepts
- getting-started
- migrating
- packages/create-react-on-rails-app/scripts
- react_on_rails_pro/spec/execjs-compatible-dummy
- config/webpack
- react_on_rails
- lib/generators/react_on_rails
- templates/base/base
- config/webpack
- spec/react_on_rails/generators
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
| 538 | + | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments