diff --git a/contributing/core/developing.md b/contributing/core/developing.md index 544d8589df72..68e2cfcdf5c0 100644 --- a/contributing/core/developing.md +++ b/contributing/core/developing.md @@ -168,7 +168,7 @@ $ pnpm unpack-next path/to/project ## Developing the Dev Overlay -The dev overlay is a feature of Next.js that allows you to see the internal state of the app including the errors. To learn more about contributing to the dev overlay, see the [Dev Overlay README.md](../../packages/next/src/client/components/react-dev-overlay/README.md). +The dev overlay is a feature of Next.js that allows you to see the internal state of the app including the errors. To learn more about contributing to the dev overlay, see the [Dev Overlay README.md](../../packages/next/src/next-devtools/README.md). ## `NODE_ENV` vs `__NEXT_DEV_SERVER` diff --git a/examples/cms-graphcms/README.md b/examples/cms-graphcms/README.md index 82e673917e73..9dd9323bfe1e 100644 --- a/examples/cms-graphcms/README.md +++ b/examples/cms-graphcms/README.md @@ -110,7 +110,7 @@ In GraphCMS, go to one of the posts in your project and: - **Update the title**. For example, you can add `[Draft]` in front of the title. - After you edit the document save the article as a draft, but **DO NOT** click **Publish**. By doing this, the post will be in the draft stage. -Now, if you go to the post page on localhost, you won't see the updated title. However, if you use **Preview Mode**, you'll be able to see the change ([Documentation](/docs/advanced-features/preview-mode.md)). +Now, if you go to the post page on localhost, you won't see the updated title. However, if you use **Preview Mode**, you'll be able to see the change ([Documentation](https://nextjs.org/docs/pages/guides/preview-mode)). To view the preview, transform the url to the following format: `http://localhost:3000/api/preview?secret=&slug=` where `` is the same secret you defined in the `.env.local` file and `` is the slug of one of the posts you want to preview. diff --git a/examples/cms-umbraco-heartcore/README.md b/examples/cms-umbraco-heartcore/README.md index 17ac0e241740..3cc65c581676 100644 --- a/examples/cms-umbraco-heartcore/README.md +++ b/examples/cms-umbraco-heartcore/README.md @@ -88,7 +88,7 @@ Then set each variable in `.env.local`: - `UMBRACO_PROJECT_ALIAS`: Set it to the project alias, which can be found under **Settings** -> **Headless**. - `UMBRACO_API_KEY`: Create a new API Key under **Users > "Your Username" > API Keys**. -- `UMBRACO_PREVIEW_SECRET` can be any random string (but avoid spaces), like `MY_SECRET` - this is used for [Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode). +- `UMBRACO_PREVIEW_SECRET` can be any random string (but avoid spaces), like `MY_SECRET` - this is used for [Preview Mode](https://nextjs.org/docs/pages/guides/preview-mode). Your `.env.local` file should look like this: @@ -119,7 +119,7 @@ Then click save and go back to the **Content** section, click on _Posts_ and the - **Update the title**. For example, you can add `[Draft]` in front of the title. - Click **Save**, but **DO NOT** click **Publish**. By doing this, the post will be in the draft state. -Now, if you go to the post page on localhost, you won't see the updated title. However, if you use **Preview Mode**, you'll be able to see the change ([Documentation](/docs/advanced-features/preview-mode.md)). +Now, if you go to the post page on localhost, you won't see the updated title. However, if you use **Preview Mode**, you'll be able to see the change ([Documentation](https://nextjs.org/docs/pages/guides/preview-mode)). To enable the Preview Mode, go to this URL: diff --git a/examples/with-rematch/README.md b/examples/with-rematch/README.md index 36de0013fed6..fd3395a93758 100644 --- a/examples/with-rematch/README.md +++ b/examples/with-rematch/README.md @@ -1,6 +1,6 @@ # Rematch example -This example has two pages. The first page has a counter which can be incremented synchronously or asynchronously. The second page is a page which shows a list of github users. It fetches data from the github api using this [endpoint](api.github.com/users). +This example has two pages. The first page has a counter which can be incremented synchronously or asynchronously. The second page is a page which shows a list of github users. It fetches data from the github api using this [endpoint](https://api.github.com/users). Since rematch is utility which uses redux under the hood, some elements like `store.js` and `withRematch` are very similar to the `with-redux` example. Please go through the [`with-redux` example](https://github.com/vercel/next.js/tree/canary/examples/with-redux) before reading further if you are not familiar with how redux is integrated with Next.js. Rematch is just an extension for Redux so a lot of elements are the same. diff --git a/packages/next/src/next-devtools/README.md b/packages/next/src/next-devtools/README.md index 9e678d90c522..2f32ac689ea5 100644 --- a/packages/next/src/next-devtools/README.md +++ b/packages/next/src/next-devtools/README.md @@ -78,4 +78,4 @@ export function ComponentStyles() { The dev overlay implements a dark theme automatically by system preferences. Users can manually toggle between light and dark themes via the DevTools Indicator preferences panel. -To make changes to the dark theme, you can edit the [`ui/styles/dark-theme.tsx`](./ui/styles/dark-theme.tsx) file. +To make changes to the dark theme, you can edit the [`dev-overlay/styles/dark-theme.css`](./dev-overlay/styles/dark-theme.css) file.