From 33a8bbed2b4741b580e613e1697c974ac0cdc635 Mon Sep 17 00:00:00 2001 From: Christian Nwamba Date: Mon, 3 Feb 2025 09:59:12 +0000 Subject: [PATCH 1/3] feat: new docs nav --- docusaurus.config.ts | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 006b34bfc..f094c9675 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -97,35 +97,31 @@ const config: Config = { height: 32, }, items: [ + // Main feature sections { - type: "docSidebar", + to: "/docs/identity", + label: "Identity", position: "left", - sidebarId: "docs", - label: "Documentation", }, { - type: "docSidebar", + to: "/docs/permissions", + label: "Permissions", position: "left", - sidebarId: "quickstarts-and-tutorials", - label: "Quickstart", }, { - type: "docSidebar", + to: "/docs/federation", + label: "Federation", position: "left", - sidebarId: "guides", - label: "Guides", }, { - type: "docSidebar", + to: "/docs/open-source", + label: "Open Source", position: "left", - sidebarId: "reference", - label: "Reference", }, { - type: "docSidebar", + to: "/docs/reference", + label: "Reference", position: "left", - sidebarId: "selfhosting", - label: "Self-hosting", }, { label: "Need Support?", From 81206b1ff6b3aa79205ef77d295efa6c0559982f Mon Sep 17 00:00:00 2001 From: Christian Nwamba Date: Mon, 3 Feb 2025 10:26:04 +0000 Subject: [PATCH 2/3] fix: add start page to navbar --- docusaurus.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index f094c9675..1cc14437e 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -98,6 +98,11 @@ const config: Config = { }, items: [ // Main feature sections + { + to: "/getting-started/overview", + label: "Start", + position: "left", + }, { to: "/docs/identity", label: "Identity", From 3d46618fce8f18e2c4b3ba3a05c84cb5b221c0a6 Mon Sep 17 00:00:00 2001 From: Christian Nwamba Date: Mon, 3 Feb 2025 15:22:41 +0000 Subject: [PATCH 3/3] fix: add homepages to horizontal nav items --- docusaurus.config.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 1cc14437e..69d5e3353 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -104,18 +104,20 @@ const config: Config = { position: "left", }, { - to: "/docs/identity", + to: "/docs/identities", label: "Identity", position: "left", }, { - to: "/docs/permissions", - label: "Permissions", + to: "/docs/oauth2-oidc", + // to: "/docs/federation", // TODO: Use this route + label: "Federation", position: "left", }, { - to: "/docs/federation", - label: "Federation", + to: "/docs/keto", + // to: "/docs/permissions", // TODO: Use this route + label: "Permissions", position: "left", }, { @@ -124,7 +126,8 @@ const config: Config = { position: "left", }, { - to: "/docs/reference", + to: "/docs/reference/api", + // to: "/docs/reference", // TODO: Use this route label: "Reference", position: "left", },