Skip to content

Commit 3fedb4c

Browse files
authored
docs: improve alt of images (medusajs#12998)
* docs: improve alt of images * fix vale errors
1 parent 637a200 commit 3fedb4c

File tree

18 files changed

+59
-59
lines changed

18 files changed

+59
-59
lines changed

www/apps/book/app/learn/deployment/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A standard Medusa project is made up of:
1313
- Medusa application: The Medusa server and the Medusa Admin.
1414
- One or more storefronts
1515

16-
![Diagram showcasing the connection between the three deployed components](https://res.cloudinary.com/dza7lstvk/image/upload/v1708600807/Medusa%20Book/deployment-options_ceuuvo.jpg)
16+
![Medusa deployment architecture showing the relationship between three main components: the Medusa server (backend API), Medusa Admin dashboard (for store management), and customer-facing storefronts, all connected to facilitate complete ecommerce functionality](https://res.cloudinary.com/dza7lstvk/image/upload/v1708600807/Medusa%20Book/deployment-options_ceuuvo.jpg)
1717

1818
You deploy the Medusa application, with the server and admin, separately from the storefront.
1919

@@ -25,7 +25,7 @@ You must deploy the Medusa application before the storefront, as it connects to
2525

2626
The Medusa application must be deployed to a hosting provider supporting Node.js server deployments, such as Railway, DigitalOcean, AWS, Heroku, etc…
2727

28-
![Diagram showcasing how the Medusa server and its associated services would be deployed](https://res.cloudinary.com/dza7lstvk/image/upload/v1708600972/Medusa%20Book/backend_deployment_pgexo3.jpg)
28+
![Medusa server deployment infrastructure diagram illustrating the backend services ecosystem: the Node.js Medusa server connected to essential services including PostgreSQL database for data storage, and Redis for caching and session management](https://res.cloudinary.com/dza7lstvk/image/upload/v1708600972/Medusa%20Book/backend_deployment_pgexo3.jpg)
2929

3030
Your server connects to a PostgreSQL database, Redis, and other services relevant for your setup. Most hosting providers support deploying and managing these databases along with your Medusa server (such as Railway and DigitalOcean).
3131

www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A middleware is a function executed when a request is sent to an API Route. It's
1414

1515
Middlewares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
1616

17-
![Diagram showcasing how a middleware is executed when a request is sent to an API route.](https://res.cloudinary.com/dza7lstvk/image/upload/v1746775148/Medusa%20Book/middleware-overview_wc2ws5.jpg)
17+
![API middleware execution flow diagram showing how HTTP requests first pass through middleware functions for authentication, validation, and data processing before reaching the actual route handler, providing a secure and flexible request processing pipeline in Medusa applications](https://res.cloudinary.com/dza7lstvk/image/upload/v1746775148/Medusa%20Book/middleware-overview_wc2ws5.jpg)
1818

1919
<Note title="Tip">
2020

www/apps/book/app/learn/fundamentals/modules/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ A data model represents a table in the database. You create data models using Me
4444

4545
You create a data model in a TypeScript or JavaScript file under the `models` directory of a module. So, to create a `Post` data model in the Blog Module, create the file `src/modules/blog/models/post.ts` with the following content:
4646

47-
![Updated directory overview after adding the data model](https://res.cloudinary.com/dza7lstvk/image/upload/v1732806790/Medusa%20Book/blog-dir-overview-1_jfvovj.jpg)
47+
![Blog module directory structure showing the organized file hierarchy with the newly created 'models' folder containing the 'post.ts' data model file, which defines the data model for blog posts using Medusa's data modeling language](https://res.cloudinary.com/dza7lstvk/image/upload/v1732806790/Medusa%20Book/blog-dir-overview-1_jfvovj.jpg)
4848

4949
```ts title="src/modules/blog/models/post.ts"
5050
import { model } from "@medusajs/framework/utils"

www/apps/book/app/learn/installation/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ After answering the prompts, the command installs the Medusa application in a di
4545

4646
If you chose to install the storefront with the Medusa application, the storefront is installed in a separate directory named `{project-name}-storefront`.
4747

48-
![Diagram showcasing an overview of the installation directories](https://res.cloudinary.com/dza7lstvk/image/upload/v1745856132/Medusa%20Resources/installation-dirs_x8jux4.jpg)
48+
![Directory structure overview after Medusa installation showing the main project folder containing the Medusa backend application and admin dashboard, alongside the separate storefront directory for the customer-facing Next.js application](https://res.cloudinary.com/dza7lstvk/image/upload/v1745856132/Medusa%20Resources/installation-dirs_x8jux4.jpg)
4949

5050
### Successful Installation Result
5151

@@ -57,7 +57,7 @@ If you also installed the Next.js Starter Storefront, it'll be running at `http:
5757

5858
You can stop the servers for the Medusa application and Next.js Starter Storefront by exiting the installation command. To run the server for the Medusa application again, refer to [this section](#run-medusa-application-in-development).
5959

60-
![Diagram showcasing the server and applications running after successful installation](https://res.cloudinary.com/dza7lstvk/image/upload/v1745856706/Medusa%20Resources/success-overview_bj4pbt.jpg)
60+
![Post-installation running services overview: Medusa backend server and admin dashboard running on localhost:9000, Next.js Starter Storefront running on localhost:8000, with PostgreSQL database and other essential services active and ready for development](https://res.cloudinary.com/dza7lstvk/image/upload/v1745856706/Medusa%20Resources/success-overview_bj4pbt.jpg)
6161

6262
### Troubleshooting Installation Errors
6363

www/apps/book/app/learn/introduction/architecture/page.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ These layers of stack can be implemented within [plugins](../../fundamentals/plu
2929

3030
</Note>
3131

32-
![This diagram illustrates the entry point of requests into the Medusa application through API routes. It shows a storefront and an admin that can send a request to the HTTP layer. The HTTP layer then uses workflows to handle the business logic. Finally, the workflows use modules to query and manipulate data in the data stores.](https://res.cloudinary.com/dza7lstvk/image/upload/v1727175296/Medusa%20Book/http-layer_sroafr.jpg)
32+
![Medusa application architecture diagram illustrating the HTTP layer flow: External clients (storefront and admin) send requests to API routes, which execute workflows containing business logic, which then interact with modules to perform data operations on PostgreSQL databases](https://res.cloudinary.com/dza7lstvk/image/upload/v1727175296/Medusa%20Book/http-layer_sroafr.jpg)
3333

3434
---
3535

@@ -43,7 +43,7 @@ Modules can be implemented within [plugins](../../fundamentals/plugins/page.mdx)
4343

4444
</Note>
4545

46-
![This diagram illustrates how modules connect to the database.](https://res.cloudinary.com/dza7lstvk/image/upload/v1727175379/Medusa%20Book/db-layer_pi7tix.jpg)
46+
![Database layer architecture diagram showing how Medusa modules establish connections to PostgreSQL databases through injected database connections, enabling data persistence and retrieval operations](https://res.cloudinary.com/dza7lstvk/image/upload/v1727175379/Medusa%20Book/db-layer_pi7tix.jpg)
4747

4848
---
4949

@@ -89,4 +89,4 @@ All of the third-party services mentioned above can be replaced to help you buil
8989

9090
The following diagram illustrates Medusa's architecture including all its layers.
9191

92-
![Full diagram illustrating Medusa's architecture combining all the different layers.](https://res.cloudinary.com/dza7lstvk/image/upload/v1727174897/Medusa%20Book/architectural-diagram-full.jpg)
92+
![Complete Medusa architecture overview showing the full technology stack: client applications (storefront and admin) connecting through HTTP layer to workflows, which coordinate with commerce and Infrastructure Modules to manage data operations, third-party integrations, and database persistence](https://res.cloudinary.com/dza7lstvk/image/upload/v1727174897/Medusa%20Book/architectural-diagram-full.jpg)

www/apps/book/app/learn/production/worker-mode/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You don't need to set up different projects for each instance. Instead, you can
2121

2222
This separation ensures that the server instance remains responsive to incoming requests, while the worker instance processes tasks in the background.
2323

24-
![Diagram showcasing how the server and worker work together](https://res.cloudinary.com/dza7lstvk/image/upload/fl_lossy/f_auto/r_16/ar_16:9,c_pad/v1/Medusa%20Book/medusa-worker_klkbch.jpg?_a=BATFJtAA0)
24+
![Medusa worker mode architecture diagram illustrating the separation of responsibilities: the server instance handling HTTP requests, API calls, and real-time operations while the dedicated worker instance processes background tasks like data imports, email sending, and resource-intensive operations to maintain optimal server performance](https://res.cloudinary.com/dza7lstvk/image/upload/fl_lossy/f_auto/r_16/ar_16:9,c_pad/v1/Medusa%20Book/medusa-worker_klkbch.jpg?_a=BATFJtAA0)
2525

2626
---
2727

www/apps/book/generated/edit-dates.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const generatedEditDates = {
22
"app/learn/fundamentals/scheduled-jobs/page.mdx": "2024-12-09T10:51:40.570Z",
33
"app/learn/fundamentals/workflows/page.mdx": "2024-12-09T14:45:17.837Z",
4-
"app/learn/deployment/page.mdx": "2025-06-20T08:36:29.097Z",
4+
"app/learn/deployment/page.mdx": "2025-07-18T15:25:33.249Z",
55
"app/learn/page.mdx": "2025-06-27T11:39:15.941Z",
66
"app/learn/fundamentals/modules/commerce-modules/page.mdx": "2025-04-17T08:51:32.723Z",
77
"app/learn/fundamentals/workflows/retry-failed-steps/page.mdx": "2025-03-28T07:15:19.388Z",
@@ -46,7 +46,7 @@ export const generatedEditDates = {
4646
"app/learn/fundamentals/admin/tips/page.mdx": "2025-05-26T14:58:56.390Z",
4747
"app/learn/fundamentals/api-routes/cors/page.mdx": "2025-03-11T08:54:26.281Z",
4848
"app/learn/fundamentals/admin/ui-routes/page.mdx": "2025-02-24T09:35:11.752Z",
49-
"app/learn/fundamentals/api-routes/middlewares/page.mdx": "2025-05-09T07:56:04.125Z",
49+
"app/learn/fundamentals/api-routes/middlewares/page.mdx": "2025-07-18T15:20:25.735Z",
5050
"app/learn/fundamentals/modules/isolation/page.mdx": "2025-05-21T15:10:15.499Z",
5151
"app/learn/fundamentals/data-models/index/page.mdx": "2025-03-18T07:59:07.798Z",
5252
"app/learn/fundamentals/custom-cli-scripts/page.mdx": "2024-10-23T07:08:55.898Z",
@@ -68,7 +68,7 @@ export const generatedEditDates = {
6868
"app/learn/fundamentals/module-links/query/page.mdx": "2025-06-26T16:01:59.548Z",
6969
"app/learn/fundamentals/modules/db-operations/page.mdx": "2025-04-25T14:26:25.000Z",
7070
"app/learn/fundamentals/modules/multiple-services/page.mdx": "2025-03-18T15:11:44.632Z",
71-
"app/learn/fundamentals/modules/page.mdx": "2025-03-18T07:51:09.049Z",
71+
"app/learn/fundamentals/modules/page.mdx": "2025-07-18T15:31:32.371Z",
7272
"app/learn/debugging-and-testing/instrumentation/page.mdx": "2025-06-16T10:40:52.922Z",
7373
"app/learn/fundamentals/api-routes/additional-data/page.mdx": "2025-04-17T08:50:17.036Z",
7474
"app/learn/fundamentals/workflows/variable-manipulation/page.mdx": "2025-04-24T13:14:43.967Z",
@@ -89,14 +89,14 @@ export const generatedEditDates = {
8989
"app/learn/customization/integrate-systems/service/page.mdx": "2024-12-09T11:02:39.594Z",
9090
"app/learn/customization/next-steps/page.mdx": "2025-04-17T08:50:17.036Z",
9191
"app/learn/fundamentals/modules/infrastructure-modules/page.mdx": "2025-05-21T14:31:51.644Z",
92-
"app/learn/introduction/architecture/page.mdx": "2025-05-21T14:31:51.644Z",
92+
"app/learn/introduction/architecture/page.mdx": "2025-07-18T15:52:35.513Z",
9393
"app/learn/fundamentals/data-models/infer-type/page.mdx": "2025-03-18T07:41:01.936Z",
9494
"app/learn/fundamentals/custom-cli-scripts/seed-data/page.mdx": "2024-12-09T14:38:06.385Z",
9595
"app/learn/fundamentals/environment-variables/page.mdx": "2025-05-26T15:06:07.800Z",
9696
"app/learn/build/page.mdx": "2025-04-25T12:34:33.914Z",
9797
"app/learn/deployment/general/page.mdx": "2025-06-20T08:36:05.063Z",
9898
"app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z",
99-
"app/learn/installation/page.mdx": "2025-05-16T13:44:27.118Z",
99+
"app/learn/installation/page.mdx": "2025-07-18T15:53:43.544Z",
100100
"app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z",
101101
"app/learn/fundamentals/module-links/link/page.mdx": "2025-04-07T08:03:14.513Z",
102102
"app/learn/fundamentals/workflows/store-executions/page.mdx": "2025-04-17T08:29:10.166Z",
@@ -113,7 +113,7 @@ export const generatedEditDates = {
113113
"app/learn/resources/usage/page.mdx": "2025-02-26T13:35:34.824Z",
114114
"app/learn/configurations/medusa-config/page.mdx": "2025-07-14T09:28:54.302Z",
115115
"app/learn/configurations/ts-aliases/page.mdx": "2025-07-18T15:06:59.037Z",
116-
"app/learn/production/worker-mode/page.mdx": "2025-03-11T15:21:50.906Z",
116+
"app/learn/production/worker-mode/page.mdx": "2025-07-18T15:19:45.352Z",
117117
"app/learn/fundamentals/module-links/read-only/page.mdx": "2025-05-13T15:04:12.107Z",
118118
"app/learn/fundamentals/data-models/properties/page.mdx": "2025-03-18T07:57:17.826Z",
119119
"app/learn/fundamentals/framework/page.mdx": "2025-06-26T14:26:22.120Z",

0 commit comments

Comments
 (0)