36 Commits
Author SHA1 Message Date
Lee RobinsonandGitHub 12e64cf0ae docs: Update command to use npx for tracing files (#83903)
This was easier than needing to modify `package.json` or similar. Thank
you!

_(Hello from the otheeerr siiiiiiiddeeee 🎶)_
2025-09-17 18:25:33 +02:00
Lee RobinsonandGitHub 6a91ff2cfa docs: streaming responses with pages API routes (#79269) 2025-05-16 15:23:45 -05:00
Lee RobinsonandGitHub 0d34b3cc7d docs: improve "use server" inline example (#78653) 2025-04-29 10:12:30 -05:00
Lee RobinsonandGitHub 27d2fa2838 docs: remove Vercel mentions and improve deployment page (#78557)
This PR prunes references to Vercel in the documentation. Some of the
mentions were egregious and unneeded. Others were documenting specific
behavior for how Next.js runs on Vercel, which is better suited for the
Vercel documentation.

It also restructures our deployment documentation to remove any previous
bias toward Vercel. Rather than separating self-hosting (Node.js server,
Docker, static export) into its own section from managed platforms, it
now lists them all together. Vercel is listed under "Adapters",
alongside Netlify, Cloudflare, and AWS Amplify (in alphabetical order).
These are the companies we're working with on the [Deployment Adapters
API](https://github.com/vercel/next.js/discussions/77740), who currently
maintain their own adapters and will eventually migrate to use this new
API. We've [started working
on](https://github.com/vercel/next.js/pull/78166) that API.

For different features in the docs, like ISR or Middleware, this PR also
adds a new feature matrix that shows the different deployment options
and whether this feature is supported. For example, features that
require using the server are not supported with static exports.
Additionally, when there is configuration possible (like changing the
caching behavior of ISR) we link back to our guide which explains these
options in detail.


![image](https://github.com/user-attachments/assets/6dff819b-c46f-4b1a-833c-0827c6ef8735)

This PR also updates the Middleware section of the self-hosting guide to
mention [Node.js runtime
support](https://nextjs.org/blog/next-15-2#nodejs-middleware-experimental).

I've also removed the "Managed Next.js (Vercel)" entry for the docs
sidebar, as it is not necessary and Vercel should not have additional
priority there over other providers.


![image](https://github.com/user-attachments/assets/6d3291b8-f9bd-47e7-a21e-b843c0e1ef0c)


Netlify has confirmed they're okay with the specific feature matrix link
included in the adapters section, and I did my best to include the
Cloudflare and Amplify versions based on their documentation. If any of
the providers want to see changes to those links, please let me know and
I'll open a PR.
2025-04-25 15:28:09 -05:00
Lee RobinsonandGitHub 7eb3ff45a9 docs: update redirected link (#78527) 2025-04-24 22:23:03 -05:00
Lee RobinsonandGitHub 0619059568 docs: added a few legacy version tags (#78506) 2025-04-24 16:14:49 +01:00
Lee RobinsonandGitHub 4a97643664 examples: fix readmes (#78483) 2025-04-23 20:48:58 -05:00
Lee RobinsonandGitHub 27bb7066dc docs: revert image 15.3 change until live (#77941) 2025-04-08 12:54:25 -05:00
Lee RobinsonandGitHub 030b0382c8 docs: instrumentation-client follow up (#77752)
Small follow-up
2025-04-02 20:53:59 -05:00
Lee RobinsonandGitHub 6b8a3cc740 docs: fix typo (#77483) 2025-03-24 17:04:13 -07:00
Lee RobinsonandGitHub 3468f10cbb docs: clarify middleware use cases (#77438) 2025-03-23 08:46:57 -05:00
Lee RobinsonandGitHub 3ab033de01 docs: optimizing local dev (#77140) 2025-03-18 11:01:26 -05:00
Lee RobinsonandGitHub 768183c5dd docs: update API example (#76987)
Make it clear this is not a real function
2025-03-11 18:52:21 -05:00
Lee RobinsonandGitHub 494cac1fde docs: update Turbopack docs (#76799) 2025-03-06 19:09:08 -06:00
Lee RobinsonandGitHub 170e8a4a27 docs: Tailwind v4 (#76801) 2025-03-04 09:23:53 -06:00
Lee RobinsonandGitHub 9eb47f11c0 docs: fix reading params code blocks (#76705)
These function the same, but the updated version looks cleaner.
2025-03-01 12:38:08 -06:00
Lee RobinsonandGitHub 7aa6040a54 examples: Fix prettier issue (#76027)
Follow up from https://github.com/vercel/next.js/pull/75750.
2025-02-14 00:25:40 +01:00
Lee RobinsonandGitHub cf73ab10eb examples: fix search usage (#75972) 2025-02-12 11:41:00 -06:00
Lee RobinsonandGitHub 5b671c122d docs: fix prettier error (#75968) 2025-02-12 10:55:27 -06:00
106e17ca8f docs: recommend webp over avif (#75966)
Co-authored-by: Steven <[email protected]>
2025-02-12 10:43:41 -06:00
Lee RobinsonandGitHub bd1a84dc50 docs: fix use pattern (#75529) 2025-02-12 10:34:05 -06:00
Lee RobinsonandGitHub af2405678b docs: update CRA guide (#75939) 2025-02-11 21:01:27 -06:00
ab6aeab515 docs: improve JSDocs for metadata and <Link> (#75576)
Co-authored-by: Jiachi Liu <[email protected]>
2025-02-09 20:36:26 +00:00
Lee RobinsonandGitHub 13bcbf0d7a docs: follow up fix (#75760)
This was wrong https://github.com/vercel/next.js/pull/75693
2025-02-06 13:53:56 -06:00
Lee RobinsonandGitHub b3907454d4 docs: remove unused imports (#75653) 2025-02-04 07:16:23 -06:00
Lee RobinsonandGitHub cdb275c7b8 docs: clarify env vars (#75488) 2025-01-30 20:56:38 -06:00
Lee RobinsonandGitHub c0d23aee2f docs: specify encryption for custom actions key (#75425)
If you are overriding the server actions encryption key, you need to
also ensure it uses AES-GCM encrpytion.
2025-01-29 12:25:11 -06:00
Lee RobinsonandGitHub 38efbed5b1 docs: add optimizations for navigating between App/Pages router (#75427) 2025-01-29 08:53:25 -06:00
Lee RobinsonandGitHub 3c445595c6 create-next-app: default to ESLint disabled (#73864)
You can optionally enable it, if desired, but this gives you one less
config file by default.
2025-01-28 13:33:00 -08:00
Lee RobinsonandGitHub 921fdfa7e0 docs: remove infinite looping redirect (#75376) 2025-01-27 17:02:25 -06:00
3e7a510fa4 docs: opengraph-image files work with the node.js runtime (#75274)
Co-authored-by: Jiachi Liu <[email protected]>
2025-01-24 15:08:13 +00:00
Lee RobinsonandGitHub 9cc6e96ed5 docs: Update robots for generateMetadata spec (#75229)
Typically you would want things to be indexed, so flipping the defaults
shown.
2025-01-23 09:06:59 -06:00
Lee RobinsonandGitHub 2eb590bc1e docs: update Next.js 15 versions in upgrade guide (#74960) 2025-01-17 21:15:00 -06:00
Lee RobinsonandGitHub 106043a573 docs: unstable_cache clarify usage (#74802) 2025-01-12 09:51:47 -06:00
Lee RobinsonandGitHub afdaf1abfa docs: fix typo (#74657)
Oops.
2025-01-08 13:06:00 -06:00
5fd16c762a docs: SPAs (#74605)
This documents how to build Single-Page Applications with Next.js.

---------

Co-authored-by: Delba de Oliveira <[email protected]>
Co-authored-by: Rich Haines <[email protected]>
2025-01-08 12:38:50 -06:00