Commit Graph

1892 Commits

Author SHA1 Message Date
Shahed Nasser
bc965eb6aa docs: improve module isolation chapter (#12565)
* docs: improve module isolation chapter

* add note about loaders running with migrations
2025-05-21 18:57:28 +03:00
Aditya Erlangga Wibowo
22687d694e Fix: Incorrect Example File Name in Subscriber Section (#12560)
Solving issue [#12559](https://github.com/medusajs/medusa/issues/12559) this PR corrects the example file name provided in the Events and Subscribers section of the documentation. Previously, the guide instructed users to create a file at:

_`src/subscribers/order-placed.ts`_
However, the appropriate file name should be:

_`src/subscribers/product-created.ts`_
This fix aligns the documentation with the actual subscriber example, ensuring clarity and preventing confusion for developers following the guide.

<img width="1497" alt="subscriber-wrong-file-name" src="https://github.com/user-attachments/assets/23320e3d-75ee-4df9-9a9c-5b77edfe08ff" />

Changes
Updated the incorrect file name in the Subscriber section example from order-placed.ts to product_created.ts.

Review
@shahednasser – kindly review when you get the chance. Thanks!
2025-05-21 14:54:43 +00:00
Shahed Nasser
61d3bdde4a docs-util: extract feature flags in generated OAS (#12554) 2025-05-21 14:25:40 +03:00
Shahed Nasser
bda143673d docs: show hooks in when condition in workflows reference (#12552) 2025-05-21 13:00:15 +03:00
coded
13f29e5ca3 chore(docs): Update npm command (#12547)
`npm run install` in the first place is not a valid command, `yarn run install` will also be fixed by this change as we are using  **npm-to-yarn** package for its conversion (tested).

`yarn run start` is a valid command, i know `yarn start` is a **short-hand** but i cant help here as we have't hardcoded it in the docs its being converted through the same package mentioned above, anyways both are valid so should be fine ig.
2025-05-21 06:58:33 +00:00
Shahed Nasser
07ecb8595a docs: added re-order guide (#12363)
* docs: added re-order guide

* reiteration to intro

* adjustment to title

* fix vale error

* generate

* fix vale
2025-05-20 13:10:31 +03:00
Shahed Nasser
397d353af6 docs: fix timeout in order-related workflows reference (#12533) 2025-05-19 17:30:21 +03:00
Shahed Nasser
2ced969396 docs: change recipes on homepage (#12520)
* docs: changed recipes on homepage

* export icon
2025-05-19 10:05:57 +03:00
Shahed Nasser
a1f2e5cb52 docs: add vale rule for Next.js Starter Storefront (#12517) 2025-05-16 17:30:15 +03:00
Shahed Nasser
d73cf66196 docs: update recipe contents (#12515) 2025-05-16 16:37:52 +03:00
github-actions[bot]
aaf5407d29 chore(docs): Generated References (automated) (#12511)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-16 15:29:29 +03:00
github-actions[bot]
251a063a2f chore(docs): Generated + Updated UI Reference (automated) (#12510)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-05-16 13:20:54 +03:00
github-actions[bot]
03bfd760a4 chore(docs): Update version in documentation (automated) (#12509)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-05-16 13:18:29 +03:00
Shahed Nasser
04acc5d219 docs: update examples in sendgrid guide (#12504)
* initial

* docs: update examples in sendgrid guide

* add note for local file module
2025-05-15 19:13:15 +03:00
Shahed Nasser
22cdcedddc docs: improve payment related guides (#12502)
* improve guide

* update guides

* small change
2025-05-15 18:40:21 +03:00
Shahed Nasser
b312a7e077 docs: add missing methods in guides and references (#12495)
* initial

* remove unused references
2025-05-15 14:22:23 +03:00
github-actions[bot]
e81d2333bc chore(docs): Generated References (automated) (#12492)
Generated the following references:
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `fulfillment_models`
- `inventory_next_models`
- `js_sdk`
- `modules`
- `order_models`
- `payment_models`
- `pricing_models`
- `product_models`
- `promotion_models`
- `region_models`
- `sales_channel_models`
- `stock_location_next_models`
- `store_models`
- `tax_models`
- `types`
- `user_models`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-05-15 08:36:24 +00:00
github-actions[bot]
d3d138bad3 chore(docs): Generated + Updated UI Reference (automated) (#12491)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-05-15 11:27:28 +03:00
github-actions[bot]
4731f3f1ec chore(docs): Update version in documentation (automated) (#12490)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-05-15 11:01:01 +03:00
Shahed Nasser
30aa317ff1 docs-util: fix incorrect relations in data model references + other fixes (#12487)
* fix price model incorrect relations

* fix events that don't have workflows showing

* fix notification example
2025-05-15 10:47:45 +03:00
Shahed Nasser
e60d15ea84 docs: fix client side error in references (#12475) 2025-05-14 10:18:37 +03:00
Shahed Nasser
d34b4646de docs: update read-only links (#12468) 2025-05-13 19:12:32 +03:00
github-actions[bot]
c6c660c4d3 chore(docs): Updated API Reference (automated) (#12461)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 13:43:58 +00:00
github-actions[bot]
5c36bafc1d chore(docs): Generated References (automated) (#12460)
Generated the following references:
- `_index.mdx`
- `api_key`
- `api_key_models`
- `auth`
- `auth_models`
- `auth_provider`
- `cart`
- `cart_models`
- `core_flows`
- `currency`
- `currency_models`
- `customer`
- `customer_models`
- `events`
- `file`
- `file_service`
- `fulfillment`
- `fulfillment_models`
- `fulfillment_provider`
- `inventory_next`
- `inventory_next_models`
- `js_sdk`
- `locking`
- `medusa`
- `module_events`
- `modules`
- `modules_sdk`
- `notification`
- `notification_service`
- `order`
- `order_models`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `pricing_models`
- `product`
- `product_models`
- `promotion`
- `promotion_models`
- `region`
- `region_models`
- `sales_channel`
- `sales_channel_models`
- `stock_location_next`
- `stock_location_next_models`
- `store`
- `store_models`
- `tax`
- `tax_models`
- `tax_provider`
- `types`
- `user`
- `user_models`
- `utils`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 13:31:57 +00:00
github-actions[bot]
a4ffc0b2ee chore(docs): Generated + Updated UI Reference (automated) (#12459)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-13 16:10:08 +03:00
github-actions[bot]
da270cd3e2 chore(docs): Generated DML JSON files (automated) (#12458)
This PR holds all generated DML JSON files for the upcoming release.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 11:31:15 +00:00
github-actions[bot]
a50c2e65c4 chore(docs): Update version in documentation (automated) (#12457)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-05-13 14:19:27 +03:00
Shahed Nasser
76bc21ff25 docs: tax provider updates for next release (#12431)
* docs: tax provider updates for next release

* change images

* fix vale error

* fix vale errors

* generate
2025-05-13 14:13:17 +03:00
Shahed Nasser
c7b8140cb0 docs: added saved payment methods with Stripe tutorial (#12257)
* docs: added saved payment methods with Stripe tutorial

* fix vale error + lint

* generate
2025-05-13 11:56:12 +03:00
Victor Wilson
728c350c0d Update page.mdx to correct "th" to "the" (#12446)
The first paragraph is missing an "e" in its first "the". I added that.
2025-05-12 16:34:06 +00:00
Shahed Nasser
60b1fe0676 docs-util: fix dependencies passed to auth providers (#12445) 2025-05-12 11:00:55 +03:00
Shahed Nasser
30e620a43c docs: support deprecated in API reference (#12438) 2025-05-12 09:10:35 +03:00
Shahed Nasser
fcee6003d8 docs: fix keyboard navigation in search (#12434) 2025-05-09 18:19:22 +03:00
Shahed Nasser
68bf05d220 docs: support showing version of API route in API reference (#12433)
* docs: support showing version of API route in API reference

* small design fix
2025-05-09 17:37:10 +03:00
Shahed Nasser
9c5f2d0467 docs-util: add note for providers (#12432) 2025-05-09 17:29:52 +03:00
Shahed Nasser
e09b2a4db5 docs: support version in events reference (#12422)
* docs: support version in events reference

* remove changes in events output

* remove events emitted in comments

* remove customer updated event

* check for emitEventStep usage

* fixes
2025-05-09 14:34:15 +03:00
Shahed Nasser
28285f309a docs: updates to middlewares and protected API routes + new chapter (#12419) 2025-05-09 12:06:34 +03:00
Shahed Nasser
7c7e44d9fe docs: enable and send algolia events (#12416) 2025-05-08 18:59:21 +03:00
Shahed Nasser
c2914f2ebd chore: update Medusa UI packages in docs on new release (#12415) 2025-05-08 18:01:45 +03:00
Shahed Nasser
b626832225 docs: add class for header wrapper + keywords for payment guide (#12414) 2025-05-08 17:43:35 +03:00
Shahed Nasser
0af6e1f212 docs: add support for keywords in references (#12413) 2025-05-08 16:40:17 +03:00
Shahed Nasser
41f46b7723 docs: generate references after adding copy subscriber button (#12407)
* docs: generate references after adding copy subscriber button

* re-generate
2025-05-08 13:56:22 +03:00
Shahed Nasser
f81eb51b67 docs: add copy subscriber button (#12405)
* docs: add copy subscriber button

* re-generate

* fixes + update copy button
2025-05-08 12:48:44 +03:00
Shahed Nasser
fe3e79ea5a docs: added bundled products guide (#12332)
* docs: added bundled products guide

* generate
2025-05-07 16:16:05 +03:00
Shahed Nasser
a3bdb3e383 docs: generate OAS with events (#12394)
* docs: generate OAS with events

* small change
2025-05-07 14:57:03 +03:00
Shahed Nasser
262064fe96 docs: show events emitted in an API route in the API reference (#12392)
* docs: show events emitted in an API route in the API reference

* fix build error

* support version tag

* add missing property
2025-05-07 14:56:54 +03:00
Shahed Nasser
5d3f1d0118 docs-util: add events to generated OAS (#12390) 2025-05-07 10:44:02 +03:00
Shahed Nasser
405ee7f7f3 docs: update import user guide text + add diagram in brand module guide (#12385) 2025-05-06 19:56:14 +03:00
Shahed Nasser
74e93b3079 docs: fixes to navbar and sidebar in mobile (#12379)
* docs: fixes to navbar and sidebar in mobile

* fix height issues
2025-05-06 19:11:15 +03:00
Shahed Nasser
91173f3052 docs-util: fix hook parameters not showing when using workflow input (#12382) 2025-05-06 18:34:19 +03:00