Commit Graph

1214 Commits

Author SHA1 Message Date
Shahed Nasser
8a88748982 docs: added cloud documentation project (#12711) 2025-06-12 11:29:14 +03:00
Ammar Abbas
6be5750fe8 docs: add missing export for CreateBundledProduct component (#12704)
* docs: add missing export for CreateBundledProduct component

This commit adds a missing `export` statement to the `CreateBundledProduct` component in the "Create Form Component" example.

Without the `export`, readers copying the example wouldn't be able to use the component elsewhere in their project, which could be confusing. This ensures the example is complete and ready to use as-is.

* updated to default export for CreateBundledProduct component instead
2025-06-11 17:53:19 +03:00
Shahed Nasser
a8118fa3c3 docs: ensure files are always sorted when generating llms-full.txt (#12701) 2025-06-10 19:24:00 +03:00
Shahed Nasser
e5ec907aad docs: fixes to references for draft orders and files (#12693) 2025-06-10 18:33:53 +03:00
Shahed Nasser
d8b196d6b1 docs: remove databaseSchema configuration (#12699) 2025-06-10 17:00:14 +03:00
github-actions[bot]
b456044060 chore(docs): Updated API Reference (automated) (#12673)
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-06-10 07:21:44 +00:00
github-actions[bot]
f8c0bd887e chore(docs): Generated References (automated) (#12672)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-10 09:33:54 +03:00
github-actions[bot]
e4f791ac84 chore(docs): Generated + Updated UI Reference (automated) (#12671)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-10 09:31:13 +03:00
Shahed Nasser
7e1720279d docs: add an example of injecting dependencies in module providers (#12663) 2025-06-03 10:46:49 +02:00
Ammar Abbas
e078de1ab5 fix(docs): correct module reference in useQueryGraphStep tip (#12654)
Corrected an inaccurate example in the useQueryGraphStep tip within the review workflow documentation.

Updated the entity reference from "cart's promotions" to "product" to align with the actual code context.
2025-06-02 14:25:31 +00:00
Shahed Nasser
7e1d880915 docs: fix log levels list (#12648) 2025-05-30 17:20:51 +03:00
Shahed Nasser
009d00f27d docs: redesign table of content (#12647)
* implement toc

* added to projects

* fixes and adapt for references

* added product frontmatter

* remove action menu from 404 pages
2025-05-30 16:55:36 +03:00
Shahed Nasser
820965e21a fix(analytics): fix type of provider option (#12642) 2025-05-29 14:02:07 +03:00
Shahed Nasser
40e73c6ea2 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
2025-05-28 17:13:27 +03:00
Shahed Nasser
52eebcee6f docs: added segment guide (#12616)
* docs: added segment guide

* updates to segment guide

* generate

* remove og image
2025-05-28 13:18:48 +03:00
Shahed Nasser
fb6167eed2 docs: fix loading in order reference pages (#12629) 2025-05-28 10:42:13 +03:00
Shahed Nasser
9b3218885c docs: redesign search (#12628)
* docs: redesign search

* add shadow in dark mode
2025-05-28 10:01:04 +03:00
Shahed Nasser
d155f492be chore(core-flows, types): change base64 comment fo files in TSDocs to binary (#12627)
* chore(core-flows, types): change base64 comment fo files in TSDocs to binary

* add in generatd
2025-05-27 18:35:39 +03:00
Shahed Nasser
528ab9f8a8 chore(types): fix example for createProductOptionValues in TSDocs and docs (#12623) 2025-05-27 12:45:21 +03:00
Shahed Nasser
41c29ffadd docs: phone authentication + otp guide (#12544)
* initial

* docs: phone authentication guide

* small fix

* Twilio SMS -> Twilio

* vale fix

* fix

* fix to auth sidebar

* fixes

* generate
2025-05-27 12:01:04 +03:00
Ammar Abbas
fda885bb2b docs: add missing equal sign for DATABASE_URL in env example (#12620)
The DATABASE_URL variable in the .env file examples was missing an equal sign, preventing it from parsing correctly. This fix ensures the environment variable is properly loaded and available during application runtime.
2025-05-27 07:16:51 +00:00
Shahed Nasser
730cac0ed2 docs: add setup details to contribution guidelines (#12619) 2025-05-26 19:30:17 +03:00
Shahed Nasser
e7cf2219b6 docs: document using env vars in plugins (#12618) 2025-05-26 18:50:05 +03:00
Shahed Nasser
8303aed701 docs: add support for ignoring hooks (#12599) 2025-05-23 18:48:08 +03:00
Shahed Nasser
044c5dd138 docs: fix example in marketplace recipe (#12595) 2025-05-23 12:39:49 +03:00
github-actions[bot]
1e7ce4af10 chore(docs): Generated + Updated UI Reference (automated) (#12579)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-22 16:55:33 +03:00
github-actions[bot]
3c6aa979a6 chore(docs): Updated API Reference (automated) (#12581)
* chore(docs): Generated API Reference (automated)

* fixes

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-22 15:46:13 +03:00
github-actions[bot]
6725bee130 chore(docs): Generated References (automated) (#12580)
Generated the following references:
- `_index.mdx`
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `file_service`
- `fulfillment_models`
- `inventory_next_models`
- `js_sdk`
- `medusa`
- `modules`
- `modules_sdk`
- `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`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-05-22 12:35:49 +00:00
Shahed Nasser
04e0b43ed8 docs: document analytics module (#12563) 2025-05-22 15:05:04 +03:00
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
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
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
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