docs: fix broken links utility + uncaught broken links (#12637)
* fix broken links * update broken links utility * add missing payment evens * generate llms * fix segment link
This commit is contained in:
1 parent
9866baa852
commit
40e73c6ea2
64 files changed
+151813
-150840
No files matched your search
@@ -4,8 +4,8 @@
|
||||
const redirects = async () => {
|
||||
return [
|
||||
{
|
||||
source: "/v2/:path*",
|
||||
destination: "/:path*",
|
||||
source: "/v2/learn/customization",
|
||||
destination: "/learn/customization/custom-features",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
@@ -63,6 +63,11 @@ const redirects = async () => {
|
||||
destination: "/learn/fundamentals/modules/commerce-modules",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/commerce-modules",
|
||||
destination: "/learn/fundamentals/modules/commerce-modules",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/learn/advanced-development/architecture/infrastructure-modules",
|
||||
destination: "/learn/fundamentals/modules/infrastructure-modules",
|
||||
@@ -103,6 +108,11 @@ const redirects = async () => {
|
||||
destination: "/learn/fundamentals/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/advanced-development/:path*",
|
||||
destination: "/learn/fundamentals/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/learn/storefront-development/nextjs-starter",
|
||||
destination: "/resources/nextjs-starter",
|
||||
@@ -266,12 +276,12 @@ const redirects = async () => {
|
||||
},
|
||||
{
|
||||
source: "/v1/modules/products/admin/manage-products",
|
||||
destination: "/user-guides/products/edit",
|
||||
destination: "/user-guide/products/edit",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/v1/plugins/overview",
|
||||
destination: "/learn/integrations",
|
||||
destination: "/resources/integrations",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
@@ -321,12 +331,12 @@ const redirects = async () => {
|
||||
},
|
||||
{
|
||||
source: "/v1/modules/users/admin/manage-profile",
|
||||
destination: "/user-guides/settings/profile",
|
||||
destination: "/user-guide/settings/profile",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/v1/modules/customers/customer-groups",
|
||||
destination: "/commerce-modules/customer",
|
||||
destination: "/resources/commerce-modules/customer",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
@@ -369,6 +379,101 @@ const redirects = async () => {
|
||||
destination: "/learn/fundamentals/workflows/errors",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/add-plugins/:path",
|
||||
destination: "/v1/plugins/:path",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/usage/create-medusa-app",
|
||||
destination: "/learn/installation",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/tutorial/set-up-your-development-environment",
|
||||
destination: "/v1/development/backend/prepare-environmentt",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/api",
|
||||
destination: "/v1/api",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/development/:path*",
|
||||
destination: "/v1/development/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/modules/:path*",
|
||||
destination: "/v1/modules/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/advanced/:path*",
|
||||
destination: "/v1/development/overview",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/deployments/:path*",
|
||||
destination: "/v1/deployments/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/guides/fulfillment-api",
|
||||
destination: "/resources/commerce-modules/fulfillment",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/introduction",
|
||||
destination: "/learn/introduction",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/admin/:path*",
|
||||
destination: "/v1/admin/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/user-guide/regions/providers",
|
||||
destination: "/user-guide/settings/regions",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/starters/gatsby-medusa-starter",
|
||||
destination: "/resources/nextjs-starter",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/usage/configurations",
|
||||
destination: "/learn/configurations/medusa-config",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/troubleshooting/:path",
|
||||
destination: "/v1/troubleshooting/:path",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/quickstart/quick-start",
|
||||
destination: "/learn/installation",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/guides/:path*",
|
||||
destination: "/resources/how-to-tutorials",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/v2/:path*",
|
||||
destination: "/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/js-client/:path*",
|
||||
destination: "/resources/js-client/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user