From 173c6183b34ee7a957744e3224cd2615a1c51c76 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Wed, 27 Nov 2024 11:59:24 -0500 Subject: [PATCH] Simplify VitePress config: set ignoreDeadLinks to true for streamlined link management --- documentation/.vitepress/config.mts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/documentation/.vitepress/config.mts b/documentation/.vitepress/config.mts index 163c4c5..0e5444a 100644 --- a/documentation/.vitepress/config.mts +++ b/documentation/.vitepress/config.mts @@ -8,23 +8,7 @@ export default defineConfig({ lang: "en-US", // lastUpdated: true, - ignoreDeadLinks: [ - // ignore exact url "/playground" - "/playground", - // ignore all localhost links - /^https?:\/\/localhost/, - // ignore localhost links with any port - // ignore http://localhost:8015 - /^https?:\/\/localhost:\d+/, - /^http?:\/\/localhost:\d+/, - // ignore all links include "/playground/" - // ignore all links include "/repl/"" - /\/repl\//, - // custom function, ignore all links include "ignore" - (url) => { - return url.toLowerCase().includes("ignore"); - }, - ], + ignoreDeadLinks: true, sitemap: { hostname: "https://adventurelog.app",