From 64e1581593a86338f8fcf0bf7616d0722ee2b0c1 Mon Sep 17 00:00:00 2001 From: Maciej Ptak <0ptaq0@gmail.com> Date: Tue, 7 Jul 2026 08:32: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 4ff8ce0..17bb578 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: "Test Lib", description: "Apex test data builder library with Builder and Mocker patterns for creating test records in Salesforce",