From 7a26e123bb25011d32f215294d536decd43640fc Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 13 Nov 2024 11:02:01 +0200 Subject: [PATCH] docs: fix outdated links (#10040) --- www/apps/book/app/_not-found.mdx | 2 +- .../learn/customization/custom-features/api-route/page.mdx | 2 +- .../app/learn/customization/custom-features/workflow/page.mdx | 2 +- .../app/learn/customization/customize-admin/route/page.mdx | 2 +- .../app/learn/customization/customize-admin/widget/page.mdx | 2 +- .../learn/customization/extend-models/define-link/page.mdx | 2 +- .../extend-models/extend-create-product/page.mdx | 4 ++-- .../customization/extend-models/query-linked-records/page.mdx | 4 ++-- .../customization/integrate-systems/handle-event/page.mdx | 2 +- .../customization/integrate-systems/schedule-task/page.mdx | 2 +- .../learn/customization/integrate-systems/service/page.mdx | 2 +- .../testing-tools/integration-tests/api-routes/page.mdx | 2 +- .../testing-tools/integration-tests/workflows/page.mdx | 2 +- .../testing-tools/modules-tests/module-example/page.mdx | 2 +- .../testing-tools/modules-tests/page.mdx | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/www/apps/book/app/_not-found.mdx b/www/apps/book/app/_not-found.mdx index 914b2b8541..fa69e0b22d 100644 --- a/www/apps/book/app/_not-found.mdx +++ b/www/apps/book/app/_not-found.mdx @@ -23,7 +23,7 @@ If you think this is a mistake, please [report this issue on GitHub](https://git items={[ { title: "Get Started Docs", - href: "/", + href: "/learn", icon: BookOpen }, { diff --git a/www/apps/book/app/learn/customization/custom-features/api-route/page.mdx b/www/apps/book/app/learn/customization/custom-features/api-route/page.mdx index 34c1d5869e..4626295662 100644 --- a/www/apps/book/app/learn/customization/custom-features/api-route/page.mdx +++ b/www/apps/book/app/learn/customization/custom-features/api-route/page.mdx @@ -16,7 +16,7 @@ This chapter covers how to define an API route that creates a brand as the last items={[ { text: "createBrandWorkflow", - link: "/customization/custom-features/workflow" + link: "/learn/customization/custom-features/workflow" } ]} /> diff --git a/www/apps/book/app/learn/customization/custom-features/workflow/page.mdx b/www/apps/book/app/learn/customization/custom-features/workflow/page.mdx index cd283ecdfd..ab66d555f3 100644 --- a/www/apps/book/app/learn/customization/custom-features/workflow/page.mdx +++ b/www/apps/book/app/learn/customization/custom-features/workflow/page.mdx @@ -34,7 +34,7 @@ This is even more useful when you create workflows with many steps, or integrate items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" } ]} /> diff --git a/www/apps/book/app/learn/customization/customize-admin/route/page.mdx b/www/apps/book/app/learn/customization/customize-admin/route/page.mdx index 01ddb07221..049cb0b6ed 100644 --- a/www/apps/book/app/learn/customization/customize-admin/route/page.mdx +++ b/www/apps/book/app/learn/customization/customize-admin/route/page.mdx @@ -26,7 +26,7 @@ The UI Route can be shown in the sidebar or added as a nested page. items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" }, ]} /> diff --git a/www/apps/book/app/learn/customization/customize-admin/widget/page.mdx b/www/apps/book/app/learn/customization/customize-admin/widget/page.mdx index e4b4cea99d..df354ac619 100644 --- a/www/apps/book/app/learn/customization/customize-admin/widget/page.mdx +++ b/www/apps/book/app/learn/customization/customize-admin/widget/page.mdx @@ -18,7 +18,7 @@ This chapter covers how to show the brand of a product in the Medusa Admin using items={[ { text: "Retrieve Brand of Product API Route", - link: "/customization/extend-models/query-linked-records" + link: "/learn/customization/extend-models/query-linked-records" } ]} /> diff --git a/www/apps/book/app/learn/customization/extend-models/define-link/page.mdx b/www/apps/book/app/learn/customization/extend-models/define-link/page.mdx index 0891dbfc97..ebc1c22600 100644 --- a/www/apps/book/app/learn/customization/extend-models/define-link/page.mdx +++ b/www/apps/book/app/learn/customization/extend-models/define-link/page.mdx @@ -18,7 +18,7 @@ This chapter covers how to define a link between the `Brand` and `Product`data m items={[ { text: "Brand Module having a Brand data model", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" } ]} /> diff --git a/www/apps/book/app/learn/customization/extend-models/extend-create-product/page.mdx b/www/apps/book/app/learn/customization/extend-models/extend-create-product/page.mdx index 962e8fdbc2..17c0f3e165 100644 --- a/www/apps/book/app/learn/customization/extend-models/extend-create-product/page.mdx +++ b/www/apps/book/app/learn/customization/extend-models/extend-create-product/page.mdx @@ -26,11 +26,11 @@ It's useful when you want to pass custom data, such as the brand ID, then perfor items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" }, { text: "Defined link between the Brand and Product data models.", - link: "/customization/extend-models/define-link" + link: "/learn/customization/extend-models/define-link" } ]} /> diff --git a/www/apps/book/app/learn/customization/extend-models/query-linked-records/page.mdx b/www/apps/book/app/learn/customization/extend-models/query-linked-records/page.mdx index 6a56da474f..3a4ba06e02 100644 --- a/www/apps/book/app/learn/customization/extend-models/query-linked-records/page.mdx +++ b/www/apps/book/app/learn/customization/extend-models/query-linked-records/page.mdx @@ -24,11 +24,11 @@ Query is a utility that retrieves data across modules and their links. It’s re items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" }, { text: "Defined link between the Brand and Product data models.", - link: "/customization/extend-models/define-link" + link: "/learn/customization/extend-models/define-link" } ]} /> diff --git a/www/apps/book/app/learn/customization/integrate-systems/handle-event/page.mdx b/www/apps/book/app/learn/customization/integrate-systems/handle-event/page.mdx index 3d72c3e258..d0cad26da6 100644 --- a/www/apps/book/app/learn/customization/integrate-systems/handle-event/page.mdx +++ b/www/apps/book/app/learn/customization/integrate-systems/handle-event/page.mdx @@ -18,7 +18,7 @@ This chapter covers how to emit an event when a brand is created, listen to that items={[ { text: "Brand Module with createBrandWorkflow", - link: "/customization/custom-features/workflow" + link: "/learn/customization/custom-features/workflow" } ]} /> diff --git a/www/apps/book/app/learn/customization/integrate-systems/schedule-task/page.mdx b/www/apps/book/app/learn/customization/integrate-systems/schedule-task/page.mdx index 375c1b3a00..58f70e5251 100644 --- a/www/apps/book/app/learn/customization/integrate-systems/schedule-task/page.mdx +++ b/www/apps/book/app/learn/customization/integrate-systems/schedule-task/page.mdx @@ -18,7 +18,7 @@ This chapter covers how to use workflows and scheduled jobs to sync brands from items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" }, ]} /> diff --git a/www/apps/book/app/learn/customization/integrate-systems/service/page.mdx b/www/apps/book/app/learn/customization/integrate-systems/service/page.mdx index e9de033c6e..82b96e44a1 100644 --- a/www/apps/book/app/learn/customization/integrate-systems/service/page.mdx +++ b/www/apps/book/app/learn/customization/integrate-systems/service/page.mdx @@ -18,7 +18,7 @@ This chapter covers how to integrate a dummy third-party system in a service as items={[ { text: "Brand Module", - link: "/customization/custom-features/module" + link: "/learn/customization/custom-features/module" } ]} /> diff --git a/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx b/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx index d3808312b5..57f728efda 100644 --- a/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx +++ b/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/api-routes/page.mdx @@ -12,7 +12,7 @@ In this chapter, you'll learn how to write integration tests for API routes usin items={[ { text: "Testing Tools Setup", - link: "/debugging-and-testing/testing-tools" + link: "/learn/debugging-and-testing/testing-tools" } ]} /> diff --git a/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx b/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx index d2c52d78dd..d5cf5bb91b 100644 --- a/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx +++ b/www/apps/book/app/learn/debugging-and-testing/testing-tools/integration-tests/workflows/page.mdx @@ -12,7 +12,7 @@ In this chapter, you'll learn how to write integration tests for workflows using items={[ { text: "Testing Tools Setup", - link: "/debugging-and-testing/testing-tools" + link: "/learn/debugging-and-testing/testing-tools" } ]} /> diff --git a/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx b/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx index e88c4811c0..c104862d8f 100644 --- a/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx +++ b/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/module-example/page.mdx @@ -12,7 +12,7 @@ In this chapter, find an example of writing an integration test for a module usi items={[ { text: "Testing Tools Setup", - link: "/debugging-and-testing/testing-tools" + link: "/learn/debugging-and-testing/testing-tools" } ]} /> diff --git a/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx b/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx index c0229a41b3..b265527cca 100644 --- a/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx +++ b/www/apps/book/app/learn/debugging-and-testing/testing-tools/modules-tests/page.mdx @@ -12,7 +12,7 @@ In this chapter, you'll learn about the `moduleIntegrationTestRunner` utility fu items={[ { text: "Testing Tools Setup", - link: "/debugging-and-testing/testing-tools" + link: "/learn/debugging-and-testing/testing-tools" } ]} />