docs: prepare cloud docs (#12784)

* initial

* fixes

* docs: prepare cloud docs
This commit is contained in:
Shahed Nasser
2025-06-20 12:59:38 +03:00
committed by GitHub
parent c2f91c8a8a
commit 5122ced9f6
30 changed files with 241 additions and 46 deletions

View File

@@ -55,6 +55,9 @@ const withMDX = createMDX({
"user-guide": {
projectPath: path.resolve("..", "user-guide"),
},
cloud: {
projectPath: path.resolve("..", "cloud"),
},
},
},
],
@@ -76,6 +79,9 @@ const withMDX = createMDX({
ui: {
url: process.env.NEXT_PUBLIC_UI_URL,
},
cloud: {
url: process.env.NEXT_PUBLIC_CLOUD_URL,
},
},
useBaseUrl:
process.env.NODE_ENV === "production" ||

View File

@@ -12,7 +12,7 @@ Find how-to guides for specific platforms in [this documentation](!resources!/de
<Note title="Deploy with Cloud" type="success">
Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://medusajs.com/pricing)
Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](!cloud!)
Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance.

View File

@@ -55,7 +55,7 @@ With Cloud, you maintain full customization control as you deploy your own modul
- Preview environments for new PRs.
- Test on production-like data.
[Sign up and learn more about Cloud](https://medusajs.com/pricing)
[Sign up and learn more about Cloud](!cloud!)
To self-host Medusa, the [next chapter](./general/page.mdx) explains the general steps to deploy your Medusa application. Refer to [this reference](!resources!/deployment) to find how-to deployment guides for general and specific hosting providers.

View File

@@ -143,6 +143,14 @@ This documentation is split into the following sections:
Guides that introduce merchants and store managers to the Medusa Admin dashboard and helps them understand how to use the dashboard to manage their store.
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
[Cloud](!cloud!)
</Table.Cell>
<Table.Cell>
Learn about Cloud, our managed services offering for Medusa applications. Find guides on how to deploy your Medusa application, manage organizations, and more.
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>

View File

@@ -6,6 +6,7 @@ import HomepageLinksSection from "../components/Homepage/LinksSection"
import HomepageRecipesSection from "../components/Homepage/RecipesSection"
import HomepageModulesSection from "../components/Homepage/ModulesSection"
import HomepageFooter from "../components/Homepage/Footer"
import { HomepageCloudSection } from "../components/Homepage/CloudSection"
const Homepage = () => {
return (
@@ -43,6 +44,7 @@ const Homepage = () => {
)}
/>
<HomepageTopSection />
{/* <HomepageCloudSection /> */}
<HomepageLinksSection />
<HomepageRecipesSection />
<HomepageModulesSection />

View File

@@ -0,0 +1,66 @@
import clsx from "clsx"
import {
getLinkWithBasePath,
IconCloudSolid,
IconHeadline,
Link,
} from "docs-ui"
import Image from "next/image"
export const HomepageCloudSection = () => {
return (
<div className="border-t border-medusa-border-base">
<div
className={clsx(
"flex justify-center gap-2 lg:gap-4",
"xl:mx-auto xl:max-w-[1136px] w-full py-4 px-1 sm:px-4 xl:px-0"
)}
>
<div className="flex flex-col gap-1 w-full lg:w-1/3 xl:max-w-[336px]">
<div className="flex flex-col gap-0.5">
<IconHeadline title="Cloud" icon={<IconCloudSolid />} />
<h2 className="text-h1 text-medusa-fg-base">
Deploy scalable applications with Cloud
</h2>
<div
className={clsx(
"text-medusa-fg-subtle text-small-plus",
"flex flex-col gap-1 lg:gap-2"
)}
>
<span>
Focus on building new features without worrying about
infrastructure with our PaaS Cloud offering.
</span>
<span>
Deploy directly from your GitHub repository on a
security-compliant infrastructure that is pre-configured for
optimal operation and scaling of your Medusa application.
</span>
<span>
Access our support team and receive guidance as you build your
application and go live.
</span>
</div>
</div>
<Link
href={"https://docs.medusajs.com/cloud"}
className="flex gap-0.25 items-center text-compact-small-plus"
withIcon
>
<span>Learn about Cloud</span>
</Link>
</div>
<div className="hidden lg:block lg:w-2/3">
<Image
src={getLinkWithBasePath("/images/cloud.png")}
alt="Cloud"
className="w-full h-auto"
width={700}
height={400}
/>
</div>
</div>
</div>
)
}

View File

@@ -1,7 +1,7 @@
export const generatedEditDates = {
"app/learn/fundamentals/scheduled-jobs/page.mdx": "2024-12-09T10:51:40.570Z",
"app/learn/fundamentals/workflows/page.mdx": "2024-12-09T14:45:17.837Z",
"app/learn/deployment/page.mdx": "2025-03-11T14:53:25.540Z",
"app/learn/deployment/page.mdx": "2025-06-20T08:36:29.097Z",
"app/learn/page.mdx": "2025-05-01T15:30:08.238Z",
"app/learn/fundamentals/modules/commerce-modules/page.mdx": "2025-04-17T08:51:32.723Z",
"app/learn/fundamentals/workflows/retry-failed-steps/page.mdx": "2025-03-28T07:15:19.388Z",
@@ -95,7 +95,7 @@ export const generatedEditDates = {
"app/learn/fundamentals/custom-cli-scripts/seed-data/page.mdx": "2024-12-09T14:38:06.385Z",
"app/learn/fundamentals/environment-variables/page.mdx": "2025-05-26T15:06:07.800Z",
"app/learn/build/page.mdx": "2025-04-25T12:34:33.914Z",
"app/learn/deployment/general/page.mdx": "2025-04-17T08:29:09.878Z",
"app/learn/deployment/general/page.mdx": "2025-06-20T08:36:05.063Z",
"app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z",
"app/learn/installation/page.mdx": "2025-05-16T13:44:27.118Z",
"app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z",

View File

@@ -9,5 +9,5 @@ export function middleware(request: NextRequest) {
}
export const config = {
matcher: "/((?!resources|api|ui|user-guide).*)index.html.md",
matcher: "/((?!resources|api|ui|user-guide|cloud).*)index.html.md",
}

View File

@@ -40,6 +40,9 @@ const withMDX = mdx({
projectPath: path.resolve("..", "api-reference"),
skipSlugValidation: true,
},
cloud: {
projectPath: path.resolve("..", "cloud"),
},
},
},
],
@@ -52,13 +55,16 @@ const withMDX = mdx({
url: process.env.NEXT_PUBLIC_RESOURCES_URL,
},
"user-guide": {
url: process.env.NEXT_PUBLIC_RESOURCES_URL,
url: process.env.NEXT_PUBLIC_USER_GUIDE_URL,
},
ui: {
url: process.env.NEXT_PUBLIC_RESOURCES_URL,
url: process.env.NEXT_PUBLIC_UI_URL,
},
api: {
url: process.env.NEXT_PUBLIC_RESOURCES_URL,
url: process.env.NEXT_PUBLIC_API_URL,
},
cloud: {
url: process.env.NEXT_PUBLIC_CLOUD_URL,
},
},
useBaseUrl:
@@ -177,6 +183,16 @@ const nextConfig = {
destination: `${process.env.NEXT_PUBLIC_USER_GUIDE_URL || "https://localhost:3001"}/user-guide/:path*`,
basePath: false,
},
{
source: "/cloud",
destination: `${process.env.NEXT_PUBLIC_CLOUD_URL || "https://localhost:3001"}/cloud`,
basePath: false,
},
{
source: "/cloud/:path*",
destination: `${process.env.NEXT_PUBLIC_CLOUD_URL || "https://localhost:3001"}/cloud/:path*`,
basePath: false,
},
],
}
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -4658,7 +4658,7 @@ In this document, you'll learn the general steps to deploy your Medusa applicati
Find how-to guides for specific platforms in [this documentation](https://docs.medusajs.com/resources/deployment/index.html.md).
Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://medusajs.com/pricing)
Want Medusa to manage and maintain your infrastructure? [Sign up and learn more about Cloud](https://docs.medusajs.com/cloud/index.html.md)
Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance.
@@ -5013,7 +5013,7 @@ With Cloud, you maintain full customization control as you deploy your own modul
- Preview environments for new PRs.
- Test on production-like data.
[Sign up and learn more about Cloud](https://medusajs.com/pricing)
[Sign up and learn more about Cloud](https://docs.medusajs.com/cloud/index.html.md)
To self-host Medusa, the [next chapter](https://docs.medusajs.com/learn/deployment/general/index.html.md) explains the general steps to deploy your Medusa application. Refer to [this reference](https://docs.medusajs.com/resources/deployment/index.html.md) to find how-to deployment guides for general and specific hosting providers.
@@ -32356,6 +32356,8 @@ Medusa provides the following Cache Modules. You can use one of them, or [Create
The Redis Cache Module uses Redis to cache data in your store. In production, it's recommended to use this module.
Our Cloud offering automatically provisions a Redis instance and configures the Redis Cache Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation.
***
## Register the Redis Cache Module
@@ -32763,6 +32765,8 @@ It's powered by BullMQ and `io-redis`. BullMQ is responsible for the message que
In production, it's recommended to use this module.
Our Cloud offering automatically provisions a Redis instance and configures the Redis Event Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation.
***
## Register the Redis Event Module
@@ -32950,7 +32954,7 @@ This is useful for development. However, for production, its highly recommend
The S3 File Module Provider integrates Amazon S3 and services following a compatible API (such as MinIO or DigitalOcean Spaces) to store files uploaded to your Medusa application.
Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Contact the [sales team](https://medusajs.com/pricing/) to learn more.
Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Refer to the [S3](https://docs.medusajs.com/cloud/s3/index.html.md) Cloud documentation for more details.
## Prerequisites
@@ -33313,6 +33317,8 @@ The Redis Locking Module Provider uses Redis to manage locks across multiple ins
This provider is recommended for production environments where Medusa is running in a multi-instance setup.
Our Cloud offering automatically provisions a Redis instance and configures the Redis Locking Module Provider for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation.
***
## Register the Redis Locking Module Provider
@@ -34323,6 +34329,8 @@ Medusa provides the following Workflow Engine Modules.
The Redis Workflow Engine Module uses Redis to track workflow executions and handle their subscribers. In production, it's recommended to use this module.
Our Cloud offering automatically provisions a Redis instance and configures the Redis Workflow Engine Module for you. Learn more in the [Redis](https://docs.medusajs.com/cloud/redis/index.html.md) Cloud documentation.
***
## Register the Redis Workflow Engine Module
@@ -47032,7 +47040,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
In this tutorial, you'll learn how to implement a loyalty points system in Medusa.
Cloud provides a beta Store Credits feature that facilitates building a loyalty point system. [Get in touch](https://medusajs.com/contact) for early access.
Cloud provides a beta Loyalty Plugin feature that facilitates building a loyalty point system. Refer to the [Cloud Loyalty Plugin](https://docs.medusajs.com/cloud/loyalty-plugin/index.html.md) documentation to learn more.
When you install a Medusa application, you get a fully-fledged commerce platform with a Framework for customization. The Medusa application's commerce features are built around [Commerce Modules](https://docs.medusajs.com/Users/shahednasser/medusa/www/apps/resources/app/commerce-modules/index.html.md), which are available out-of-the-box. These features include management capabilities related to carts, orders, promotions, and more.

View File

@@ -33,11 +33,11 @@ const SearchProvider = ({ children }: SearchProviderProps) => {
{
title: "Search Suggestions",
items: [
// TODO: Add more suggestions
"Manage Organizations",
"Create Project",
"Manage Environments",
"View Logs",
"Contact Support",
],
},
],

View File

@@ -26,7 +26,7 @@ With Cloud, you maintain full customization control as you deploy your own modul
Cloud users also gets early access to new features (for example, Gift Cards and Draft Orders).
[Sign up and learn more about Cloud](https://medusajs.com/pricing/)
[Sign up and learn more about Cloud](!cloud!)
---

View File

@@ -31,7 +31,7 @@ In this tutorial, you'll learn how to implement a loyalty points system in Medus
<Note title="Looking for a straightforward implementation?">
Cloud provides a beta Store Credits feature that facilitates building a loyalty point system. [Get in touch](https://medusajs.com/contact) for early access.
Cloud provides a beta Loyalty Plugin feature that facilitates building a loyalty point system. Refer to the [Cloud Loyalty Plugin](!cloud!/loyalty-plugin) documentation to learn more.
</Note>

View File

@@ -8,6 +8,12 @@ export const metadata = {
The Redis Cache Module uses Redis to cache data in your store. In production, it's recommended to use this module.
<Note title="Using Cloud?">
Our Cloud offering automatically provisions a Redis instance and configures the Redis Cache Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation.
</Note>
---
## Register the Redis Cache Module

View File

@@ -12,6 +12,12 @@ It's powered by BullMQ and `io-redis`. BullMQ is responsible for the message que
In production, it's recommended to use this module.
<Note title="Using Cloud?">
Our Cloud offering automatically provisions a Redis instance and configures the Redis Event Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation.
</Note>
---
## Register the Redis Event Module

View File

@@ -13,7 +13,7 @@ The S3 File Module Provider integrates Amazon S3 and services following a compat
<Note title="Looking for managed storage?">
Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Contact the [sales team](https://medusajs.com/pricing/) to learn more.
Cloud offers a managed file storage solution with AWS S3 for your Medusa application. Refer to the [S3](!cloud!/s3) Cloud documentation for more details.
</Note>

View File

@@ -10,6 +10,12 @@ The Redis Locking Module Provider uses Redis to manage locks across multiple ins
This provider is recommended for production environments where Medusa is running in a multi-instance setup.
<Note title="Using Cloud?">
Our Cloud offering automatically provisions a Redis instance and configures the Redis Locking Module Provider for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation.
</Note>
---
## Register the Redis Locking Module Provider

View File

@@ -8,6 +8,12 @@ export const metadata = {
The Redis Workflow Engine Module uses Redis to track workflow executions and handle their subscribers. In production, it's recommended to use this module.
<Note title="Using Cloud?">
Our Cloud offering automatically provisions a Redis instance and configures the Redis Workflow Engine Module for you. Learn more in the [Redis](!cloud!/redis) Cloud documentation.
</Note>
---
## Register the Redis Workflow Engine Module

View File

@@ -60,7 +60,7 @@ For example, you can integrate [Stripe](../../commerce-modules/payment/payment-p
## Deploy the Medusa Application
The most efficient way to deploy your Medusa application is to use [Cloud](https://medusajs.com/pricing). Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance.
The most efficient way to deploy your Medusa application is to use [Cloud](!cloud!). Cloud is our managed services offering that makes deploying and operating Medusa applications possible without having to worry about configuring, scaling, and maintaining infrastructure. Cloud hosts your server, Admin dashboard, database, and Redis instance.
With Cloud, you maintain full customization control as you deploy your own modules and customizations directly from GitHub:
@@ -73,7 +73,7 @@ Our documentation also provides a step-by-step guides to deploy your Medusa appl
<CardList itemsPerRow={2} items={[
{
href: "https://medusajs.com/pricing",
href: "!cloud!",
title: "Sign up for Cloud",
text: "Learn more about Cloud and sign up to get started.",
icon: AcademicCapSolid,

View File

@@ -103,7 +103,7 @@ export const generatedEditDates = {
"app/deployment/admin/vercel/page.mdx": "2024-10-16T08:10:29.377Z",
"app/deployment/medusa-application/railway/page.mdx": "2025-04-17T08:28:58.981Z",
"app/deployment/storefront/vercel/page.mdx": "2025-05-20T07:51:40.712Z",
"app/deployment/page.mdx": "2025-05-20T07:51:40.711Z",
"app/deployment/page.mdx": "2025-06-20T08:36:52.947Z",
"app/integrations/page.mdx": "2025-05-26T14:47:43.842Z",
"app/medusa-cli/page.mdx": "2024-08-28T11:25:32.382Z",
"app/medusa-container-resources/page.mdx": "2025-04-17T08:48:10.255Z",
@@ -113,7 +113,7 @@ export const generatedEditDates = {
"app/recipes/commerce-automation/page.mdx": "2025-05-20T07:51:40.719Z",
"app/recipes/digital-products/examples/standard/page.mdx": "2025-04-24T15:41:05.364Z",
"app/recipes/digital-products/page.mdx": "2025-05-20T07:51:40.719Z",
"app/recipes/ecommerce/page.mdx": "2025-05-20T07:51:40.720Z",
"app/recipes/ecommerce/page.mdx": "2025-06-20T08:37:23.051Z",
"app/recipes/marketplace/examples/vendors/page.mdx": "2025-05-20T07:51:40.721Z",
"app/recipes/marketplace/page.mdx": "2025-05-20T07:51:40.721Z",
"app/recipes/multi-region-store/page.mdx": "2025-05-20T07:51:40.721Z",
@@ -195,16 +195,16 @@ export const generatedEditDates = {
"app/commerce-modules/api-key/page.mdx": "2025-04-17T08:48:16.605Z",
"app/commerce-modules/auth/create-actor-type/page.mdx": "2025-05-20T07:51:40.707Z",
"app/infrastructure-modules/page.mdx": "2025-05-21T13:01:59.821Z",
"app/infrastructure-modules/workflow-engine/redis/page.mdx": "2024-11-19T16:37:47.262Z",
"app/infrastructure-modules/workflow-engine/redis/page.mdx": "2025-06-20T08:34:21.977Z",
"app/infrastructure-modules/notification/sendgrid/page.mdx": "2025-05-20T07:51:40.715Z",
"app/commerce-modules/api-key/concepts/page.mdx": "2024-10-07T13:59:37.529Z",
"app/infrastructure-modules/workflow-engine/page.mdx": "2025-04-17T08:29:00.881Z",
"app/infrastructure-modules/cache/page.mdx": "2025-04-17T08:29:00.741Z",
"app/infrastructure-modules/file/s3/page.mdx": "2025-02-11T16:57:46.709Z",
"app/infrastructure-modules/file/s3/page.mdx": "2025-06-20T08:38:24.029Z",
"app/commerce-modules/api-key/_events/page.mdx": "2024-07-03T19:27:13+03:00",
"app/commerce-modules/api-key/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
"app/infrastructure-modules/cache/redis/page.mdx": "2024-11-19T16:37:47.261Z",
"app/infrastructure-modules/event/redis/page.mdx": "2025-03-27T14:53:13.310Z",
"app/infrastructure-modules/cache/redis/page.mdx": "2025-06-20T08:33:53.038Z",
"app/infrastructure-modules/event/redis/page.mdx": "2025-06-20T08:34:03.057Z",
"app/infrastructure-modules/event/local/page.mdx": "2025-03-27T14:53:13.309Z",
"app/infrastructure-modules/workflow-engine/in-memory/page.mdx": "2024-11-19T16:37:47.262Z",
"app/infrastructure-modules/cache/in-memory/page.mdx": "2024-11-19T16:37:47.261Z",
@@ -6022,7 +6022,7 @@ export const generatedEditDates = {
"app/references-overview/page.mdx": "2025-03-10T12:55:49.803Z",
"app/infrastructure-modules/locking/page.mdx": "2025-04-17T08:29:00.564Z",
"app/infrastructure-modules/locking/postgres/page.mdx": "2025-03-27T14:53:13.310Z",
"app/infrastructure-modules/locking/redis/page.mdx": "2025-03-27T14:53:13.310Z",
"app/infrastructure-modules/locking/redis/page.mdx": "2025-06-20T08:34:12.702Z",
"references/locking/interfaces/locking.ILockingModule/page.mdx": "2025-05-20T07:51:40.955Z",
"references/locking/interfaces/locking.ILockingProvider/page.mdx": "2025-05-20T07:51:40.955Z",
"references/modules/locking/page.mdx": "2025-03-12T12:28:30.419Z",
@@ -6051,7 +6051,7 @@ export const generatedEditDates = {
"app/integrations/guides/algolia/page.mdx": "2025-05-20T07:51:40.715Z",
"app/integrations/guides/magento/page.mdx": "2025-05-20T07:51:40.716Z",
"app/js-sdk/auth/overview/page.mdx": "2025-03-28T08:05:32.622Z",
"app/how-to-tutorials/tutorials/loyalty-points/page.mdx": "2025-05-01T15:33:24.035Z",
"app/how-to-tutorials/tutorials/loyalty-points/page.mdx": "2025-06-20T08:35:30.861Z",
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.plugin/page.mdx": "2025-04-11T09:04:55.084Z",
"references/js_sdk/admin/Customer/methods/js_sdk.admin.Customer.createAddress/page.mdx": "2025-05-20T07:51:40.936Z",
"references/js_sdk/admin/Customer/methods/js_sdk.admin.Customer.deleteAddress/page.mdx": "2025-04-11T09:04:54.015Z",

View File

@@ -1309,14 +1309,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/deleteLineItemsWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "processPaymentWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/processPaymentWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -5351,14 +5343,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/orderExchangeAddNewItemWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "processPaymentWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/processPaymentWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -6616,6 +6600,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/declineOrderTransferRequestWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "deleteDraftOrdersWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/deleteDraftOrdersWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -7259,6 +7251,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/steps/deleteClaimsStep",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "deleteDraftOrdersStep",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/steps/deleteDraftOrdersStep",
"children": []
},
{
"loaded": true,
"isPathHref": true,

View File

@@ -537,8 +537,8 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Medusa Cloud",
"path": "https://medusajs.com/pricing",
"title": "Cloud",
"path": "https://docs.medusajs.com/cloud",
"children": []
},
{

View File

@@ -32,6 +32,9 @@ const mdxPluginOptions = {
api: {
url: process.env.NEXT_PUBLIC_API_URL,
},
cloud: {
url: process.env.NEXT_PUBLIC_CLOUD_URL,
},
},
useBaseUrl:
process.env.NODE_ENV === "production" ||

View File

@@ -42,6 +42,9 @@ const withMDX = mdx({
projectPath: path.resolve("..", "api-reference"),
skipSlugValidation: true,
},
cloud: {
projectPath: path.resolve("..", "cloud"),
},
},
},
],

View File

@@ -182,8 +182,8 @@ While tutorials show you a specific use case, they also help you understand how
},
{
type: "link",
title: "Medusa Cloud",
path: "https://medusajs.com/pricing",
title: "Cloud",
path: "https://docs.medusajs.com/cloud",
},
{
type: "sub-category",

View File

@@ -40,6 +40,9 @@ const withMDX = mdx({
projectPath: path.resolve("..", "api-reference"),
skipSlugValidation: true,
},
cloud: {
projectPath: path.resolve("..", "cloud"),
},
},
},
],
@@ -61,6 +64,9 @@ const withMDX = mdx({
api: {
url: process.env.NEXT_PUBLIC_API_URL,
},
cloud: {
url: process.env.NEXT_PUBLIC_CLOUD_URL,
},
},
useBaseUrl:
process.env.NODE_ENV === "production" ||

View File

@@ -0,0 +1,47 @@
import { IconProps } from "@medusajs/icons/dist/types"
import React from "react"
export const IconCloudSolid = (props: IconProps) => {
return (
<svg
width="16"
height="17"
viewBox="0 0 16 17"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g clipPath="url(#clip0_20373_260192)">
<path
opacity="0.3"
d="M11.968 6.62535C11.8027 4.56846 10.0995 2.94446 7.99999 2.94446C5.7911 2.94446 3.99999 4.73557 3.99999 6.94446C3.99999 7.25557 4.04354 7.55424 4.11021 7.8449C2.69065 7.90446 1.55554 9.06624 1.55554 10.5C1.55554 11.9729 2.74932 13.1667 4.22221 13.1667H11.1111C12.952 13.1667 14.4444 11.6742 14.4444 9.83335C14.4444 8.29024 13.3911 7.0049 11.968 6.62535Z"
fill="currentColor"
/>
<path
d="M11.968 6.62535C11.8027 4.56846 10.0995 2.94446 7.99999 2.94446C5.7911 2.94446 3.99999 4.73557 3.99999 6.94446C3.99999 7.25557 4.04354 7.55424 4.11021 7.8449C2.69065 7.90446 1.55554 9.06624 1.55554 10.5C1.55554 11.9729 2.74932 13.1667 4.22221 13.1667H11.1111C12.952 13.1667 14.4444 11.6742 14.4444 9.83335C14.4444 8.29024 13.3911 7.0049 11.968 6.62535Z"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M8.62662 7.61111C9.23728 6.92933 10.1235 6.5 11.1111 6.5C11.4071 6.5 11.6951 6.55244 11.968 6.62533"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
<defs>
<clipPath id="clip0_20373_260192">
<rect
width="16"
height="16"
fill="white"
transform="translate(0 0.5)"
/>
</clipPath>
</defs>
</svg>
)
}

View File

@@ -3,6 +3,7 @@ export * from "./BundledProduct"
export * from "./CalendarRefresh"
export * from "./ChefHat"
export * from "./CircleDottedLine"
export * from "./CloudSolid"
export * from "./DecisionProcess"
export * from "./Erp"
export * from "./ImageBinary"

View File

@@ -359,6 +359,11 @@ export const navDropdownItems: NavigationItem[] = [
title: "User Guide",
link: "/user-guide",
},
{
type: "link",
title: "Cloud",
link: "/cloud",
},
]
export const products: Product[] = [