Edit your file structure so that all your files are within a folder which is your custom subpath. So if you want to host your docs at /docs you would do the following:
Copy
Ask AI
/docs introduction.mdx navigation.mdxdocs.json
2
Configure your vercel.json
In your main website add the following rewrites to your vercel.json.