Skip to content

Commit 279ae19

Browse files
authored
docs: update links to docs site (#14305)
this updates some links to the docs site to their new location
1 parent 42c309a commit 279ae19

24 files changed

+33
-33
lines changed

docs/upgrading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can read more about [Dynamic Routing here](https://nextjs.org/docs/routing/d
1818

1919
#### Check your Custom <App> (`pages/_app.js`)
2020

21-
If you previously copied the [Custom `<App>`](https://nextjs.org/docs#custom-app) example, you may be able to remove your `getInitialProps`.
21+
If you previously copied the [Custom `<App>`](https://nextjs.org/docs/advanced-features/custom-app) example, you may be able to remove your `getInitialProps`.
2222

2323
Removing `getInitialProps` from `pages/_app.js` (when possible) is important to leverage new Next.js features!
2424

errors/api-routes-static-export.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Use `next build` with platforms that don't require `next export` like https://ve
1212

1313
### Useful Links
1414

15-
- [Static HTML export](https://nextjs.org/docs#static-html-export)
15+
- [Static HTML export](https://nextjs.org/docs/advanced-features/static-html-export)

errors/build-dir-not-writeable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### Why This Error Occurred
44

5-
The filesystem does not allow writing to the specified directory. A common cause for this error is starting a [custom server](https://nextjs.org/docs#custom-server-and-routing) in development mode on a production server, for example, [Vercel](https://vercel.com) which [doesn't allow you to write to the filesystem after your app is built](https://vercel.com/docs/deployment-types/node#file-system-specifications).
5+
The filesystem does not allow writing to the specified directory. A common cause for this error is starting a [custom server](https://nextjs.org/docs/advanced-features/custom-server) in development mode on a production server, for example, [Vercel](https://vercel.com) which [doesn't allow you to write to the filesystem after your app is built](https://vercel.com/docs/deployment-types/node#file-system-specifications).
66

77
#### Possible Ways to Fix It
88

@@ -27,4 +27,4 @@ const app = next({ dev })
2727

2828
### Useful Links
2929

30-
- [Custom Server documentation + examples](https://nextjs.org/docs#custom-server-and-routing)
30+
- [Custom Server documentation + examples](https://nextjs.org/docs/advanced-features/custom-server)

errors/can-not-output-to-public.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Use a different `distDir` or export to a different folder.
1212

1313
### Useful Links
1414

15-
- [Static file serving docs](https://nextjs.org/docs#static-file-serving-eg-images)
15+
- [Static file serving docs](https://nextjs.org/docs/basic-features/static-file-serving)

errors/conflicting-public-file-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ pages/
2828

2929
### Useful Links
3030

31-
- [Static file serving docs](https://nextjs.org/docs#static-file-serving-eg-images)
31+
- [Static file serving docs](https://nextjs.org/docs/basic-features/static-file-serving)

errors/export-path-mismatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ module.exports = {
2323

2424
### Useful Links
2525

26-
- [exportPathMap](https://nextjs.org/docs#usage) documentation
26+
- [exportPathMap](https://nextjs.org/docs/api-reference/next.config.js/exportPathMap) documentation

errors/get-initial-props-as-an-instance-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ export default YourEntryComponent
3636

3737
### Useful Links
3838

39-
- [Fetching data and component lifecycle](https://nextjs.org/docs#fetching-data-and-component-lifecycle)
39+
- [Fetching data and component lifecycle](https://nextjs.org/docs/api-reference/data-fetching/getInitialProps)

errors/incompatible-href-as.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ Look for any usage of the `next/link` component, `Router#push`, or `Router#repla
4040

4141
### Useful Links
4242

43-
- [Routing section in Documentation](https://nextjs.org/docs#routing)
44-
- [Dynamic routing section in Documentation](https://nextjs.org/docs#dynamic-routing)
43+
- [Routing section in Documentation](https://nextjs.org/docs/routing/introduction)
44+
- [Dynamic routing section in Documentation](https://nextjs.org/docs/routing/dynamic-routes)

errors/invalid-href-passed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Look for any usage of `next/link` or `next/router` that is being passed a non-in
1616

1717
### Useful Links
1818

19-
- [Routing section in Documentation](https://nextjs.org/docs#routing)
19+
- [Routing section in Documentation](https://nextjs.org/docs/routing/introduction)

errors/invalid-page-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ export const config = { amp: true }
2222

2323
### Useful Links
2424

25-
- [Enabling AMP Support](https://nextjs.org/docs#enabling-amp-support)
26-
- [API Middlewares](https://nextjs.org/docs#api-middlewares)
25+
- [Enabling AMP Support](https://nextjs.org/docs/advanced-features/amp-support/introduction)
26+
- [API Middlewares](https://nextjs.org/docs/api-routes/api-middlewares)

0 commit comments

Comments
 (0)