From fe72d2bf52bcd32c8db16c2cbf280e731a04d39f Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Mon, 22 May 2023 14:27:40 +0800 Subject: [PATCH] fix: add config to ignore dead links during build --- docs/.vitepress/config.ts | 1 + docs/.vitepress/config/theme.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 0355c987..1f6c4bed 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -23,6 +23,7 @@ export default defineConfig({ }, }, }, + ignoreDeadLinks: true }) customElements // custom element tags of markdown-it-katex in vitepress diff --git a/docs/.vitepress/config/theme.ts b/docs/.vitepress/config/theme.ts index 274a9863..c46fa515 100644 --- a/docs/.vitepress/config/theme.ts +++ b/docs/.vitepress/config/theme.ts @@ -29,7 +29,6 @@ export const themeConfig: DefaultTheme.Config = { { icon: 'github', link: 'https://github.com/andatoshiki' }, { icon: 'twitter', link: 'https://twitter.com/andatoshiki' }, ], - ignoreDeadLinks: true // custom vue components // @ts-ignore // surpress errors originated from the lines below of custom coponent configs in typescript