Commit Graph

1824 Commits

Author SHA1 Message Date
Shahed Nasser
05b43ecdb5 docs-util: add sidebar link validation in prep script (#12306) 2025-04-28 10:50:02 +03:00
Shahed Nasser
3c967e6753 docs: fix troubleshooting page (#12305) 2025-04-28 10:49:49 +03:00
Shahed Nasser
43d282da8b docs: general improvements and additions (#12296) 2025-04-25 19:00:45 +03:00
Alexander Lindkjær
e2a7dbb61b Update 6.3. Using TypeScript Aliases - Alias should run after build, not before (#12272)
https://docs.medusajs.com/learn/configurations/ts-aliases

`npm run resolve:aliases` should run after `medusa build` to change out the aliases in the build output. 

So instead of the current guide
`"build": "npm run resolve:aliases && medusa build"`

I should be 
`"build": "medusa build && npm run resolve:aliases"`
2025-04-25 15:26:06 +00:00
Shahed Nasser
cb92217d03 docs: improve resend guide (#12293)
* docs: improve resend guide

* fix lint error

* more improvements
2025-04-25 12:42:09 +03:00
Shahed Nasser
69df003968 docs-util: enable internal resolve for workflows sdk reference (#12292) 2025-04-25 10:11:32 +03:00
Shahed Nasser
13071172b3 docs: added mark fulfillment delivered step in digital products recipe (#12290)
* docs: add fulfillment delivered step to digital products recipe

* generate llms

* small change
2025-04-24 19:08:05 +03:00
Shahed Nasser
35d7c143ea docs: improve documetation around error handling in workflows (#12288)
* docs: improve documetation around error handling in workflows

* regenerate
2025-04-24 18:41:28 +03:00
Shahed Nasser
8aed57d453 docs: add note to s3 guide (#12289) 2025-04-24 18:15:30 +03:00
Shahed Nasser
97daa5a41c docs: clarify ISO format for province codes (#12282)
* docs: clarify ISO format for province codes

* regenerate
2025-04-24 15:44:35 +03:00
Shahed Nasser
4946b67152 docs: regenerate core-flows reference + OAS for draft order updates (#12280)
* docs: regenerate core-flows reference for updates in draft orders

* generate OAS
2025-04-24 12:01:46 +03:00
Shahed Nasser
7d498227d1 docs: fix core flows reference not generating (#12274) 2025-04-23 19:46:54 +03:00
Shahed Nasser
54bae210b8 docs: improve database operations docs + added data model repository reference (#12273)
* some changes

* docs: improve database operations docs + add data model repository reference

* regenerate
2025-04-23 19:22:50 +03:00
Shahed Nasser
d9fcf8a621 docs: fix reference of draft orders JS SDK methods (#12271)
* docs: fix reference of draft orders JS SDK methods

* generate
2025-04-23 12:47:46 +03:00
github-actions[bot]
c7065fcd2b chore(docs): Updated API Reference (automated) (#12268)
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-04-23 08:50:17 +00:00
github-actions[bot]
acff7887a2 chore(docs): Generated References (automated) (#12267)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 11:02:29 +03:00
github-actions[bot]
3a9c19d3c2 chore(docs): Update version in documentation (automated) (#12265)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 10:46:06 +03:00
Shahed Nasser
39523ba798 docs: fix badges and tables not showing in code tabs (#12261) 2025-04-23 09:59:08 +03:00
Shahed Nasser
dcb4788af9 docs: fix no lines code block example (#12259) 2025-04-22 19:03:44 +03:00
Shahed Nasser
567d7607cd docs: added a section on loader execution (#12260) 2025-04-22 18:56:01 +03:00
Rick Gao
38710c116e docs: Replace api_key_id with publishable_key_id (#12242)
<img width="1000" alt="image" src="https://github.com/user-attachments/assets/885395f0-0c74-4cf3-a39b-8d6d97ed0a9c" />
2025-04-21 13:32:03 +00:00
Shahed Nasser
4b55c4fb57 docs: fix messy layout bug (#12248) 2025-04-21 11:01:41 +03:00
Ezequiel Schejtman
c8e8a39e6a docs: Fix typo "documenation" in env vars page.mdx (#12247) 2025-04-21 07:18:05 +00:00
Shahed Nasser
a8a7af46a6 docs: fix revalidate cache guide (#12243) 2025-04-18 19:21:38 +03:00
Shahed Nasser
f3cb8f2e03 docs: fix index.html.md causing 404 (#12241)
* docs: fix index.html.md causing 404

* update next.js

* test

* test

* test

* test

* fix revalidate

* test

* test

* test

* test

* test

* test

* test

* test

* clean up
2025-04-18 18:08:54 +03:00
Shahed Nasser
750b1e9bbf docs: improvements to admin, query, and read-only link docs (#12239)
* improve admin page

* improvemens to query and read-only link docs

* fix build error
2025-04-18 14:41:25 +03:00
Shahed Nasser
9167352778 docs: fix redirect infrastructure modules (#12238)
* docs: fix redirect infrastructure modules

* change middleware
2025-04-18 14:19:55 +03:00
Shahed Nasser
db0fe0fc91 docs: add LLM dropdown menu to documentation pages (#12235)
* docs: add LLM dropdown menu to documentation pages

* fix build errors
2025-04-18 13:18:27 +03:00
Shahed Nasser
a3aa5d7a66 dos: add docs on overriding allowed fields in routes (#12233) 2025-04-18 11:38:36 +03:00
Shahed Nasser
6b1d8cd3d4 docs: add some redirects from v1 to v2 docs (#12229)
* docs: add some redirects from v1 to v2 docs

* remove comment
2025-04-18 10:34:11 +03:00
Shahed Nasser
c8ec59e323 docs: updates to link to other modules docs (#12225) 2025-04-18 09:28:39 +03:00
Vallabh-Mahanta
6a9417a1bb docs: fix step name in long-running workflow documentation (#12215)
* docs: fix step name in long-running workflow documentation

Fixed inconsistency in the step name - updated 'set-step-failure-step' to 'setStepFailureStep' to match the exported function name.

Fixes #12143

* docs: fix step name in long-running workflow documentation

Changed the step ID from "setStepFailureStep" to "set-step-failure-step" as requested to follow kebab-case naming convention for step IDs.

Fixes #12143

* Update page.mdx

I think this is done. Sorry for inconvenience caused by me.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

---------

Co-authored-by: Your Name <your-email@example.com>
2025-04-17 19:08:52 +03:00
Shahed Nasser
8b5b96a83d docs-util: fix examples in workflow reference that have multiple code (#12223) 2025-04-17 18:47:09 +03:00
Shahed Nasser
f492a1a475 docs: expand on promotion rules (#12218)
* docs: expand on promotion rules

* generate txt
2025-04-17 18:29:57 +03:00
Shahed Nasser
5fe8e2ec04 docs: fix links in submenu navigation (#12220) 2025-04-17 18:06:46 +03:00
Shahed Nasser
c9fd0422c8 docs: document conditional shipping option prices + expand on price rules (#12217)
* docs: document conditional shipping option prices + expand on price rules

* fix errors
2025-04-17 17:52:10 +03:00
Carlos R. L. Rodrigues
e180253d60 feat(orchestration): skip on permanent failure (#12027)
What:
 - Added step config `skipOnPermanentFailure`. Skip all the next steps when the current step fails. If a string is used, the workflow will resume from the given step.
 - Fix `continueOnPermanentFailure` to continue the execution of the flow when a step fails.
 
```ts
createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: true,
  })
  nextStep1() // skipped
  nextStep2() // skipped
})


createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: "resume-from-here",
  });
  nextStep1(); // skipped
  nextStep2(); // skipped
  nextStep3().config({ name: "resume-from-here" }); // executed
  nextStep4(); // executed
});
```
2025-04-17 12:49:58 +00:00
Shahed Nasser
9d27c0c194 docs: add new troubleshooting guides for Query and middlewares (#12214) 2025-04-17 14:18:07 +03:00
Shahed Nasser
eb73bdb478 docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules

* generate again
2025-04-17 13:20:43 +03:00
Shahed Nasser
9abcf7a83a docs: update introduction and homepage following Framework changes (#12211) 2025-04-17 11:40:56 +03:00
Shahed Nasser
42262d41a1 docs: capitalize use of Framework across docs (#12207)
* docs: capitalize use of Framework across docs

* generate llm
2025-04-17 10:40:26 +03:00
Shahed Nasser
b182bbb9a9 docs: add framework to navbar (#12206)
* support link submenu

* updated navbar

* small fix
2025-04-16 18:34:14 +03:00
Shahed Nasser
757ba6cd7f docs: add framework page (#12162)
* initial draft

* finalize page

* fix vale error

* changes to intro

* small fix

* added features list
2025-04-16 17:58:27 +03:00
Shahed Nasser
6c59d3fe6f docs: hide colon when a note's title has a punctuation (#12205) 2025-04-16 17:23:10 +03:00
Shahed Nasser
d98b560f26 docs: add a note to loyalty points guide (#12201) 2025-04-16 14:39:00 +03:00
Shahed Nasser
fe48f825f8 docs: add loyalty points guide (#12130)
* docs: add loyalty points guide

* remove og
2025-04-16 10:58:27 +03:00
Shahed Nasser
a12b5f7456 docs: changes to plugins page (#12190)
* docs: changes to plugins page

* text fix
2025-04-15 10:09:04 +03:00
Rohan
a29214c44d Update page.mdx (#12188)
while returning CartContext.Provider component, unsetCard was missing in the value object
2025-04-15 10:08:49 +03:00
Shahed Nasser
734f4fecbc docs: generate JS SDK reference with fixes (#12161) 2025-04-11 16:42:09 +03:00
Shahed Nasser
cd66cdd2bb docs: generate OAS manually for 2.7.0 (#12158)
* original changes

* changes

* fixes for delete operations

* generate oas
2025-04-11 16:41:39 +03:00