Fix: Broken links in error docs use hash anchors (`#runtime`,…
Fix: Broken links in error docs use hash anchors (`#runtime`, `#preferredregion`) pointing to the route-segment-config index page, but `runtime` and `preferredRegion` are separate subpages, not anchors on the index. This commit fixes the issue reported at errors/edge-runtime-deprecated.mdx:23 **Bug explanation:** The route segment config documentation was restructured into separate subpages under `docs/01-app/03-api-reference/03-file-conventions/02-route-segment-config/`. Each config option (`runtime`, `preferredRegion`, `dynamicParams`, etc.) now has its own `.mdx` file rather than being a heading/section on a single page. However, two error documentation files still use the old hash-anchor link format: - `errors/edge-runtime-deprecated.mdx` line 23: `/docs/app/api-reference/file-conventions/route-segment-config#runtime` — the `#runtime` anchor doesn't exist on the index page - `errors/preferred-region-deprecated.mdx` line 21: `/docs/app/api-reference/file-conventions/route-segment-config#preferredregion` — the `#preferredregion` anchor doesn't exist on the index page (and also has wrong casing — `preferredregion` vs `preferredRegion`) The index page at `route-segment-config/index.mdx` confirms this: it contains no `## runtime` or `## preferredRegion` headings. Instead, it links to subpages like `/docs/app/api-reference/file-conventions/route-segment-config/runtime`. **Fix explanation:** Updated both links to point to the correct subpage URLs: - `#runtime` → `/runtime` (subpage path) - `#preferredregion` → `/preferredRegion` (subpage path, with correct casing) This matches the linking pattern already used in the index page's table. Co-authored-by:Vercel <vercel[bot]@users.noreply.github.com> Co-authored-by:
timneutkens <tim@timneutkens.nl>
Showing
Please
register
or
sign in
to comment