Jack Caldwell
dec7d20b89
Update docs commerce modules so that tax links to the correct page ( #9747 )
...
### What
Update the href on the tax card on https://docs.medusajs.com/v2 to correctly link to https://docs.medusajs.com/v2/resources/commerce-modules/tax
### Why
It is currently incorrectly linking to https://docs.medusajs.com/v2/resources/commerce-modules/stock-location
### How
Update the href value.
### Testing
To test open the docs page and verify that the link navigates to the correct page.
2024-10-24 09:50:01 +00:00
github-actions[bot]
f997432e73
chore(docs): Updated API Reference (automated) ( #9728 )
...
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 >
2024-10-24 09:42:32 +00:00
github-actions[bot]
5deeae060a
chore(docs): Generated References (automated) ( #9727 )
...
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `dml`
- `fulfillment`
- `helper_steps`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `order_models`
- `payment`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `tax_provider`
- `types`
- `user`
- `utils`
- `workflows`
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-10-24 09:41:14 +00:00
github-actions[bot]
e196ad7659
chore(docs): Updated UI Reference (automated) ( #9726 )
...
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 >
2024-10-24 09:38:58 +00:00
Shahed Nasser
c08df5ac44
docs: remove dev notices + fix AI assistant answer width ( #9686 )
...
* docs: remove dev notices + fix AI assistant answer width
* fix import
* more notes removal
* rc to latest
2024-10-23 09:52:52 +02:00
Shahed Nasser
8891c0a3d0
docs: remove v1 docs from navbar ( #9722 )
...
* docs: remove v1 docs from navbar
* remove fallback
2024-10-23 09:10:27 +02:00
Shahed Nasser
f7932f11ed
docs: fix details on setting / updating customer ID in cart ( #9689 )
2024-10-22 20:40:39 +03:00
Shahed Nasser
a1190b7208
docs: generate + configure js sdk reference ( #9714 )
...
Manually generate the JS SDK reference + add it to the sidebar
2024-10-22 17:31:32 +00:00
Shahed Nasser
3c0f0e2259
docs: small text fix ( #9684 )
2024-10-22 18:20:35 +03:00
Shahed Nasser
731309e87a
docs: fixes following QA testing ( #9690 )
2024-10-22 18:20:21 +03:00
Shahed Nasser
b2122c4073
docs: fixes and refactoring for API reference ( #9708 )
...
* docs: fixes and refactoring for API reference
* add route caching
* remove caching
* use next cache
2024-10-22 18:20:06 +03:00
Shahed Nasser
7b147aa651
docs: update nav items ( #9709 )
2024-10-22 18:08:45 +03:00
Sebastian Rindom
16e44688ba
fix: revise words on docs intro page ( #9588 )
...
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-10-21 13:48:25 +00:00
Shahed Nasser
b4855825be
docs: fix scroll + divider issues ( #9663 )
2024-10-21 09:54:05 +03:00
Shahed Nasser
34621f53a3
docs-util: fixes to package renames + other options ( #9671 )
2024-10-21 09:53:47 +03:00
github-actions[bot]
8209d936a0
chore(docs): Updated API Reference (v2) ( #9666 )
...
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 >
2024-10-18 17:14:26 +00:00
Shahed Nasser
61e6a07b55
docs: rename packages ( #9618 )
2024-10-18 14:43:46 +00:00
Shahed Nasser
85865c18ff
docs: document JS SDK installation ( #9611 )
...
- Add a page introducing JS SDK + how to install and use it (generally)
- Adjust admin tips on how to send requests
- Adjust storefront tips to mention JS SDK
- Add in the API reference intro how to install JS SDK
- Other related additions / changes
Closes DX-957
2024-10-18 12:47:40 +00:00
Shahed Nasser
0a37675f0e
docs: add routing page ( #9550 )
...
- Add a new homepage to `book` project for the routing page
- Move all main doc pages to be under `/v2/learn` (and added redirects + fixed links across docs)
- Other: add admin components to resources dropdown + fixes to search on mobile.
Closes DX-955
Preview: https://docs-v2-git-docs-router-page-medusajs.vercel.app/v2
2024-10-18 08:24:34 +00:00
Shahed Nasser
b07dd33a57
docs-util: add configuration to generate js-sdk reference ( #9630 )
2024-10-17 19:32:21 +03:00
Shahed Nasser
8fddabce04
docs: update curl request to /admin/products ( #9641 )
...
Closes DX-1026
2024-10-17 16:21:31 +00:00
Vraj Patel
7dbef9bedd
fix(docs): update workflow API example to include query parameter ( #9640 )
...
### Fix Missing Query Parameter in Documentation Example
#### Summary
This pull request addresses a missing query parameter in the Medusa documentation's example for making a request to the workflow endpoint.
#### Issue
The example in the documentation incorrectly shows:
```
curl http://localhost:9000/workflow
```
This causes an issue when running the workflow in code, specifically in `step-2`, where the `name` parameter is `undefined`.
#### Expected Behavior
The correct curl command should include the `name` query parameter, like so:
```
curl http://localhost:9000/workflow?name=john
```
#### Code Example
Here is the code that demonstrates the issue:
```ts
const step2 = createStep("step-2", async ({ name }: WorkflowInput) => {
return new StepResponse(`Hello ${name} from step two!`)
})
```
When running the incorrect curl command, the output for `step-2` returns:
```
"Hello undefined from step two!"
```
#### Fix
The pull request proposes updating the example curl command in the documentation to:
```
curl http://localhost:9000/workflow?name=john
```
This ensures that the `name` parameter is correctly passed and resolves the issue of `undefined` values in `step-2`.
#### Steps to Reproduce
1. Implement the workflow and API code as described in the [documentation](https://docs.medusajs.com/v2/basics/workflows#4-test-workflow ).
2. Run the curl command:
```
curl http://localhost:9000/workflow
```
3. The console will output `Hello undefined from step two!` due to the missing `name` parameter.
#### Suggested Resolution
Update the curl command in the [documentation](https://docs.medusajs.com/v2/basics/workflows#4-test-workflow ) to:
```
curl http://localhost:9000/workflow?name=john
```
### Related Issue
Link to the issue: [Medusa Issue #9628 ](https://github.com/medusajs/medusa/issues/9628 )
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-10-17 14:51:43 +00:00
erickirt
89b9fd24b2
Switch the headings to match the content ( #9619 )
...
HEading and content was switched for payment and file modules
2024-10-17 06:49:17 +00:00
Shahed Nasser
ea5bff9034
docs: update providers to use ModuleProvider ( #9579 )
...
Document change introduced by #9544
> Note: fine to merge now as it requires generating references, which will only happen after the next release.
2024-10-16 11:37:14 +00:00
Shahed Nasser
3610d58f49
docs: fix heroku typo ( #9382 )
...
Closes #9356
2024-10-16 10:44:50 +00:00
Shahed Nasser
eed88c95ec
docs: improved commerce modules [5/5] ( #9592 )
...
- Improve remaining commerce modules
- Other: add a note about using methods of the modules' main services.
2024-10-16 10:25:21 +00:00
Shahed Nasser
6e856d3156
docs: added examples page ( #9587 )
...
- Added an examples page with examples of all different concepts in Medusa. We'll probably add more examples with time as we see the need for them.
- Small fixes in different pages.
Preview: https://resources-docs-ocb5uyp0o-medusajs.vercel.app/v2/resources/examples
2024-10-16 10:07:39 +00:00
Shahed Nasser
ddcb749bc4
docs: added documentation for build command ( #9604 )
...
- Added documentation for `medusa build` command
- Update deployment documentation for admin to use `--admin-only` option
2024-10-16 09:37:40 +00:00
Shahed Nasser
f6d3453e6d
docs: improved commerce modules [4/n] ( #9517 )
...
Improve pricing, product, and promotion modules docs
[4/n]
2024-10-16 09:34:36 +00:00
Shahed Nasser
2b77bd85a6
docs-util: fixes for OAS docs generator + framework typedoc config ( #9603 )
...
* fix order replaced in OAS response + framework tsdoc config
* fix for some types
2024-10-16 12:17:28 +03:00
Shahed Nasser
714b9e6c98
docs: update resolve path to use src ( #9605 )
...
Update path used in `resolve` of modules to start with `src`
2024-10-16 09:10:30 +00:00
Shahed Nasser
6efb5897dc
docs: fix package names in module registration ( #9590 )
...
* docs: fix package names in module registration
* update references
2024-10-16 09:05:07 +02:00
github-actions[bot]
f2d662efca
chore(docs): Generated References (automated) ( #9567 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2024-10-14 19:59:14 +02:00
github-actions[bot]
b40fa6353e
chore(docs): Updated API Reference (v2) ( #9552 )
...
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 >
2024-10-14 11:00:04 +00:00
Shahed Nasser
b6df24463d
docs: updates for breaking changes ( #9558 )
...
- Update modules registration
- Update `medusa-config.js` to `medusa-config.ts`
- Update the out directory in the admin deployment guide
- Update logger imports
- Other fixes
Note: will need to re-generate references afterwards
Closes #9548
2024-10-14 10:40:30 +00:00
github-actions[bot]
224e530453
chore(docs): Generated References ( #9551 )
...
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `fulfillment`
- `inventory_next`
- `modules`
- `modules_sdk`
- `order`
- `order_models`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `search`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`
- `workflows`
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-10-14 10:33:21 +00:00
Shahed Nasser
11120a8b7e
docs: improve commerce modules [3/n] ( #9510 )
...
Improve and add docs for Order and Payment modules
[3/n]
Closes DOCS-966
Closes #9485
2024-10-14 07:20:35 +00:00
Shahed Nasser
74b286b701
docs: added documentation for admin components ( #9491 )
...
- Documented common admin components with design that matches the admin.
- Updated existing admin customization snippets to match the admin's design.
Closes DOCS-964
2024-10-14 07:18:38 +00:00
Shahed Nasser
e3dc9eaf0c
docs: add guide on how to seed data ( #9449 )
...
Add a guide on how to seed data using a custom CLI script, with an example to seed products
Closes DOCS-953
2024-10-14 07:08:05 +00:00
Shahed Nasser
c9ce918982
docs: small structure fixed to db command reference ( #9446 )
2024-10-14 08:58:39 +02:00
Shahed Nasser
69b9e73be7
docs: improve commerce modules [1/n] ( #9498 )
...
Improve and add docs for API Key, Auth, and Cart Modules
[1/n]
2024-10-11 15:19:13 +00:00
Shahed Nasser
dd162d69be
docs-util: fix import in generated workflow hook snippet ( #9499 )
2024-10-11 17:17:02 +02:00
Shahed Nasser
49a91fd40e
docs: redesigned navigation ( #9525 )
...
Redesign navigation bar to reflect new design and allow for dropdowns
Closes DX-943
2024-10-11 07:10:00 +00:00
Zaid Rashid
0058338d40
docs: Fix link to the correct AuthIdentity model's page ( #9519 )
...
I think there is a bug on the link to the `AuthIdentity ` model's page. The page containing the issue can be found [here](https://docs.medusajs.com/v2/resources/commerce-modules/auth/auth-identity-and-actor-types#what-is-an-auth-identity )
2024-10-10 14:41:19 +00:00
Shahed Nasser
7f1f075222
docs: improvements and fixes to components in API reference ( #9410 )
...
- Change layout of parameters for clearer display
- Fix schema code blocks being longer than container
- switch between showing required to showing optional indicator
- Fixed code tabs not having copy / report buttons
Closes DOCS-936
Preview: https://api-reference-v2-git-docs-api-ref-comp-improv-medusajs.vercel.app/v2/api/store
2024-10-09 17:51:27 +00:00
Shahed Nasser
3298cd3fd2
docs: improved commerce module docs [2/n] ( #9501 )
...
Improve + add docs for commerce modules from currency to inventory
[2/n]
2024-10-09 09:53:17 +00:00
Shahed Nasser
e23d2b9ed7
docs: updates in recipes ( #9472 )
...
Updates in recipes following release changes
2024-10-07 17:53:53 +00:00
Shahed Nasser
f3c8f5efef
docs: document using conditional operators in workflows ( #9464 )
2024-10-07 17:52:30 +00:00
Shahed Nasser
781d0ca624
docs: added docs for reset password ( #9306 )
...
- Added to docs on implementing auth flows using the module and API routes how to update a user's password
- Added guide on how to send a notification when a password token is generated
- Added a guide on implementing reset password flow in storefront
- Added OAS for the `/update` and `/reset-password` routes + generated specs for the API reference
2024-10-07 08:04:01 +00:00
Damien Thiesson
adb3a8246a
docs: fix import path in the workflow basic documentation ( #9481 )
...
The import is three levels up, but, the `src/api/workflow/route.ts` file is only two levels down from `src/workflow`.

2024-10-07 07:22:15 +00:00