Skip to content

Commit e7e6b32

Browse files
authored
fixed dead links (#2)
1 parent b6cafea commit e7e6b32

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
lines changed

pages/aws/config.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export default {
1919
};
2020
```
2121

22-
If you want to take a look at some simple configuration examples, you can check the [simple example](/config/simple_example).
22+
If you want to take a look at some simple configuration examples, you can check the [simple example](/aws/config/simple_example).
2323

24-
For more advanced use cases, you can check [how to implement custom overrides](/config/custom_overrides).
24+
For more advanced use cases, you can check [how to implement custom overrides](/aws/config/custom_overrides).
2525

26-
If you want to look at a full example, you can check [the full example](/config/full_example).
26+
If you want to look at a full example, you can check [the full example](/aws/config/full_example).

pages/aws/config/full_example.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This file need to be at the same place as your `next.config.js` file
33

44
`server` in here could refer to a lambda function, a docker container, a node server or whatever that can support running nodejs code. (Even cloudflare workers in the future)
55

6-
For more information about the options here, take a look at the [components section](/components/overview).
6+
For more information about the options here, take a look at the [components section](/aws/components/overview).
77

88
```ts
99
import type { OpenNextConfig } from 'open-next/types/open-next'

pages/aws/config/simple_example.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here you can find the most common `open-next.config.ts` file examples that you c
1717
is a workaround for that on OpenNext 3.0.3+, setting environment variable
1818
`OPEN_NEXT_FORCE_NON_EMPTY_RESPONSE` to `"true"`. This will ensure that the
1919
stream body is not empty. <br /> <br />
20-
If you have an issue with streaming send a message on [discord](https://sst.dev/discord)
20+
If you have an issue with streaming send a message on [discord](https://discord.com/channels/1283128968140161065/1286094576788177059)
2121
and contact AWS support to let them know of the issue.
2222
</Callout>
2323

@@ -107,7 +107,7 @@ export default config;
107107
<Callout type="info" emoji="i">
108108
This is not implemented in sst yet. You'll have to use your own IAC construct to deploy this.
109109

110-
Be aware that this uses the exact same system for ISR/SSG as the default lambda setup. So it will have to have all the proper permissions and env variable to interact with S3, DynamoDB and SQS (Or whatever you override it with). You can see [here](/inner_workings/components/server/node#special-overrides) for more details
110+
Be aware that this uses the exact same system for ISR/SSG as the default lambda setup. So it will have to have all the proper permissions and env variable to interact with S3, DynamoDB and SQS (Or whatever you override it with). You can see [here](/aws/inner_workings/components/server/node#special-overrides) for more details
111111
</Callout>
112112

113113
```ts

pages/aws/contribute.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
To run `OpenNext` locally:
22

3-
1. Clone [this repository](https://github.com/sst/open-next).
3+
1. Clone [this repository](https://github.com/opennextjs/aws).
44
2. Build `open-next`:
55
```bash
66
cd open-next
@@ -16,4 +16,4 @@ To run `OpenNext` locally:
1616
path/to/open-next/packages/open-next/dist/index.js build
1717
```
1818

19-
It can be a bit cumbersome to need to deploy every time you want to test changes. If your change is not dependent on the wrapper or the converter, then you can create a custom `open-next.config.ts` file, you can take a look [here](/contribute/local_run) for more information.
19+
It can be a bit cumbersome to need to deploy every time you want to test changes. If your change is not dependent on the wrapper or the converter, then you can create a custom `open-next.config.ts` file, you can take a look [here](/aws/contribute/local_run) for more information.

pages/aws/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { SITE } from '../../config';
22
import { Callout } from 'nextra/components';
33

44
<Callout>
5-
This docs is for the V3 of OpenNext. If you are looking for the V2 docs, you can find them [here](/v2).
5+
This docs is for the V3 of OpenNext. If you are looking for the V2 docs, you can find them [here](/aws/v2).
66

7-
If you're migrating from V2 to V3, you can find the migration guide [here](/migration#from-opennext-v2).
7+
If you're migrating from V2 to V3, you can find the migration guide [here](/aws/migration#from-opennext-v2).
88

99
</Callout>
1010

pages/aws/inner_workings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ When calling `open-next build`, OpenNext **runs `next build`** to build the Next
22

33
#### Building the Next.js app
44

5-
OpenNext runs the `build` script in your `package.json` file. Depending on the lock file found in the app, the corresponding packager manager will be used. Either `npm run build`, `yarn build`, or `pnpm build` will be run. For more on customizing the build command, see [overriding the build command](/advanced/options#custom-build-command).
5+
OpenNext runs the `build` script in your `package.json` file. Depending on the lock file found in the app, the corresponding packager manager will be used. Either `npm run build`, `yarn build`, or `pnpm build` will be run. For more on customizing the build command, see [overriding the build command](/aws/advanced/options#custom-build-command).
66

77
#### Transforming the build output
88

pages/aws/inner_workings/architecture.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This backend handles image optimization requests when the Next.js `<Image>` comp
4848

4949
Note that the image optimization backend responds with the `Cache-Control` header, so the image will be cached both at the CDN level and at the browser level.
5050

51-
See [Image Optimization](/features/image-optimization) for more details.
51+
See [Image Optimization](components/image_optimization) for more details.
5252

5353
#### Servers Lambda backend
5454

@@ -105,7 +105,7 @@ This backend is supposed to handle revalidation requests from the revalidation q
105105

106106
OpenNext will create a `.open-next/warmer-function` folder containing the warmer backend.
107107

108-
Read more on [how warming works](/v2/inner_workings/warming).
108+
Read more on [how warming works](/aws/v2/inner_workings/warming).
109109

110110
#### Tag Provider backend
111111

pages/aws/inner_workings/cache_interception.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is great but it still has go through `NextServer` which by default will loa
44

55
Since OpenNext 3.1, we have added a new feature that we call Cache Interception that allows you to intercept the cache system directly inside OpenNext routing layer and serve the page directly from the cache without going through `NextServer`. If the cache interception fail, the request will be forwarded to the `NextServer` as usual.
66

7-
Enabling this alongside external middleware means that the external middleware will need to have all the proper permissions and env variable to interact with S3, DynamoDB and SQS (Or whatever you override it with). You can see [here](/inner_workings/components/server/node#special-overrides) for more details.
7+
Enabling this alongside external middleware means that the external middleware will need to have all the proper permissions and env variable to interact with S3, DynamoDB and SQS (Or whatever you override it with). You can see [here](/aws/inner_workings/components/server/node#special-overrides) for more details.
88

99
This has the following benefits:
1010
- Faster cold start (No need to load the js associated with the page if the page is cached)

pages/aws/inner_workings/routing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Here is a list of features that OpenNext routing system handle:
1313
- basePath
1414
- i18n
1515
- [Middleware](#next-middleware)
16-
- [Optional Cache Interception](/inner_workings/cache_interception) (i.e. serve ISR/SSG directly from the routing layer)
16+
- [Optional Cache Interception](/aws/inner_workings/cache_interception) (i.e. serve ISR/SSG directly from the routing layer)
1717
- Handle 404 in some cases (i.e. when the page does not correspond to any of the regex routes)
1818

1919

2020
#### Next Middleware
2121

22-
The Next middleware in OpenNext is not running in the same way as in Next.js. In Next.js, the middleware is running inside the `NextServer` inside a fake edge runtime. In OpenNext, we modify the middleware and run it fully inside the routing layer. So if you run the routing layer in Node, you can use Node api inside the middleware (it's a bit tricky because it won't work with `next dev` and involves some workaround because Next will remove Node api during bundling. Some example [here](/config/custom_overrides#define-a-global-to-use-node-in-the-middleware)).
22+
The Next middleware in OpenNext is not running in the same way as in Next.js. In Next.js, the middleware is running inside the `NextServer` inside a fake edge runtime. In OpenNext, we modify the middleware and run it fully inside the routing layer. So if you run the routing layer in Node, you can use Node api inside the middleware (it's a bit tricky because it won't work with `next dev` and involves some workaround because Next will remove Node api during bundling. Some example [here](/aws/config/custom_overrides#define-a-global-to-use-node-in-the-middleware)).

pages/aws/migration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ If your Next.js app is already deployed to another platform or using another ope
44

55
If you used all the default configurations, you should be able to deploy your app without any changes.
66

7-
OpenNext V3 replaced all the build args with a [custom config file](/config#configuration-file).
7+
OpenNext V3 replaced all the build args with a [custom config file](/aws/config#configuration-file).
88

99
Here are the old build args and their new equivalent:
1010

@@ -13,15 +13,15 @@ Here are the old build args and their new equivalent:
1313
- `--build-output-path`: `buildOutputPath` inside the config file.
1414
- `--package-json-path`: `packageJsonPath` inside the config file.
1515
- `--minify`: `minify` options inside each function property. This is enabled on a per function basis now.
16-
- `--streaming`: This is dependent on the wrapper you're using on a per function basis. To enable streaming in aws lambda, you can set `wrapper: 'aws-lambda-streaming'` in the override property of the function. Please note that AWS lambda streaming still suffer from buffering issue from the runtime itself. See [here](/inner_workings/components/overview#aws-lambda-streaming) for more info.
16+
- `--streaming`: This is dependent on the wrapper you're using on a per function basis. To enable streaming in aws lambda, you can set `wrapper: 'aws-lambda-streaming'` in the override property of the function. Please note that AWS lambda streaming still suffer from buffering issue from the runtime itself. See [here](/aws/inner_workings/components/overview#aws-lambda-streaming) for more info.
1717
- `--dangerously-disable-dynamodb-cache`: `dangerous.disableTagCache` inside the config file.
1818
- `--dangerously-disable-incremental-cache`: `dangerous.disableIncrementalCache` inside the config file.
1919

2020
#### Vercel
2121

2222
Everything should already be set up for you. But there are a few things you should know:
2323

24-
- Streaming by default is disabled in open-next (for now). It is very **experimental** right now see [here](/inner_workings/streaming) for more info.
24+
- Streaming by default is disabled in open-next (for now). It is very **experimental** right now see [here](/aws/inner_workings/streaming) for more info.
2525
- Middleware is not run for static file and for image requests with open-next.
2626

2727
#### AWS Amplify

0 commit comments

Comments
 (0)