From 1fb3599ee418deff9196c29f0f3e7f7ee5e6e335 Mon Sep 17 00:00:00 2001 From: Lubos Date: Wed, 19 Nov 2025 20:19:06 +0000 Subject: [PATCH] docs: use root folder --- vercel.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ docs/vercel.json | 46 ---------------------------------------------- 2 file(s) changed, 47 insertion(s)(+), 46 deletion(s)(-) diff --git a/vercel.json b/vercel.json new file mode 100644 --- /dev/null +++ b/vercel.json @@ -0,0 +1,47 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "buildCommand": "pnpm --filter @docs/openapi-ts build", + "cleanUrls": true, + "devCommand": "pnpm --filter @docs/openapi-ts dev", + "framework": "vitepress", + "installCommand": "pnpm install --filter @docs/openapi-ts", + "outputDirectory": "docs/.vitepress/dist", + "redirects": [ + { + "source": "/openapi-ts", + "destination": "/openapi-ts/get-started", + "permanent": true + }, + { + "source": "/openapi-ts/custom-plugin", + "destination": "/openapi-ts/plugins/custom", + "permanent": true + }, + { + "source": "/openapi-ts/plugins", + "destination": "/openapi-ts/core", + "permanent": true + }, + { + "source": "/openapi-ts/output/json-schema", + "destination": "/openapi-ts/plugins/schemas", + "permanent": true + }, + { + "source": "/openapi-ts/output/sdk", + "destination": "/openapi-ts/plugins/sdk", + "permanent": true + }, + { + "source": "/openapi-ts/transformers", + "destination": "/openapi-ts/plugins/transformers", + "permanent": true + }, + { + "source": "/openapi-ts/output/typescript", + "destination": "/openapi-ts/plugins/typescript", + "permanent": true + } + ], + "trailingSlash": false +} diff --git a/docs/vercel.json b/docs/vercel.json deleted file mode 100644 --- a/docs/vercel.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "buildCommand": "pnpm --filter @docs/openapi-ts build", - "cleanUrls": true, - "devCommand": "pnpm --filter @docs/openapi-ts dev", - "framework": "vitepress", - "outputDirectory": "docs/.vitepress/dist", - "redirects": [ - { - "source": "/openapi-ts", - "destination": "/openapi-ts/get-started", - "permanent": true - }, - { - "source": "/openapi-ts/custom-plugin", - "destination": "/openapi-ts/plugins/custom", - "permanent": true - }, - { - "source": "/openapi-ts/plugins", - "destination": "/openapi-ts/core", - "permanent": true - }, - { - "source": "/openapi-ts/output/json-schema", - "destination": "/openapi-ts/plugins/schemas", - "permanent": true - }, - { - "source": "/openapi-ts/output/sdk", - "destination": "/openapi-ts/plugins/sdk", - "permanent": true - }, - { - "source": "/openapi-ts/transformers", - "destination": "/openapi-ts/plugins/transformers", - "permanent": true - }, - { - "source": "/openapi-ts/output/typescript", - "destination": "/openapi-ts/plugins/typescript", - "permanent": true - } - ], - "trailingSlash": false -} -- tangled.sh