From e4b1910f557985505faece9f1f4b21b8e0213f3a Mon Sep 17 00:00:00 2001 From: Maciej Ptak <0ptaq0@gmail.com> Date: Tue, 7 Jul 2026 08:40:11 +0200 Subject: [PATCH] docs: enable clean URLs Enable VitePress cleanUrls so documentation pages resolve without the .html suffix, matching the rest of our docs sites. --- vercel.json | 3 ++- website/.vitepress/config.mts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 8d61b57..59e08d9 100644 --- a/vercel.json +++ b/vercel.json @@ -1,4 +1,5 @@ { "buildCommand": "npm run docs:build", - "outputDirectory": "website/.vitepress/dist" + "outputDirectory": "website/.vitepress/dist", + "cleanUrls": true } diff --git a/website/.vitepress/config.mts b/website/.vitepress/config.mts index 4729354..69c448c 100644 --- a/website/.vitepress/config.mts +++ b/website/.vitepress/config.mts @@ -1,6 +1,7 @@ import { defineConfig } from 'vitepress' export default defineConfig({ + cleanUrls: true, title: "HTTP Mock Lib", description: "A fluent API for mocking HTTP callouts in Salesforce Apex tests", base: '/',