Alex Tran 2 anni fa
parent
commit
0164171cad
3 ha cambiato i file con 13 aggiunte e 11 eliminazioni
  1. 12 10
      docs/docusaurus.config.js
  2. 1 1
      docs/src/pages/index.tsx
  3. 0 0
      docs/static/CNAME

+ 12 - 10
docs/docusaurus.config.js

@@ -9,7 +9,7 @@ const config = {
   title: "Immich Documentation",
   tagline:
     "Self-hosted photo and video backup solution directly from your mobile phone",
-  url: "https://doc.immich.app",
+  url: "https://docs.immich.app",
   baseUrl: "/",
   onBrokenLinks: "throw",
   onBrokenMarkdownLinks: "warn",
@@ -19,7 +19,7 @@ const config = {
   // If you aren't using GitHub pages, you don't need these.
   organizationName: "immich-app", // Usually your GitHub org/user name.
   projectName: "immich", // Usually your repo name.
-
+  deploymentBranch: "main",
   // Even if you don't use internalization, you can use this field to set useful
   // metadata like html lang. For example, if your site is Chinese, you may want
   // to replace "en" with "zh-Hans".
@@ -70,15 +70,13 @@ const config = {
         },
         items: [
           {
-            type: "doc",
-            docId: "overview/introduction",
-            to: "overview/introduction",
+            to: "/docs/overview/introduction",
             position: "right",
             label: "Documentation",
           },
           { to: "/blog", label: "Blog", position: "right" },
           {
-            href: "https://github.com/facebook/docusaurus",
+            href: "https://github.com/immich-app/immich",
             label: "GitHub",
             position: "right",
           },
@@ -88,11 +86,15 @@ const config = {
         style: "dark",
         links: [
           {
-            title: "Docs",
+            title: "Overview",
             items: [
               {
-                label: "Tutorial",
-                to: "/docs/intro",
+                label: "Welcome",
+                to: "/docs/overview/introduction",
+              },
+              {
+                label: "Installation",
+                to: "/docs/installation/requirements",
               },
             ],
           },
@@ -101,7 +103,7 @@ const config = {
             items: [
               {
                 label: "Discord",
-                href: "https://discordapp.com/invite/docusaurus",
+                href: "https://discord.com/invite/D8JsnBEuKb",
               },
             ],
           },

+ 1 - 1
docs/src/pages/index.tsx

@@ -17,7 +17,7 @@ function HomepageHeader() {
         <div className={styles.buttons}>
           <Link
             className="button button--secondary button--lg"
-            to="/docs/installation"
+            to="docs/installation/requirements"
           >
             Getting Started
           </Link>

+ 0 - 0
docs/static/CNAME