diff --git a/docs/content/2.guide/2.features/9.server-routes.md b/docs/content/2.guide/2.features/9.server-routes.md index 96f4025ad7a..bcc8d4dcf5a 100644 --- a/docs/content/2.guide/2.features/9.server-routes.md +++ b/docs/content/2.guide/2.features/9.server-routes.md @@ -6,7 +6,7 @@ Each file should export a default function defined with `defineEventHandler()`. The handler can directly return JSON data, a `Promise` or use `event.res.end()` to send response. -::ReadMore{link="https://nitro.unjs.io/guide/routing.html" title="Nitro Route Handling Docs"} +::ReadMore{link="https://nitro.unjs.io/guide/introduction/routing" title="Nitro Route Handling Docs"} :: ## Example @@ -164,7 +164,7 @@ export default defineEventHandler((event) => { ### Nitro Configuration -You can use `nitro` key in `nuxt.config` to directly set [Nitro configuration](https://nitro.unjs.io/guide/config). +You can use `nitro` key in `nuxt.config` to directly set [Nitro configuration](https://nitro.unjs.io/config). ::alert{type=warning} This is an advanced option. Custom config can affect production deployments, as the configuration interface might change over time when Nitro is upgraded in semver-minor versions of Nuxt. @@ -229,7 +229,7 @@ Never combine `next()` callback with a legacy middleware that is `async` or retu ### Server Storage -Nitro provides a cross-platform [storage layer](https://nitro.unjs.io/guide/storage.html). In order to configure additional storage mount points, you can use `nitro.storage`. +Nitro provides a cross-platform [storage layer](https://nitro.unjs.io/guide/introduction/storage). In order to configure additional storage mount points, you can use `nitro.storage`. #### Example: Using Redis diff --git a/docs/content/2.guide/5.deploy/1.node-server.md b/docs/content/2.guide/5.deploy/1.node-server.md index 53dfc5ebac0..72a8e450ad5 100644 --- a/docs/content/2.guide/5.deploy/1.node-server.md +++ b/docs/content/2.guide/5.deploy/1.node-server.md @@ -51,4 +51,4 @@ module.exports = { ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/node.html" title="the Nitro documentation for node-server preset"} +:ReadMore{link="https://nitro.unjs.io/deploy/node" title="the Nitro documentation for node-server preset"} diff --git a/docs/content/2.guide/5.deploy/3.presets.md b/docs/content/2.guide/5.deploy/3.presets.md index 489d8f3b509..e4a38aa8d71 100644 --- a/docs/content/2.guide/5.deploy/3.presets.md +++ b/docs/content/2.guide/5.deploy/3.presets.md @@ -18,7 +18,7 @@ Or directly use the `NITRO_PRESET` environment variable when running `nuxt build NITRO_PRESET=node-server nuxt build ``` -🔎 Check [the Nitro deployment](https://nitro.unjs.io/deploy/) for all possible deployment presets and providers. +🔎 Check [the Nitro deployment](https://nitro.unjs.io/deploy) for all possible deployment presets and providers. ## Supported Hosting Providers diff --git a/docs/content/2.guide/5.deploy/providers/aws.md b/docs/content/2.guide/5.deploy/providers/aws.md index 0ad87cffd05..b4d63cd1919 100644 --- a/docs/content/2.guide/5.deploy/providers/aws.md +++ b/docs/content/2.guide/5.deploy/providers/aws.md @@ -8,4 +8,4 @@ How to deploy Nuxt to [AWS Lambda](https://aws.amazon.com/lambda/) ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/aws.html" title="the Nitro documentation for AWS deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/aws" title="the Nitro documentation for AWS deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/azure.md b/docs/content/2.guide/5.deploy/providers/azure.md index 3cb3f2c835a..1de4e4ef72b 100644 --- a/docs/content/2.guide/5.deploy/providers/azure.md +++ b/docs/content/2.guide/5.deploy/providers/azure.md @@ -15,4 +15,4 @@ How to deploy to [Azure Static Web Apps](https://azure.microsoft.com/en-us/servi ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/azure.html" title="the Nitro documentation for Azure deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/azure" title="the Nitro documentation for Azure deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/cloudflare.md b/docs/content/2.guide/5.deploy/providers/cloudflare.md index bfa0d9c6e82..4ae61ed8102 100644 --- a/docs/content/2.guide/5.deploy/providers/cloudflare.md +++ b/docs/content/2.guide/5.deploy/providers/cloudflare.md @@ -15,4 +15,4 @@ How to deploy Nuxt to [Cloudflare Workers](https://workers.cloudflare.com/). ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/cloudflare.html" title="the Nitro documentation for Cloudflare deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/cloudflare" title="the Nitro documentation for Cloudflare deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/digitalocean.md b/docs/content/2.guide/5.deploy/providers/digitalocean.md index 1209381662b..6dca370b319 100644 --- a/docs/content/2.guide/5.deploy/providers/digitalocean.md +++ b/docs/content/2.guide/5.deploy/providers/digitalocean.md @@ -8,4 +8,4 @@ Nitro supports deploying on the [Digital Ocean App Platform](https://docs.digita ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/digitalocean.html" title="the Nitro documentation for DigitalOcean deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/digitalocean" title="the Nitro documentation for DigitalOcean deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/firebase.md b/docs/content/2.guide/5.deploy/providers/firebase.md index a6f29526531..40a0d83007d 100644 --- a/docs/content/2.guide/5.deploy/providers/firebase.md +++ b/docs/content/2.guide/5.deploy/providers/firebase.md @@ -12,4 +12,4 @@ Nitro supports [Firebase Hosting](https://firebase.google.com/docs/hosting) with ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/firebase.html" title="the Nitro documentation for Firebase deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/firebase" title="the Nitro documentation for Firebase deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/heroku.md b/docs/content/2.guide/5.deploy/providers/heroku.md index 9a14b0f0667..e74b8a9b66e 100644 --- a/docs/content/2.guide/5.deploy/providers/heroku.md +++ b/docs/content/2.guide/5.deploy/providers/heroku.md @@ -8,4 +8,4 @@ How to deploy Nuxt to [Heroku](https://www.heroku.com/). ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/heroku.html" title="the Nitro documentation for Heroku deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/heroku" title="the Nitro documentation for Heroku deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/layer0.md b/docs/content/2.guide/5.deploy/providers/layer0.md index 161e6cd93b4..2d9718a001a 100644 --- a/docs/content/2.guide/5.deploy/providers/layer0.md +++ b/docs/content/2.guide/5.deploy/providers/layer0.md @@ -10,4 +10,4 @@ Layer0 extends the capabilities of a traditional CDN by not only hosting your st ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/layer0.html" title="the Nitro documentation for Layer0 deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/layer0" title="the Nitro documentation for Layer0 deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/netlify.md b/docs/content/2.guide/5.deploy/providers/netlify.md index f4cb565ab9f..1e244add255 100644 --- a/docs/content/2.guide/5.deploy/providers/netlify.md +++ b/docs/content/2.guide/5.deploy/providers/netlify.md @@ -38,4 +38,4 @@ If you want to add custom redirects, you can do so by adding a [`_redirects`](ht ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/netlify.html" title="the Nitro documentation for Netlify deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/netlify" title="the Nitro documentation for Netlify deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/render.md b/docs/content/2.guide/5.deploy/providers/render.md index 544cfde9309..8ce480e61e3 100644 --- a/docs/content/2.guide/5.deploy/providers/render.md +++ b/docs/content/2.guide/5.deploy/providers/render.md @@ -8,4 +8,4 @@ How to deploy Nuxt to [Render](https://render.com/) ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/render.html" title="the Nitro documentation for Render deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/render" title="the Nitro documentation for Render deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/stormkit.md b/docs/content/2.guide/5.deploy/providers/stormkit.md index cad336bf392..39d38595b59 100644 --- a/docs/content/2.guide/5.deploy/providers/stormkit.md +++ b/docs/content/2.guide/5.deploy/providers/stormkit.md @@ -8,4 +8,4 @@ How to deploy Nuxt to [StormKit](https://www.stormkit.io/). ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/stormkit.html" title="the Nitro documentation for StormKit deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/stormkit" title="the Nitro documentation for StormKit deployment"} diff --git a/docs/content/2.guide/5.deploy/providers/vercel.md b/docs/content/2.guide/5.deploy/providers/vercel.md index 6c8954abe9c..9d0ae05c838 100644 --- a/docs/content/2.guide/5.deploy/providers/vercel.md +++ b/docs/content/2.guide/5.deploy/providers/vercel.md @@ -38,4 +38,4 @@ vercel ## Learn More -:ReadMore{link="https://nitro.unjs.io/deploy/providers/vercel.html" title="the Nitro documentation for Vercel deployment"} +:ReadMore{link="https://nitro.unjs.io/deploy/providers/vercel" title="the Nitro documentation for Vercel deployment"} diff --git a/packages/schema/src/config/nitro.ts b/packages/schema/src/config/nitro.ts index 017a6816ed7..d6828e11d1a 100644 --- a/packages/schema/src/config/nitro.ts +++ b/packages/schema/src/config/nitro.ts @@ -13,7 +13,7 @@ export default { /** * Nitro server handlers. * - * @see https://nitro.unjs.io/guide/routing.html + * @see https://nitro.unjs.io/guide/introduction/routing * * **Note:** Files from `server/api`, `server/middleware` and `server/routes` will be automatically registred by Nuxt. * @@ -25,7 +25,7 @@ export default { /** * Nitro development-only server handlers. * - * @see https://nitro.unjs.io/guide/routing.html + * @see https://nitro.unjs.io/guide/introduction/routing * * @type {typeof import('nitropack')['NitroDevEventHandler'][]} * @version 3