Getting Started
Writing Content
API References
- Interactive Playground
- OpenAPI
- MDX
- Troubleshooting
Configurations
Advanced
- Custom Scripts
- Custom Subdirectory
- Auth & Personalization
- Extensions
- REST API
Custom Subdirectory
Vercel
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.
For more information, you can also refer to Vercel’s offical guide on rewrites: Project Configuration: Rewrites
Was this page helpful?