Commit Graph

89 Commits

Author SHA1 Message Date
Shahed Nasser
11b1a61969 docs: fixes to digital products recipe (#5897)
* docs: fixes to digital products recipe

* fix lint errors
2023-12-15 12:39:40 +02:00
github-actions[bot]
2d127a4c67 chore(docs): Generated References (#5881)
Generated the following references:
- `EventBusTypes`
- `IPricingModuleService`
- `ModulesSdkTypes`
- `PriceListWorkflow`
- `fulfillment`
- `js_client`
- `medusa`
- `modules`
- `pricing`
- `services`
- `types`
- `workflows`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-12-14 18:28:23 +00:00
Shahed Nasser
33dc7645d6 docs: fix upgrade guide release notes link (#5879) 2023-12-14 17:07:57 +02:00
Zarar Siddiqi
bbee9b4c53 docs: Add discount created event (#5850)
* Emit event when discount code created.

* Documentation for discount.created event.

* add patch changeset

* Cleaner code, avoid array indexing.

* Revert "Documentation for discount.created event."

This reverts commit 9447f4a171dd55ac8a550beeb403cb7404a18df2.

* Docs for discount.created event.
2023-12-14 15:54:31 +01:00
Riqwan Thamir
ae53a66273 docs: update docs changes for rules_count from number_rules (#5855)
* chore: add docs changes for rules_count from number_rules

* change diagrams

* undo linting

* fix lint error

---------

Co-authored-by: Shahed nasser <shahednasser@gmail.com>
2023-12-14 15:53:02 +01:00
Shahed Nasser
a6c8490fc3 docs: updates for v1.19 (#5868)
* docs: updates for v1.19

* Update www/apps/docs/content/upgrade-guides/medusa-core/1-19.mdx

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update www/apps/docs/content/upgrade-guides/medusa-core/1-19.mdx

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-12-14 15:52:41 +01:00
Shahed Nasser
1c6c759aa8 docs: added a troubleshooting section for --db-url option (#5872)
* docs: added a troubleshooting section for --db-url option

* fix vale error
2023-12-14 14:59:07 +02:00
Shahed Nasser
edc49bfe1d docs: update required Node.js version for Next.js starter (#5859) 2023-12-13 15:12:14 +02:00
Sajarin M
4710c8ba7e Fix multiple typos in medusa docs (#5854) 2023-12-13 10:51:48 +00:00
Ishaq Khattana
f05c20695e docs: update local events module to fix mistyped reference to redis events module (#5835)
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-12-11 13:12:22 +02:00
Shahed Nasser
a458cd144d docs: update algolia plugin next.js details (#5807) 2023-12-05 15:49:52 +02:00
Shahed Nasser
892d737c1f docs: enhance how references are generated (#5805)
* adjusted configurations

* enhancements to tool and configurations

* change reference in docs

* fixed issue in workflows reference

* added project name

* more optimizations

* fix context error

* added a types reference

* resolved missing types

* fix reference reflection types not having children

* add an expand url parameter

* added new option to the README

* added details about new option
2023-12-05 15:29:41 +02:00
Chris
a418e6cebc docs: search results template needs the product ids to fetch previews (#5793)
https://github.com/medusajs/nextjs-starter-medusa/issues/200#issuecomment-1828308192
2023-12-05 09:23:25 +00:00
Shahed Nasser
ebac617c19 docs: fix typo in onboarding (#5802) 2023-12-05 10:52:51 +02:00
iweurman
f20d484b23 feat(admin): Add Korean language support (#5769)
* Add Korean language support

* Add to docs

* Create angry-eels-guess.md

---------

Co-authored-by: olivermrbl <oliver@mrbltech.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-12-03 14:40:15 +01:00
Shahed Nasser
c808317044 docs: added "Integrate Your Ecommerce Stack" recipe (#5774) 2023-11-30 11:27:09 +00:00
Shahed Nasser
f802e2460f docs: TSDoc + reference of fulfillment service (#5761) 2023-11-29 11:58:08 +00:00
Shahed Nasser
443c611d3b docs: updated Next.js deployment guide (#5756) 2023-11-28 15:52:29 +00:00
Shahed Nasser
d27b86ab8e docs: added examples for modules usage in Medusa (#5753)
* Add data migration script after running migrations

* Update install-medusa.mdx

* Update examples.md (#5751)

* fix lint errors

* fix comment in example

* added examples for modules usage in Medusa

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2023-11-28 11:14:00 +00:00
Riqwan Thamir
870d686136 docs: update pricing module docs with the latest changes (#5749)
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-28 09:56:57 +00:00
Shahed Nasser
deca78f749 docs: updated next.js starter docs (#5748)
* docs: updated next.js starter docs

* fix lint errors

* added migration script
2023-11-28 09:42:28 +00:00
github-actions[bot]
cdd42dbdcd chore(docs): Generated References (#5743)
Generated the following references:
- `entities`
- `inventory`
- `js-client`
- `pricing`
- `product`
- `services`
- `stock-location`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-27 18:58:52 +00:00
Shahed Nasser
dc6b815b12 docs: updated user guide for product pricing (#5744)
Updated the user guide to remove the pricing section in create/update variants sections
2023-11-27 18:37:14 +00:00
Shahed Nasser
d337c6d95b docs: fix back link in Workflows API Reference (#5740)
Fix back link shown in the sidebar of the workflows API reference
2023-11-27 18:09:32 +00:00
Shahed Nasser
cdc1da5df7 docs: added documentation pages for experimental features (#5671)
* docs: added documentation pages for experimental features

* fix content lint issues

* fixed lint errors

* added migration step

* added workflows introduction

* add installation guides

* added installation guides for modules + generated workflows reference

* added missing workflows reference link

* Added warning message for experimental features

* fix note
2023-11-27 16:49:12 +00:00
Shahed Nasser
547b16ead5 docs: fix code block titles (#5733)
* docs: fix code block titles

* remove console

* fix build error
2023-11-27 16:08:10 +00:00
Shahed Nasser
a2f42d1d1c docs: update Next.js starter main image (#5702) 2023-11-23 18:28:36 +00:00
Shahed Nasser
180b595afb docs: added a new document for available languages (#5667)
- Add a new documentation page for available languages.
- Refer to the new page from other pages.
2023-11-23 10:54:17 +00:00
Omar Hawwash
4fbe02b299 docs: updated medusa develop command (#5698) 2023-11-23 09:52:45 +00:00
Shahed Nasser
2850e9a772 docs: redesigned admonitions (#5689) 2023-11-22 17:07:29 +00:00
Shahed Nasser
00d59e28e9 docs: redesign tabs (#5687)
* redesigned tabs

* design fixes
2023-11-22 16:01:51 +00:00
Shahed Nasser
9c7ac7332a docs: added migration action to upgrade guide (#5669) 2023-11-21 14:46:22 +00:00
github-actions[bot]
2b9e8bda5e chore(docs): Generated References (#5666)
Generated the following references:
- `entities`
- `js-client`
- `pricing`
- `services`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-21 12:36:09 +00:00
Nicklas Gellner
4774b8ff3a Add missing link to admin-guide on translations (#5665)
Added missing link. @shahednasser can see you often use markdown references for other links, let me know if you prefer my submissions to be in similar format.
2023-11-21 11:56:48 +00:00
Shahed Nasser
9c7f95c3d5 docs: documentation for v1.18 (#5652)
* docs: documentation for v.17.5

* fix links

* updated version number
2023-11-21 08:57:11 +00:00
Shahed Nasser
c51dce164d docs: general fixes to references (#5653)
* fixed typedoc plugin's escape strategy

* move props comments to the associated property

* regenerate references
2023-11-17 19:36:58 +02:00
Shahed Nasser
95aa5a2d28 docs: generate inventory and stock location references (#5645) 2023-11-16 11:10:23 +02:00
Shahed Nasser
edeec07466 docs: added troubleshooting for postgres docker container (#5629)
* docs: added troubleshooting for postgres docker container

* fix component name
2023-11-14 12:27:38 +02:00
Shahed Nasser
c6dff873de docs: update docusaurus to v3 (#5625)
* update dependencies

* update onboarding mdx

* fixes for mdx issues

* fixes for mdx compatibility

* resolve mdx errors

* fixes in reference

* fix check errors

* revert change in vale action

* fix node version in action

* fix summary in markdown
2023-11-13 20:11:50 +02:00
Shahed Nasser
c7b8d060d7 docs: add note about ttl in redis cache module (#5617) 2023-11-13 10:42:52 +02:00
github-actions[bot]
39649b3552 chore(docs): Generated References (#5602)
Generated the following references:
- `pricing`
- `product`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-10 17:31:02 +00:00
Oli Juhl
02e2ee4e8a docs: cache-redis breaking changes (#5590)
* docs: cache-redis breaking changes

* remove section
2023-11-10 11:00:22 +01:00
Shahed Nasser
d4b8a89e66 docs: updated API Routes and Middlewares docs (#5588)
* docs: updated API Routes and Middlewares docs

* fix eslint errors
2023-11-10 11:00:08 +01:00
Shahed Nasser
3781ac4631 docs: added troubleshooting guide for promise.all (#5586)
* docs: added troubleshooting guide for promise.all

* fix eslint errors
2023-11-10 10:59:52 +01:00
github-actions[bot]
f35fcb810f chore(docs): Generated References (#5593)
* chore(docs): Generated References (automated)

* fix sidebar and links

* removed reflection path section

---------

Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
Co-authored-by: Shahed nasser <shahednasser@gmail.com>
2023-11-09 20:23:25 +02:00
Shahed Nasser
91615f9c45 chore: improve JS Client TSDoc comments (#5582)
* add oas schema to tsdoc parser

* add tsdoc (part 1)

* Finished tsdoc in js client

* general fixes

* added tsdoc in core medusa package

* parse schema tags in model files

* added maxlevel option

* added more tsdoc

* added tsdoc in core

* added TSDoc in core package

* generated client types

* support featureFlag and expandable tags

* added support for resource feature flag note

* fix api ignore plugin

* added eslint plugin

* support feature flag and expandable badges

* adjusted overview page + generated reference

* revert generated files

* added changeset

* add details about new typedoc options

* fix broken link
2023-11-09 12:51:17 +02:00
Nick Miller
e4157875b5 docs(create tax provider): tax line code required (#5540)
While I was developing a custom tax provider, I ran into a pretty frustrating issue related to multiple tax lines and incorrect / unexpected tax total calculations. I outlined the issue in discord, before finding the solution: https://discord.com/channels/876835651130097704/1169705457804398662

After some digging, I found this issue from a while back: https://github.com/medusajs/medusa/pull/1262, where it states there is now a unique constraint on `item_id, code` and `shipping_method_id, code`. But, in the current documentation for creating a custom tax provider, it states these fields as part of the tax line items returned are optional.

If these `code` values are left out, it can cause tax lines to be applied multiple times (as seen here as well: https://github.com/medusajs/medusa/issues/1901)

I'm not entirely sure how this should be phrased in the documentation, so I just wanted to get this up and on your radar for resolution. If it ends up being that `code` truly should not be optional, I suspect some type definitions would need to change as well?
2023-11-06 17:12:56 +00:00
Shahed Nasser
0c9216c225 docs: add missing mime_type in digital products recipe (#5569)
* docs: add missing mime_type in digital products recipe

* fix lint error
2023-11-06 14:35:23 +02:00
Stefanos Chalkidis
57c3a24ad3 docs(create-events-module): fixed typos (#5524) 2023-11-02 18:19:25 +00:00
Stefanos Chalkidis
febbf398ef docs(create-scheduled-job): rewrote sentence (#5525) 2023-11-02 17:36:10 +00:00