docs: editing and general fixes of medusa's learning resources (#7261)

* docs: editing and general fixes of medusa's learning resources

* fix build script

* update ui dependency

* fix build

* adjust next.js steps
This commit is contained in:
Shahed Nasser
2024-05-13 18:55:11 +03:00
committed by GitHub
parent 803e4aad02
commit 7cb90f8e82
79 changed files with 488 additions and 1707 deletions
+162 -162
View File
@@ -1,4 +1,152 @@
export const filesMap = [
{
"filePath": "/www/apps/resources/app/_plugins/analytics/segment/page.mdx",
"pathname": "/_plugins/analytics/segment"
},
{
"filePath": "/www/apps/resources/app/_plugins/cms/contentful/page.mdx",
"pathname": "/_plugins/cms/contentful"
},
{
"filePath": "/www/apps/resources/app/_plugins/cms/strapi/page.mdx",
"pathname": "/_plugins/cms/strapi"
},
{
"filePath": "/www/apps/resources/app/_plugins/erp/brightpearl/page.mdx",
"pathname": "/_plugins/erp/brightpearl"
},
{
"filePath": "/www/apps/resources/app/_plugins/fulfillment/manual/page.mdx",
"pathname": "/_plugins/fulfillment/manual"
},
{
"filePath": "/www/apps/resources/app/_plugins/fulfillment/webshipper/page.mdx",
"pathname": "/_plugins/fulfillment/webshipper"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/mailchimp/page.mdx",
"pathname": "/_plugins/notifications/mailchimp"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/sendgrid/page.mdx",
"pathname": "/_plugins/notifications/sendgrid"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/slack/page.mdx",
"pathname": "/_plugins/notifications/slack"
},
{
"filePath": "/www/apps/resources/app/_plugins/notifications/twilio-sms/page.mdx",
"pathname": "/_plugins/notifications/twilio-sms"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/discount-generator/page.mdx",
"pathname": "/_plugins/other/discount-generator"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/ip-lookup/page.mdx",
"pathname": "/_plugins/other/ip-lookup"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/restock-notifications/page.mdx",
"pathname": "/_plugins/other/restock-notifications"
},
{
"filePath": "/www/apps/resources/app/_plugins/other/wishlist/page.mdx",
"pathname": "/_plugins/other/wishlist"
},
{
"filePath": "/www/apps/resources/app/_plugins/page.mdx",
"pathname": "/_plugins"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/klarna/page.mdx",
"pathname": "/_plugins/payment/klarna"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/paypal/page.mdx",
"pathname": "/_plugins/payment/paypal"
},
{
"filePath": "/www/apps/resources/app/_plugins/payment/stripe/page.mdx",
"pathname": "/_plugins/payment/stripe"
},
{
"filePath": "/www/apps/resources/app/_plugins/search/algolia/page.mdx",
"pathname": "/_plugins/search/algolia"
},
{
"filePath": "/www/apps/resources/app/_plugins/search/meilisearch/page.mdx",
"pathname": "/_plugins/search/meilisearch"
},
{
"filePath": "/www/apps/resources/app/_plugins/source/shopify/page.mdx",
"pathname": "/_plugins/source/shopify"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/local/page.mdx",
"pathname": "/_plugins/storage/local"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/minio/page.mdx",
"pathname": "/_plugins/storage/minio"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/s3/page.mdx",
"pathname": "/_plugins/storage/s3"
},
{
"filePath": "/www/apps/resources/app/_plugins/storage/spaces/page.mdx",
"pathname": "/_plugins/storage/spaces"
},
{
"filePath": "/www/apps/resources/app/_recipes/b2b/page.mdx",
"pathname": "/_recipes/b2b"
},
{
"filePath": "/www/apps/resources/app/_recipes/commerce-automation/page.mdx",
"pathname": "/_recipes/commerce-automation"
},
{
"filePath": "/www/apps/resources/app/_recipes/digital-products/page.mdx",
"pathname": "/_recipes/digital-products"
},
{
"filePath": "/www/apps/resources/app/_recipes/ecommerce/page.mdx",
"pathname": "/_recipes/ecommerce"
},
{
"filePath": "/www/apps/resources/app/_recipes/integrate-ecommerce-stack/page.mdx",
"pathname": "/_recipes/integrate-ecommerce-stack"
},
{
"filePath": "/www/apps/resources/app/_recipes/marketplace/page.mdx",
"pathname": "/_recipes/marketplace"
},
{
"filePath": "/www/apps/resources/app/_recipes/multi-region-store/page.mdx",
"pathname": "/_recipes/multi-region-store"
},
{
"filePath": "/www/apps/resources/app/_recipes/omnichannel/page.mdx",
"pathname": "/_recipes/omnichannel"
},
{
"filePath": "/www/apps/resources/app/_recipes/oms/page.mdx",
"pathname": "/_recipes/oms"
},
{
"filePath": "/www/apps/resources/app/_recipes/personalized-products/page.mdx",
"pathname": "/_recipes/personalized-products"
},
{
"filePath": "/www/apps/resources/app/_recipes/pos/page.mdx",
"pathname": "/_recipes/pos"
},
{
"filePath": "/www/apps/resources/app/_recipes/subscriptions/page.mdx",
"pathname": "/_recipes/subscriptions"
},
{
"filePath": "/www/apps/resources/app/admin-widget-injection-zones/page.mdx",
"pathname": "/admin-widget-injection-zones"
@@ -424,12 +572,12 @@ export const filesMap = [
"pathname": "/commerce-modules/user/user-creation-flows"
},
{
"filePath": "/www/apps/resources/app/configurations/medusa-admin/page.mdx",
"pathname": "/configurations/medusa-admin"
"filePath": "/www/apps/resources/app/configurations/_medusa-admin/page.mdx",
"pathname": "/configurations/_medusa-admin"
},
{
"filePath": "/www/apps/resources/app/contribution-guidelines/admin-translations/page.mdx",
"pathname": "/contribution-guidelines/admin-translations"
"filePath": "/www/apps/resources/app/contribution-guidelines/_admin-translations/page.mdx",
"pathname": "/contribution-guidelines/_admin-translations"
},
{
"filePath": "/www/apps/resources/app/contribution-guidelines/docs/page.mdx",
@@ -519,158 +667,14 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/page.mdx",
"pathname": "/"
},
{
"filePath": "/www/apps/resources/app/plugins/analytics/segment/page.mdx",
"pathname": "/plugins/analytics/segment"
},
{
"filePath": "/www/apps/resources/app/plugins/cms/contentful/page.mdx",
"pathname": "/plugins/cms/contentful"
},
{
"filePath": "/www/apps/resources/app/plugins/cms/strapi/page.mdx",
"pathname": "/plugins/cms/strapi"
},
{
"filePath": "/www/apps/resources/app/plugins/erp/brightpearl/page.mdx",
"pathname": "/plugins/erp/brightpearl"
},
{
"filePath": "/www/apps/resources/app/plugins/fulfillment/manual/page.mdx",
"pathname": "/plugins/fulfillment/manual"
},
{
"filePath": "/www/apps/resources/app/plugins/fulfillment/webshipper/page.mdx",
"pathname": "/plugins/fulfillment/webshipper"
},
{
"filePath": "/www/apps/resources/app/plugins/notifications/mailchimp/page.mdx",
"pathname": "/plugins/notifications/mailchimp"
},
{
"filePath": "/www/apps/resources/app/plugins/notifications/sendgrid/page.mdx",
"pathname": "/plugins/notifications/sendgrid"
},
{
"filePath": "/www/apps/resources/app/plugins/notifications/slack/page.mdx",
"pathname": "/plugins/notifications/slack"
},
{
"filePath": "/www/apps/resources/app/plugins/notifications/twilio-sms/page.mdx",
"pathname": "/plugins/notifications/twilio-sms"
},
{
"filePath": "/www/apps/resources/app/plugins/other/discount-generator/page.mdx",
"pathname": "/plugins/other/discount-generator"
},
{
"filePath": "/www/apps/resources/app/plugins/other/ip-lookup/page.mdx",
"pathname": "/plugins/other/ip-lookup"
},
{
"filePath": "/www/apps/resources/app/plugins/other/restock-notifications/page.mdx",
"pathname": "/plugins/other/restock-notifications"
},
{
"filePath": "/www/apps/resources/app/plugins/other/wishlist/page.mdx",
"pathname": "/plugins/other/wishlist"
},
{
"filePath": "/www/apps/resources/app/plugins/page.mdx",
"pathname": "/plugins"
},
{
"filePath": "/www/apps/resources/app/plugins/payment/klarna/page.mdx",
"pathname": "/plugins/payment/klarna"
},
{
"filePath": "/www/apps/resources/app/plugins/payment/paypal/page.mdx",
"pathname": "/plugins/payment/paypal"
},
{
"filePath": "/www/apps/resources/app/plugins/payment/stripe/page.mdx",
"pathname": "/plugins/payment/stripe"
},
{
"filePath": "/www/apps/resources/app/plugins/search/algolia/page.mdx",
"pathname": "/plugins/search/algolia"
},
{
"filePath": "/www/apps/resources/app/plugins/search/meilisearch/page.mdx",
"pathname": "/plugins/search/meilisearch"
},
{
"filePath": "/www/apps/resources/app/plugins/source/shopify/page.mdx",
"pathname": "/plugins/source/shopify"
},
{
"filePath": "/www/apps/resources/app/plugins/storage/local/page.mdx",
"pathname": "/plugins/storage/local"
},
{
"filePath": "/www/apps/resources/app/plugins/storage/minio/page.mdx",
"pathname": "/plugins/storage/minio"
},
{
"filePath": "/www/apps/resources/app/plugins/storage/s3/page.mdx",
"pathname": "/plugins/storage/s3"
},
{
"filePath": "/www/apps/resources/app/plugins/storage/spaces/page.mdx",
"pathname": "/plugins/storage/spaces"
},
{
"filePath": "/www/apps/resources/app/recipes/b2b/page.mdx",
"pathname": "/recipes/b2b"
},
{
"filePath": "/www/apps/resources/app/recipes/commerce-automation/page.mdx",
"pathname": "/recipes/commerce-automation"
},
{
"filePath": "/www/apps/resources/app/recipes/digital-products/page.mdx",
"pathname": "/recipes/digital-products"
},
{
"filePath": "/www/apps/resources/app/recipes/ecommerce/page.mdx",
"pathname": "/recipes/ecommerce"
},
{
"filePath": "/www/apps/resources/app/recipes/integrate-ecommerce-stack/page.mdx",
"pathname": "/recipes/integrate-ecommerce-stack"
},
{
"filePath": "/www/apps/resources/app/recipes/marketplace/page.mdx",
"pathname": "/recipes/marketplace"
},
{
"filePath": "/www/apps/resources/app/recipes/multi-region-store/page.mdx",
"pathname": "/recipes/multi-region-store"
},
{
"filePath": "/www/apps/resources/app/recipes/omnichannel/page.mdx",
"pathname": "/recipes/omnichannel"
},
{
"filePath": "/www/apps/resources/app/recipes/oms/page.mdx",
"pathname": "/recipes/oms"
},
{
"filePath": "/www/apps/resources/app/recipes/personalized-products/page.mdx",
"pathname": "/recipes/personalized-products"
},
{
"filePath": "/www/apps/resources/app/recipes/pos/page.mdx",
"pathname": "/recipes/pos"
},
{
"filePath": "/www/apps/resources/app/recipes/subscriptions/page.mdx",
"pathname": "/recipes/subscriptions"
},
{
"filePath": "/www/apps/resources/app/references/[...slug]/page.tsx",
"pathname": "/references/[...slug]"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/_s3-plugin-acl-error/page.mdx",
"pathname": "/troubleshooting/_s3-plugin-acl-error"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/_sections/cli-installation-errors/permission-errors.mdx",
"pathname": "/troubleshooting/_sections/cli-installation-errors"
@@ -747,6 +751,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/troubleshooting/_sections/other/s3-acl.mdx",
"pathname": "/troubleshooting/_sections/other"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/_transaction-promise-all/page.mdx",
"pathname": "/troubleshooting/_transaction-promise-all"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/admin-sign-in/page.mdx",
"pathname": "/troubleshooting/admin-sign-in"
@@ -788,16 +796,8 @@ export const filesMap = [
"pathname": "/troubleshooting"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/payment-provider-missing/page.mdx",
"pathname": "/troubleshooting/payment-provider-missing"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/s3-plugin-acl-error/page.mdx",
"pathname": "/troubleshooting/s3-plugin-acl-error"
},
{
"filePath": "/www/apps/resources/app/troubleshooting/transaction-promise-all/page.mdx",
"pathname": "/troubleshooting/transaction-promise-all"
"filePath": "/www/apps/resources/app/upgrade-guides/page.mdx",
"pathname": "/upgrade-guides"
},
{
"filePath": "/www/apps/resources/app/usage/page.mdx",
+1 -447
View File
@@ -5546,264 +5546,6 @@ export const generatedSidebar = [
}
]
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins",
"title": "Plugins",
"isChildSidebar": true,
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"title": "Analytics",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/analytics/segment",
"title": "Segment",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "CMS",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/cms/contentful",
"title": "Contentful",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/cms/strapi",
"title": "Strapi",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "ERP",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/erp/brightpearl",
"title": "Brightpearl",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Fulfillment",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/fulfillment/manual",
"title": "Manual Fulfillment",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/fulfillment/webshipper",
"title": "Webshipper",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Notifications",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/notifications/mailchimp",
"title": "Mailchimp",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/notifications/sendgrid",
"title": "SendGrid",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/notifications/twilio-sms",
"title": "Twilio SMS",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/notifications/slack",
"title": "Slack",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Payment",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/payment/klarna",
"title": "Klarna",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/payment/paypal",
"title": "PayPal",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/payment/stripe",
"title": "Stripe",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Search",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/search/algolia",
"title": "Algolia",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/search/meilisearch",
"title": "MeiliSearch",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Source",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/source/shopify",
"title": "Shopify",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Storage",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/storage/local",
"title": "Local File Storage",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/storage/minio",
"title": "MinIO",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/storage/s3",
"title": "S3",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/storage/spaces",
"title": "Spaces",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Other",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/other/discount-generator",
"title": "Discount Generator",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/other/ip-lookup",
"title": "IP Lookup",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/other/restock-notifications",
"title": "Restock Notifications",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/plugins/other/wishlist",
"title": "Wishlist",
"children": []
}
]
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -6929,98 +6671,6 @@ export const generatedSidebar = [
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Recipes",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/ecommerce",
"title": "Ecommerce",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/marketplace",
"title": "Marketplace",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/subscriptions",
"title": "Subscriptions",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/integrate-ecommerce-stack",
"title": "Integrate Ecommerce Stack",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/commerce-automation",
"title": "Commerce Automation",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/oms",
"title": "Order Management System",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/pos",
"title": "POS",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/digital-products",
"title": "Digital Products",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/personalized-products",
"title": "Personalized Products",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/b2b",
"title": "B2B",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/multi-region-store",
"title": "Multi-Region Store",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/recipes/omnichannel",
"title": "Omnichannel Store",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -7033,13 +6683,6 @@ export const generatedSidebar = [
"path": "/references/medusa-config",
"title": "Medusa Application",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/configurations/medusa-admin",
"title": "Medusa Admin",
"children": []
}
]
},
@@ -7052,6 +6695,7 @@ export const generatedSidebar = [
{
"loaded": true,
"isPathHref": true,
"path": "/upgrade-guides",
"title": "Upgrade Guides",
"children": []
},
@@ -7206,20 +6850,6 @@ export const generatedSidebar = [
"path": "/troubleshooting/database-errors",
"title": "Database Errors",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/troubleshooting/transaction-promise-all",
"title": "Transactions and Promise.all",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/troubleshooting/payment-provider-missing",
"title": "Payment Provider Missing",
"children": []
}
]
},
@@ -7272,28 +6902,6 @@ export const generatedSidebar = [
"path": "/troubleshooting/admin-custom-hooks-error",
"title": "Custom Hooks Error",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/troubleshooting/admin-webpack-build-error",
"title": "Webpack Build Error",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Plugin",
"hasTitleStyling": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/troubleshooting/s3-plugin-acl-error",
"title": "S3 Plugin ACL Error",
"children": []
}
]
}
@@ -7381,53 +6989,6 @@ export const generatedSidebar = [
]
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Integration Services",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/references/notification-service",
"title": "Notification Service",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/references/file-service",
"title": "File Service",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/references/search-service",
"title": "Search Service",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Modules",
"children": [
{
"loaded": true,
"isPathHref": true,
"title": "Cache Service",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"title": "Event Bus Service",
"children": []
}
]
}
]
},
@@ -7448,13 +7009,6 @@ export const generatedSidebar = [
"path": "/contribution-guidelines/docs",
"title": "Docs",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/contribution-guidelines/admin-translations",
"title": "Admin Translations",
"children": []
}
]
},