rsnext/docs/02-app/02-api-reference
Lee Robinson 1c65c55750
docs: improve docs around geolocation and IP headers (#59719)
Based on feedback from https://github.com/vercel/next.js/issues/47793, I
made some improvements around the geolocation docs. Specifically around
`request.ip`, `request.geo`, and how to access these values. I noticed
there was a bit of a divergence, as some of the `NextRequest` and
`NextResponse` docs were split out for the App Router section, but not
all.

This PR finishes that swing by removing the previous catch-all for
`next/server` in the Pages Router docs and splits them into individual
docs pages.

Wrote a lil' thread about this:
https://twitter.com/leeerob/status/1736543599339172121

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-12-18 07:55:48 -06:00
..
01-components Move link examples to only Pages Router docs. (#57758) 2023-11-01 14:39:28 +00:00
02-file-conventions Docs: Document generateSitemaps (#59626) 2023-12-18 13:40:56 +01:00
04-functions docs: improve docs around geolocation and IP headers (#59719) 2023-12-18 07:55:48 -06:00
05-next-config-js docs: improve docs around geolocation and IP headers (#59719) 2023-12-18 07:55:48 -06:00
06-create-next-app.mdx Add the default import alias to create-next-app prompt for clarity (#55896) 2023-09-26 22:58:46 +00:00
07-edge.mdx Updates Mozilla links to not include language preference (#55326) 2023-09-13 11:06:29 -05:00
08-next-cli.mdx Remove the left padding in next info output (#55704) 2023-09-21 18:26:43 +00:00
index.mdx [Next Docs] Migrate new docs from next-site to Next.js repo (#50701) 2023-06-08 12:03:14 +02:00