From 558986d28d45fa77df4c1c14c434b3ff255b1a34 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Thu, 30 May 2024 10:17:42 +0800 Subject: [PATCH] fix(core,console): update invalid documentation links in console and core (#5937) fix(core,console): update invalid documentation links in console and core cli --- .changeset/gentle-flies-boil.md | 6 ++++++ .../components/ManagementApiNotice/index.tsx | 2 +- packages/core/src/env-set/preconditions.ts | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/gentle-flies-boil.md diff --git a/.changeset/gentle-flies-boil.md b/.changeset/gentle-flies-boil.md new file mode 100644 index 000000000..d6bb1d0a9 --- /dev/null +++ b/.changeset/gentle-flies-boil.md @@ -0,0 +1,6 @@ +--- +"@logto/console": patch +"@logto/core": patch +--- + +update documentation reference links diff --git a/packages/console/src/pages/ApiResourceDetails/components/ManagementApiNotice/index.tsx b/packages/console/src/pages/ApiResourceDetails/components/ManagementApiNotice/index.tsx index 5562b2214..b477f0f69 100644 --- a/packages/console/src/pages/ApiResourceDetails/components/ManagementApiNotice/index.tsx +++ b/packages/console/src/pages/ApiResourceDetails/components/ManagementApiNotice/index.tsx @@ -15,7 +15,7 @@ function ManagementApiNotice() { return null; } - const learnMoreLink = getDocumentationUrl('/docs/tutorials/get-started/explore-management-api'); + const learnMoreLink = getDocumentationUrl('/docs/recipes/interact-with-management-api'); return ( { 'npm run alteration deploy' )} command.\n\n` + ` See ${chalk.blue( - 'https://docs.logto.io/docs/tutorials/using-cli/database-alteration' + 'https://docs.logto.io/docs/references/using-cli/database-alteration' )} for reference.\n` );