From aae0af5e5551bd611ef7d612b851466cb3fd643c Mon Sep 17 00:00:00 2001 From: vinckr Date: Sun, 1 Sep 2024 14:49:16 +0200 Subject: [PATCH] fix: sidebar ids/slugs --- docs/guides/cli/15_config-identity-service.mdx | 1 + docs/guides/ip-allowlist.mdx | 1 + docs/kratos/bring-your-own-ui/01_overview.mdx | 2 +- docs/kratos/mfa/30_sms.mdx | 2 +- docs/kratos/passwordless/00_overview.mdx | 2 +- docs/kratos/passwordless/06_code.mdx | 2 +- docs/kratos/social-signin/30_apple.mdx | 4 ---- src/sidebar.ts | 8 ++++---- 8 files changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/guides/cli/15_config-identity-service.mdx b/docs/guides/cli/15_config-identity-service.mdx index aea59d9be..0ecd93f63 100644 --- a/docs/guides/cli/15_config-identity-service.mdx +++ b/docs/guides/cli/15_config-identity-service.mdx @@ -1,6 +1,7 @@ --- id: config-identity-service title: Ory Identities CLI +slug: identity-cli --- Using the Ory CLI, you can quickly adjust the configuration of the Ory Identities and apply config from the Ory Network diff --git a/docs/guides/ip-allowlist.mdx b/docs/guides/ip-allowlist.mdx index 6b117e696..a673bf193 100644 --- a/docs/guides/ip-allowlist.mdx +++ b/docs/guides/ip-allowlist.mdx @@ -2,6 +2,7 @@ id: ip-allowlist title: Configure Ory Network IP addresses as allow list sidebar_label: Ory Network IP Addresses +slug: allowlist --- To enhance your security measures while using the Ory Network, we've narrowed down the source IP addresses for all of our egress diff --git a/docs/kratos/bring-your-own-ui/01_overview.mdx b/docs/kratos/bring-your-own-ui/01_overview.mdx index 5016b2eee..686557457 100644 --- a/docs/kratos/bring-your-own-ui/01_overview.mdx +++ b/docs/kratos/bring-your-own-ui/01_overview.mdx @@ -1,5 +1,5 @@ --- -id: index +id: custom-ui-overview title: Custom UI overview sidebar_label: Overview --- diff --git a/docs/kratos/mfa/30_sms.mdx b/docs/kratos/mfa/30_sms.mdx index 6f5226489..7d13b4be0 100644 --- a/docs/kratos/mfa/30_sms.mdx +++ b/docs/kratos/mfa/30_sms.mdx @@ -1,5 +1,5 @@ --- -id: sms +id: mfa-via-sms title: SMS and Email 2FA sidebar_label: SMS and Email --- diff --git a/docs/kratos/passwordless/00_overview.mdx b/docs/kratos/passwordless/00_overview.mdx index 6df720136..784db59c1 100644 --- a/docs/kratos/passwordless/00_overview.mdx +++ b/docs/kratos/passwordless/00_overview.mdx @@ -1,5 +1,5 @@ --- -id: overview +id: passwordless title: Use passwordless WebAuthN to protect against phishing attacks sidebar_label: Passwordless --- diff --git a/docs/kratos/passwordless/06_code.mdx b/docs/kratos/passwordless/06_code.mdx index b18bd8d33..5595a0988 100644 --- a/docs/kratos/passwordless/06_code.mdx +++ b/docs/kratos/passwordless/06_code.mdx @@ -1,5 +1,5 @@ --- -id: code +id: one-time-code title: Passwordless authentication with one-time code sidebar_label: One-time code --- diff --git a/docs/kratos/social-signin/30_apple.mdx b/docs/kratos/social-signin/30_apple.mdx index ff9ee9091..f5662ea8a 100644 --- a/docs/kratos/social-signin/30_apple.mdx +++ b/docs/kratos/social-signin/30_apple.mdx @@ -254,7 +254,3 @@ import SocialSigninTroubleshooting from '../_common/social-sign-in-troubleshooti Make sure to either add your apps current identifier to the `additional_id_token_audiences` field or set it as the Client ID of the provider in the Ory Console. - -``` - -``` diff --git a/src/sidebar.ts b/src/sidebar.ts index 2c7ec6666..7ab6d0a4e 100644 --- a/src/sidebar.ts +++ b/src/sidebar.ts @@ -175,7 +175,7 @@ const guidesSidebar = { "kratos/concepts/credentials/username-email-password", "kratos/passwordless/passkeys", "kratos/passwordless/webauthn", - "kratos/passwordless/code", + "kratos/passwordless/one-time-code", "kratos/organizations/organizations", { type: "category", @@ -223,7 +223,7 @@ const guidesSidebar = { "kratos/mfa/lookup-secrets", "kratos/mfa/totp", "kratos/mfa/webauthn-fido-yubikey", - "kratos/mfa/sms", + "kratos/mfa/mfa-via-sms", "kratos/mfa/step-up-authentication", ], }, @@ -456,7 +456,7 @@ const identitiesSidebar = { }, items: [ "concepts/password-policy", - "kratos/passwordless/overview", + "kratos/passwordless/passwordless", "kratos/mfa/overview", ], }, @@ -467,7 +467,7 @@ const identitiesSidebar = { collapsible: false, link: { type: "doc", - id: "kratos/bring-your-own-ui/index", + id: "kratos/bring-your-own-ui/custom-ui-overview", }, items: [ "account-experience/index",