From 9bfd45de1530ca55e6f1205d14eb94902c1b27d6 Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Wed, 2 Nov 2022 17:03:47 +0100 Subject: [PATCH 1/5] Fix broken link on the upgrading guide (#42340) I noticed this while browsing the updating guide. --- docs/upgrading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrading.md b/docs/upgrading.md index e1c7dc80e42fd..bd7539b659a02 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -28,7 +28,7 @@ pnpm up next react react-dom eslint-config-next --latest ## Migrating shared features -Next.js 13 introduces a new [`app` directory](https://beta.nextjs.org/docs/routing/fundamentals) with new features and conventions. However, upgrading to Next.js 13 does **not** require using the new [`app` directory](https://beta.nextjs.org/docs/routing/fundamentals.md#the-app-directory). +Next.js 13 introduces a new [`app` directory](https://beta.nextjs.org/docs/routing/fundamentals) with new features and conventions. However, upgrading to Next.js 13 does **not** require using the new [`app` directory](https://beta.nextjs.org/docs/routing/fundamentals#the-app-directory). You can continue using `pages` with new features that work in both directories, such as the updated [Image component](#image-component), [Link component](#link-component), [Script component](#script-component), and [Font optimization](#font-optimization). From 9f97833b7e543846595f8ef31821e059e7c78301 Mon Sep 17 00:00:00 2001 From: Aleksa Date: Wed, 2 Nov 2022 17:09:49 +0100 Subject: [PATCH 2/5] Fix typo: docs/api-reference/next/font.md (#42344) change typo 'Optmization' to 'Optimization' --- docs/api-reference/next/font.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-reference/next/font.md b/docs/api-reference/next/font.md index 19ee4b31d2d48..6d02fc1d86527 100644 --- a/docs/api-reference/next/font.md +++ b/docs/api-reference/next/font.md @@ -295,7 +295,7 @@ import { greatVibes, sourceCodePro400 } from '@/fonts'; From 85d537180ae36265d1c70f51656c52d23d038b8f Mon Sep 17 00:00:00 2001 From: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Date: Wed, 2 Nov 2022 17:25:16 +0000 Subject: [PATCH 3/5] Update getting-started.md (#42353) Clarify that Next.js 13 can be used with the `pages` directory and that `app` features are in Beta. Link to beta docs. Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> --- docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index ce6d5b2ed07e5..527273909adb8 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -2,7 +2,7 @@ description: Get started with Next.js in the official documentation, and learn more about all our features! --- -> Next.js 13 has been [publicly released](https://nextjs.org/blog/next-13), [read the docs here](https://beta.nextjs.org/docs). +> Next.js 13 was recently released, [learn more](https://nextjs.org/blog/next-13) and see the [upgrade guide](https://nextjs.org/docs/upgrading#upgrading-from-12-to-13). Version 13 also introduces beta features like the [`app` directory](https://beta.nextjs.org/docs/app-directory-roadmap) that works alongside the `pages` directory (stable) for incremental adoption. You can continue using `pages` in Next.js 13, but if you want to try the new `app` features, [see the new beta docs](https://beta.nextjs.org/docs). # Getting Started From 6bb8407bbfa7cb3d90e38c4950aab7043e300546 Mon Sep 17 00:00:00 2001 From: Alexander Kadyrov Date: Wed, 2 Nov 2022 22:09:16 +0400 Subject: [PATCH 4/5] Fix typo in usage of onError in script.md (#42368) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- docs/api-reference/next/script.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-reference/next/script.md b/docs/api-reference/next/script.md index 848df4200ac45..a8f95a41c0776 100644 --- a/docs/api-reference/next/script.md +++ b/docs/api-reference/next/script.md @@ -246,7 +246,7 @@ export default function Page() { <>