Pārlūkot izejas kodu

Don't consider localhost links as dead

Fixes the following error when building the site

    (!) Found dead link http://localhost:3000 in file self-hosting/index.md
    x Build failed in 1.72s
    If this is expected, you can disable this check via config. Refer: https://vitepress.dev/reference/site-config#ignoredeadlinks
Manav Rathi 1 gadu atpakaļ
vecāks
revīzija
ed3b165b4b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      docs/docs/.vitepress/config.ts

+ 1 - 0
docs/docs/.vitepress/config.ts

@@ -7,6 +7,7 @@ export default defineConfig({
     description: "Documentation and help for Ente's products",
     head: [["link", { rel: "icon", type: "image/png", href: "/favicon.png" }]],
     cleanUrls: true,
+    ignoreDeadLinks: 'localhostLinks',
     themeConfig: {
         // We use the default theme (with some CSS color overrides). This
         // themeConfig block can be used to further customize the default theme.