Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs: update links to nitro.unjs.io #6684

Merged
merged 4 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/2.guide/2.features/9.server-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/1.node-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/3.presets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/digitalocean.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/firebase.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/layer0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/netlify.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/stormkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
2 changes: 1 addition & 1 deletion docs/content/2.guide/5.deploy/providers/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
4 changes: 2 additions & 2 deletions packages/schema/src/config/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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
Expand Down