From 885b319bd190d8540d69889857eb43ef242334e9 Mon Sep 17 00:00:00 2001 From: vinckr Date: Tue, 24 Sep 2024 08:51:12 +0200 Subject: [PATCH] chore: fix sidebar migrate guides --- src/sidebar.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/sidebar.ts b/src/sidebar.ts index dc7780e14..5f2d12896 100644 --- a/src/sidebar.ts +++ b/src/sidebar.ts @@ -393,6 +393,19 @@ const guidesSidebar = (flat: boolean): ExtendSidebar => { : ["hydra/jwks", "hydra/guides/openid", "oauth2-oidc/issuer-url"], }, "actions/live-events", + { + type: "category", + label: "Migrate to Ory", + collapsed: false, + collapsible: false, + link: { + type: "doc", + id: "migrate-to-ory/index", + }, + items: flat + ? [] + : ["migrate-to-ory/auth0", "hydra/self-hosted/migrating-from-mitreid"], + }, ] } @@ -421,13 +434,6 @@ const troubleshootingSidebar = [ }, ] -const migrateToOrySidebar = [ - homeLink, - "migrate-to-ory/index", - "migrate-to-ory/auth0", - "hydra/self-hosted/migrating-from-mitreid", -] - const identitiesSidebar = [ homeLink, {