Files
Han Wang bafc498391 Han's docs n donuts (#438)
* Fix broken link

* Han's changes
2025-01-02 16:49:32 -05:00

31 lines
705 B
Plaintext

---
title: "Vercel"
description: "Host documentation at a /docs subpath using Vercel"
---
## vercel.json Configuration
To host your documentation at a custom subpath using Vercel, you need to add the
following configuration to your `vercel.json` file.
```json
{
"rewrites": [
{
"source": "/docs",
"destination": "https://[subdomain].mintlify.dev/docs"
},
{
"source": "/docs/:match*",
"destination": "https://[subdomain].mintlify.dev/docs/:match*"
}
]
}
```
<Note>
For more information, you can also refer to Vercel's offical guide on
rewrites: [Project Configuration:
Rewrites](https://vercel.com/docs/projects/project-configuration#rewrites)
</Note>