From 838e2ac8f6baf7b0f6371708e0de6a3d41258493 Mon Sep 17 00:00:00 2001 From: Naman Date: Sun, 2 Aug 2026 16:27:31 +0200 Subject: [PATCH] Serve the docs static export under /docs on Vercel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The git-connected build serves Next's static export at the root, but basePath makes every internal link point at /docs/... — rewrite the /docs prefix onto the exported files. Co-Authored-By: Claude Fable 5 --- apps/docs/vercel.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/docs/vercel.json diff --git a/apps/docs/vercel.json b/apps/docs/vercel.json new file mode 100644 index 0000000..4ad30a7 --- /dev/null +++ b/apps/docs/vercel.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "rewrites": [ + { "source": "/docs", "destination": "/" }, + { "source": "/docs/", "destination": "/" }, + { "source": "/docs/:path(.+)", "destination": "/:path" } + ] +}