New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update App router documentation links #51661
Conversation
Notifying the following users due to files changed in this PR: @timneutkens, @ijjk, @shuding, @huozhi, @feedthejim:
This comment was posted based on the notify modifier. |
I noticed this as well. The problem is that these pages are shared between the app and pages router documentation, so changing them to app would mean they would link to the app router on the pages documentation. I was planning to go through all the shared documentation and separating all the links into and so that there isn't a bunch of switching between the routers when going through the links. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems correct at first but I think its going to have the opposite issue since a lot of the docs are the same for Pages and App Router.
For example, see these two:
- /docs/03-pages/02-api-reference/03-next-config-js/images.mdx
- /docs/02-app/02-api-reference/05-next-config-js/images.mdx
I'll defer to @delbaoliveira here since we need a way to link the two related pages together.
For now, you can wrap the links with the |
@delbaoliveira I made another pull request for this. #51733 |
Closing in favor of #51733 |
Some links in App router docs still point to Pages router docs, which could confuse users and lead to outdated information. This pull request updates the links to App router documentation.