From a6125e877558b25e729f4b0ae5bdb9ac693681df Mon Sep 17 00:00:00 2001 From: Maciej Ptak <0ptaq0@gmail.com> Date: Tue, 7 Jul 2026 08:48: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 2361196..3bee896 100644 --- a/website/.vitepress/config.mts +++ b/website/.vitepress/config.mts @@ -3,6 +3,7 @@ import { withMermaid } from 'vitepress-plugin-mermaid' // https://vitepress.dev/reference/site-config export default withMermaid({ + cleanUrls: true, title: "DML Lib", description: "Apex DML Lib.", head: [