Bläddra i källkod

[docs] Fix build error and add a Yarn troubleshooting page (#770)

Docs only change.
Manav Rathi 1 år sedan
förälder
incheckning
2ed8429df8

+ 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.

+ 9 - 0
docs/docs/.vitepress/sidebar.ts

@@ -89,6 +89,15 @@ export const sidebar = [
                     },
                 ],
             },
+            {
+                text: "Troubleshooting",
+                items: [
+                    {
+                        text: "Yarn",
+                        link: "/self-hosting/troubleshooting/yarn",
+                    },
+                ],
+            },
         ],
     },
     {

+ 10 - 0
docs/docs/self-hosting/troubleshooting/yarn.md

@@ -0,0 +1,10 @@
+---
+title: Yarn errors
+description: Fixing yarn install errors when trying to self host Ente
+---
+
+# Yarn
+
+If your `yarn install` is failing, make sure you are using Yarn Classic
+
+* https://classic.yarnpkg.com/lang/en/docs/install