next.js
ff102763 - Docs: Fix links to missing Pages Router sections (#102703)

Commit
11 hours ago
Docs: Fix links to missing Pages Router sections (#102703) Ten links in the Pages Router documentation open the right page but point to headings that only exist in its App Router version. For example, following “On-Demand Incremental Static Regeneration” from the `getStaticPaths` reference looks for `revalidatePath` instead of the Pages Router’s `res.revalidate()` section. - Point the seven ISR links to the `res.revalidate()` example. - Link both authentication guides to the DTO example in the App Router guide. - Keep the cache coordination and CDN section links in the App Router self-hosting guide. Both routers still link to their cache configuration and cache headers. Verified the target headings against the MDX on `canary`, resolving shared source pages and filtering the content for each router. <!-- NEXT_JS_LLM -->
Author
Parents
Loading