{title}
+{desc}
+From 13c1f986f1e6c3f02dfbd2e2dc5de181317bf4af Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 30 Apr 2025 03:14:40 +0000
Subject: [PATCH] sync docs@2341019
---
.../01-getting-started/01-installation.mdx | 28 +-
.../02-project-structure.mdx | 92 ++--
docs/01-app/01-getting-started/05-css.mdx | 374 +-------------
.../10-metadata-and-og-images.mdx | 22 +-
.../01-getting-started/11-deploying.mdx | 75 ++-
.../analytics.mdx} | 17 +-
.../authentication.mdx} | 138 ++---
docs/01-app/02-guides/ci-build-caching.mdx | 169 ++++++
.../content-security-policy.mdx} | 47 +-
.../css-in-js.mdx} | 47 +-
.../custom-server.mdx} | 24 +-
.../debugging.mdx} | 25 +-
docs/01-app/02-guides/draft-mode.mdx | 251 +++++++++
.../environment-variables.mdx} | 71 ++-
docs/01-app/02-guides/index.mdx | 32 +-
docs/01-app/02-guides/instrumentation.mdx | 123 +++++
.../lazy-loading.mdx} | 46 +-
.../local-development.mdx} | 37 +-
.../05-mdx.mdx => 02-guides/mdx.mdx} | 117 +++--
docs/01-app/02-guides/memory-usage.mdx | 137 +++++
.../migrating/app-router-migration.mdx | 74 +--
.../migrating/from-create-react-app.mdx | 100 ++--
docs/01-app/02-guides/migrating/from-vite.mdx | 90 ++--
docs/01-app/02-guides/multi-zones.mdx | 16 +-
docs/01-app/02-guides/open-telemetry.mdx | 386 ++++++++++++++
.../package-bundling.mdx} | 12 +-
.../01-app/02-guides/production-checklist.mdx | 120 ++---
.../progressive-web-apps.mdx} | 72 +--
.../03-sass.mdx => 02-guides/sass.mdx} | 25 +-
docs/01-app/02-guides/scripts.mdx | 485 ++++++++++++++++++
docs/01-app/02-guides/self-hosting.mdx | 278 ++++++++++
.../02-guides/single-page-applications.mdx | 40 +-
docs/01-app/02-guides/static-exports.mdx | 418 +++++++++++++++
docs/01-app/02-guides/testing/cypress.mdx | 305 +++++++++++
.../testing}/index.mdx | 0
.../testing/jest.mdx} | 56 +-
docs/01-app/02-guides/testing/playwright.mdx | 130 +++++
.../testing/vitest.mdx} | 12 +-
.../02-guides/third-party-libraries.mdx | 451 ++++++++++++++++
docs/01-app/02-guides/upgrading/codemods.mdx | 28 +-
.../01-app/02-guides/upgrading/version-14.mdx | 6 +-
.../02-videos.mdx => 02-guides/videos.mdx} | 98 ++--
.../01-routing/03-layouts-and-templates.mdx | 24 +-
.../01-routing/04-linking-and-navigating.mdx | 48 +-
.../01-routing/05-error-handling.mdx | 20 +-
.../06-loading-ui-and-streaming.mdx | 49 +-
.../01-routing/07-redirecting.mdx | 64 +--
.../01-routing/10-dynamic-routes.mdx | 34 +-
.../01-routing/14-middleware.mdx | 63 ++-
.../02-data-fetching/01-fetching.mdx | 70 +--
.../03-server-actions-and-mutations.mdx | 114 ++--
.../04-incremental-static-regeneration.mdx | 139 ++---
.../03-rendering/01-server-components.mdx | 34 +-
.../03-rendering/04-partial-prerendering.mdx | 39 +-
.../03-rendering/index.mdx | 70 ++-
.../06-optimizing/01-images.mdx | 132 ++---
.../06-optimizing/04-metadata.mdx | 36 +-
.../06-optimizing/05-scripts.mdx | 485 ------------------
.../06-optimizing/09-instrumentation.mdx | 128 -----
.../06-optimizing/10-open-telemetry.mdx | 381 --------------
.../06-optimizing/11-static-assets.mdx | 52 --
.../12-third-party-libraries.mdx | 450 ----------------
.../06-optimizing/13-memory-usage.mdx | 134 -----
.../06-optimizing/index.mdx | 36 +-
.../07-configuring/06-src-directory.mdx | 34 --
.../07-configuring/11-draft-mode.mdx | 250 ---------
.../07-configuring/index.mdx | 12 -
.../08-testing/03-playwright.mdx | 130 -----
.../08-testing/04-cypress.mdx | 305 -----------
.../10-deploying/02-static-exports.mdx | 417 ---------------
.../10-deploying/index.mdx | 407 ---------------
.../03-building-your-application/index.mdx | 10 +-
.../index.mdx => 04-deep-dive/caching.mdx} | 150 +++---
.../01-directives/use-cache.mdx | 45 +-
.../01-directives/use-server.mdx | 80 +--
.../05-api-reference/02-components/link.mdx | 124 ++---
.../05-api-reference/02-components/script.mdx | 38 +-
.../01-metadata/app-icons.mdx | 112 ++--
.../01-metadata/manifest.mdx | 16 +-
.../01-metadata/opengraph-image.mdx | 44 +-
.../01-metadata/robots.mdx | 24 +-
.../01-metadata/sitemap.mdx | 54 +-
.../03-file-conventions/index.mdx | 8 +-
.../instrumentation-client.mdx | 6 +-
.../03-file-conventions/instrumentation.mdx | 10 +-
.../03-file-conventions/mdx-components.mdx | 38 +-
.../03-file-conventions/public-folder.mdx | 45 ++
.../route-segment-config.mdx | 46 +-
.../03-file-conventions/src-folder.mdx | 35 ++
.../05-api-reference/04-functions/after.mdx | 104 +++-
.../04-functions/draft-mode.mdx | 50 +-
.../05-api-reference/04-functions/fetch.mdx | 46 +-
.../04-functions/generate-metadata.mdx | 104 ++--
.../04-functions/generate-static-params.mdx | 126 ++---
.../04-functions/revalidatePath.mdx | 22 +-
.../04-functions/revalidateTag.mdx | 29 +-
.../04-functions/unstable_cache.mdx | 10 +-
.../04-functions/use-report-web-vitals.mdx | 63 ++-
.../05-config/01-next-config-js/appDir.mdx | 7 +-
.../01-next-config-js/assetPrefix.mdx | 34 +-
.../05-config/01-next-config-js/compress.mdx | 25 +-
.../01-next-config-js/crossOrigin.mdx | 8 +-
.../05-config/01-next-config-js/dynamicIO.mdx | 23 +-
.../05-config/01-next-config-js/env.mdx | 23 +-
.../01-next-config-js/exportPathMap.mdx | 48 +-
.../05-config/01-next-config-js/headers.mdx | 167 +++---
.../incrementalCacheHandlerPath.mdx | 77 +--
.../05-config/01-next-config-js/output.mdx | 72 ++-
.../01-next-config-js/pageExtensions.mdx | 20 +-
.../01-next-config-js/reactCompiler.mdx | 14 +-
.../05-config/01-next-config-js/rewrites.mdx | 54 +-
.../serverExternalPackages.mdx | 11 +-
.../01-next-config-js/staleTimes.mdx | 28 +-
.../01-next-config-js/trailingSlash.mdx | 10 +-
.../01-next-config-js/viewTransition.mdx | 8 +-
.../05-config/01-next-config-js/webpack.mdx | 42 +-
.../05-api-reference/05-config/03-eslint.mdx | 92 ++--
docs/01-app/05-api-reference/06-cli/next.mdx | 94 ++--
docs/01-app/05-api-reference/07-edge.mdx | 166 +++---
docs/01-app/05-api-reference/08-turbopack.mdx | 18 +-
docs/03-architecture/supported-browsers.mdx | 40 +-
kj-diff.json | 176 +++++--
next.js | 2 +-
.../dark/client-and-server-environments.avif | Bin 21044 -> 20308 bytes
.../light/client-and-server-environments.avif | Bin 16772 -> 16759 bytes
static/img/learn/dark/thinking-in-ppr.avif | Bin 24862 -> 16524 bytes
static/img/learn/light/thinking-in-ppr.avif | Bin 21122 -> 14367 bytes
127 files changed, 5923 insertions(+), 6006 deletions(-)
rename docs/01-app/{03-building-your-application/06-optimizing/08-analytics.mdx => 02-guides/analytics.mdx} (83%)
rename docs/01-app/{03-building-your-application/09-authentication/index.mdx => 02-guides/authentication.mdx} (84%)
create mode 100644 docs/01-app/02-guides/ci-build-caching.mdx
rename docs/01-app/{03-building-your-application/07-configuring/15-content-security-policy.mdx => 02-guides/content-security-policy.mdx} (67%)
rename docs/01-app/{03-building-your-application/05-styling/04-css-in-js.mdx => 02-guides/css-in-js.mdx} (77%)
rename docs/01-app/{03-building-your-application/07-configuring/10-custom-server.mdx => 02-guides/custom-server.mdx} (69%)
rename docs/01-app/{03-building-your-application/07-configuring/16-debugging.mdx => 02-guides/debugging.mdx} (83%)
create mode 100644 docs/01-app/02-guides/draft-mode.mdx
rename docs/01-app/{03-building-your-application/07-configuring/03-environment-variables.mdx => 02-guides/environment-variables.mdx} (64%)
create mode 100644 docs/01-app/02-guides/instrumentation.mdx
rename docs/01-app/{03-building-your-application/06-optimizing/07-lazy-loading.mdx => 02-guides/lazy-loading.mdx} (62%)
rename docs/01-app/{03-building-your-application/06-optimizing/14-local-development.mdx => 02-guides/local-development.mdx} (79%)
rename docs/01-app/{03-building-your-application/07-configuring/05-mdx.mdx => 02-guides/mdx.mdx} (81%)
create mode 100644 docs/01-app/02-guides/memory-usage.mdx
create mode 100644 docs/01-app/02-guides/open-telemetry.mdx
rename docs/01-app/{03-building-your-application/06-optimizing/06-package-bundling.mdx => 02-guides/package-bundling.mdx} (77%)
rename docs/01-app/{03-building-your-application/07-configuring/16-progressive-web-apps.mdx => 02-guides/progressive-web-apps.mdx} (84%)
rename docs/01-app/{03-building-your-application/05-styling/03-sass.mdx => 02-guides/sass.mdx} (58%)
create mode 100644 docs/01-app/02-guides/scripts.mdx
create mode 100644 docs/01-app/02-guides/self-hosting.mdx
create mode 100644 docs/01-app/02-guides/static-exports.mdx
create mode 100644 docs/01-app/02-guides/testing/cypress.mdx
rename docs/01-app/{03-building-your-application/08-testing => 02-guides/testing}/index.mdx (100%)
rename docs/01-app/{03-building-your-application/08-testing/02-jest.mdx => 02-guides/testing/jest.mdx} (78%)
create mode 100644 docs/01-app/02-guides/testing/playwright.mdx
rename docs/01-app/{03-building-your-application/08-testing/01-vitest.mdx => 02-guides/testing/vitest.mdx} (85%)
create mode 100644 docs/01-app/02-guides/third-party-libraries.mdx
rename docs/01-app/{03-building-your-application/06-optimizing/02-videos.mdx => 02-guides/videos.mdx} (60%)
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/05-scripts.mdx
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/09-instrumentation.mdx
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/10-open-telemetry.mdx
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/11-static-assets.mdx
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/12-third-party-libraries.mdx
delete mode 100644 docs/01-app/03-building-your-application/06-optimizing/13-memory-usage.mdx
delete mode 100644 docs/01-app/03-building-your-application/07-configuring/06-src-directory.mdx
delete mode 100644 docs/01-app/03-building-your-application/07-configuring/11-draft-mode.mdx
delete mode 100644 docs/01-app/03-building-your-application/07-configuring/index.mdx
delete mode 100644 docs/01-app/03-building-your-application/08-testing/03-playwright.mdx
delete mode 100644 docs/01-app/03-building-your-application/08-testing/04-cypress.mdx
delete mode 100644 docs/01-app/03-building-your-application/10-deploying/02-static-exports.mdx
delete mode 100644 docs/01-app/03-building-your-application/10-deploying/index.mdx
rename docs/01-app/{03-building-your-application/04-caching/index.mdx => 04-deep-dive/caching.mdx} (73%)
create mode 100644 docs/01-app/05-api-reference/03-file-conventions/public-folder.mdx
create mode 100644 docs/01-app/05-api-reference/03-file-conventions/src-folder.mdx
diff --git a/docs/01-app/01-getting-started/01-installation.mdx b/docs/01-app/01-getting-started/01-installation.mdx
index 46b161e7..68def7d0 100644
--- a/docs/01-app/01-getting-started/01-installation.mdx
+++ b/docs/01-app/01-getting-started/01-installation.mdx
@@ -4,7 +4,7 @@ nav_title: 'インストール'
description: '`create-next-app` CLIを使用して新しい Next.js アプリケーションを作成し、TypeScript、ESLint、モジュールパスエイリアスを設定します。'
---
-{/* このドキュメントの内容は、app router と pages router の両方で共有されています。Pages Router に特有の内容を追加するには、`
{desc}
+{desc}
+