Skip to content
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

[docs] Improve documentation around pageExtensions #40039

Merged
merged 6 commits into from Sep 30, 2022

Conversation

leerob
Copy link
Member

@leerob leerob commented Aug 28, 2022

Reverts #40016.

pageExtensions is not frequently used – as is mostly a workaround until the Layouts RFC lands. Thus, it doesn't make sense to place a note on the Middleware page and expect readers to need to connect the dots and understand pageExtensions.

Further, the example docs linked could be more specific about Middleware to prevent this confusion. I will also make that change here.

@leerob leerob changed the title Revert "[docs] Add precision about pageExtensions" [docs] Improve documentation around pageExtensions Aug 28, 2022
@leerob
Copy link
Member Author

leerob commented Sep 11, 2022

I think this is ready cc @balazsorban44

Copy link
Member

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments

@leerob
Copy link
Member Author

leerob commented Sep 30, 2022

This is now good to merge @balazsorban44 🙏

@balazsorban44 balazsorban44 merged commit 4f793fd into canary Sep 30, 2022
@balazsorban44 balazsorban44 deleted the revert-40016-patch-1 branch September 30, 2022 16:19
BowlingX pushed a commit to BowlingX/next.js that referenced this pull request Oct 5, 2022
Reverts vercel#40016.

`pageExtensions` is not frequently used – as is mostly a workaround
until the Layouts RFC lands. Thus, it doesn't make sense to place a note
on the Middleware page and expect readers to need to connect the dots
and understand `pageExtensions`.

Further, the example docs linked could be more specific about Middleware
to prevent this confusion. I will also make that change here.

Co-authored-by: Balázs Orbán <info@balazsorban.com>
Kikobeats pushed a commit to Kikobeats/next.js that referenced this pull request Oct 24, 2022
Reverts vercel#40016.

`pageExtensions` is not frequently used – as is mostly a workaround
until the Layouts RFC lands. Thus, it doesn't make sense to place a note
on the Middleware page and expect readers to need to connect the dots
and understand `pageExtensions`.

Further, the example docs linked could be more specific about Middleware
to prevent this confusion. I will also make that change here.

Co-authored-by: Balázs Orbán <info@balazsorban.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants