docs: Migrate error messages to MDX and App Router. (#52038)

This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
This commit is contained in:
Delba de Oliveira
2023-07-05 14:11:16 +01:00
committed by GitHub
parent 394533ff88
commit 44d1a1cb15
227 changed files with 2096 additions and 2595 deletions
+17
View File
@@ -0,0 +1,17 @@
---
title: Nested Reserved Page
---
## Why This Error Occurred
In your pages folder you nested a reserved page e.g. `_app`, `_error`, or `_document` which causes the page to not be used since they must be located directly under the pages folder.
## Possible Ways to Fix It
Move the reserved pages directly under your pages folder so that they are picked up and used correctly.
## Useful Links
- [Custom `_app` Documentation](/docs/pages/building-your-application/routing/custom-app)
- [Custom `_error` Documentation](/docs/pages/building-your-application/routing/custom-error)
- [Custom `_document` Documentation](/docs/pages/building-your-application/routing/custom-document)