From 0164171cad2441f0630fde4d602981dac55dea47 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Thu, 27 Oct 2022 22:03:37 -0500 Subject: [PATCH] Fixex routing --- docs/docusaurus.config.js | 22 ++++++++++++---------- docs/src/pages/index.tsx | 2 +- docs/static/CNAME | 0 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 docs/static/CNAME diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 8e5cbb2800..9f95e7e085 100644 --- a/docs/docusaurus.config.js +++ b/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", }, ], }, diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index 7b85489ec3..9e202c3ab1 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -17,7 +17,7 @@ function HomepageHeader() {
Getting Started diff --git a/docs/static/CNAME b/docs/static/CNAME new file mode 100644 index 0000000000..e69de29bb2