From 6c944f2f5a09a68cb58072041fe39fdf1eaac6dc Mon Sep 17 00:00:00 2001 From: Morgan Carr <256248948+morgan-coded@users.noreply.github.com> Date: Fri, 29 May 2026 22:01:03 -0500 Subject: [PATCH] docs: fix broken links (#15113) Co-authored-by: Claude Opus 4.8 (1M context) --- docs/explanation/code-splitting.md | 2 +- docs/explanation/index-query-param.md | 4 ++-- docs/how-to/security.md | 2 +- docs/start/framework/actions.md | 1 - docs/start/framework/installation.md | 1 - 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/explanation/code-splitting.md b/docs/explanation/code-splitting.md index e5425dec20..4694d49acd 100644 --- a/docs/explanation/code-splitting.md +++ b/docs/explanation/code-splitting.md @@ -58,4 +58,4 @@ export default function Component({ loaderData }) { After building for the browser, only the `Component` will still be in the bundle, so you can use server-only code in the other module exports. -[route-module]: ../../start/framework/route-module +[route-module]: ../start/framework/route-module diff --git a/docs/explanation/index-query-param.md b/docs/explanation/index-query-param.md index d42a63dd48..663ff297eb 100644 --- a/docs/explanation/index-query-param.md +++ b/docs/explanation/index-query-param.md @@ -80,7 +80,7 @@ function Component() { } ``` -[loader]: ../api/data-routers/loader +[loader]: ../start/data/route-object#loader [form_element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form [form_component]: ../api/components/Form -[action]: ../api/data-routers/action +[action]: ../start/data/route-object#action diff --git a/docs/how-to/security.md b/docs/how-to/security.md index 9ac29e4a2d..e629f3249b 100644 --- a/docs/how-to/security.md +++ b/docs/how-to/security.md @@ -27,4 +27,4 @@ If you are implementing a [Content-Security-Policy (CSP)][csp] in your applicati [renderToReadableStream]: https://react.dev/reference/react-dom/server/renderToReadableStream [scripts]: ../api/components/Scripts [scrollrestoration]: ../api/components/ScrollRestoration -[serverrouter]: ../api/components/ServerRouter +[serverrouter]: ../api/framework-routers/ServerRouter diff --git a/docs/start/framework/actions.md b/docs/start/framework/actions.md index 7e65c563f0..5d3f4bb217 100644 --- a/docs/start/framework/actions.md +++ b/docs/start/framework/actions.md @@ -172,4 +172,3 @@ See the [Using Fetchers][fetchers] guide for more information. Next: [Navigating](./navigating) [fetchers]: ../../how-to/fetchers -[data]: ../../api/react-router/data diff --git a/docs/start/framework/installation.md b/docs/start/framework/installation.md index 768976c4a7..d1f8c4460b 100644 --- a/docs/start/framework/installation.md +++ b/docs/start/framework/installation.md @@ -37,6 +37,5 @@ npx create-react-router@latest --template remix-run/react-router-templates/