Commit Graph
100 Commits
Author SHA1 Message Date
Shahed Nasser 35afa04a93 docs: migrate Kapa (#10198)
* docs: migrate kapa

* remove unused dependency

* fix isbrowser
2024-11-21 15:05:50 +02:00
Shahed Nasser f541e21c62 docs: revise medusa container chapter (#10192) 2024-11-21 11:22:15 +02:00
Shahed Nasser ec1ab4db87 docs: add default value if PAK environment variable isn't set (#10185) 2024-11-20 19:06:08 +02:00
Shahed Nasser 765f99e04b docs: fix font smoothing across projects (#10183) 2024-11-20 18:24:58 +02:00
Shahed Nasser bef89e43c4 docs: revise intro pages (#10182) 2024-11-20 17:36:02 +02:00
Shahed Nasser 544f5d4c59 chore: optimize sanity opengraph image (#10181) 2024-11-20 17:08:05 +02:00
Shahed Nasser a429a267f1 docs: add Sanity integration guide (#10152)
* docs: add integrate to Sanity guide

* address PR feedback

* added more screenshots

* edit introduction

* added meta images + changes
2024-11-20 16:17:33 +02:00
Shahed Nasser 3fee17747f fix(types): fix AdminBatchProductRequest to have product ID (#10168) 2024-11-20 11:10:26 +02:00
Shahed Nasser b43febda54 chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n] (#10028)
* chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n]

* fix error

* remove type changes
2024-11-19 19:15:44 +02:00
Shahed Nasser 7a3c6acf31 docs: fix heading import in ui route docs (#10167) 2024-11-19 18:49:07 +02:00
Shahed Nasser 5fb73e6698 chore(core-flows,types): add TSDocs for useQueryGraphStep (#10042) 2024-11-19 18:31:33 +02:00
Shahed Nasser be700e31f2 docs: add section on querying records from a link's table (#10165) 2024-11-19 18:28:10 +02:00
Shahed Nasser dbd06a131a docs-util: remove duplicate methods from JS SDK (#10161) 2024-11-19 18:07:44 +02:00
Shahed Nasser a1738f823c docs: change report issue link (#10160) 2024-11-19 15:54:16 +02:00
Shahed Nasser 156494c646 docs: fix provider ID in payment's webhook URL (#10157) 2024-11-19 15:29:34 +02:00
Shahed Nasser 3f4e6a168b docs: remove section on updating cart's customer (#10154)
* docs: add more clarification on updating a cart's customer

* remove section
2024-11-19 15:19:53 +02:00
Shahed Nasser 3b1463048a docs: fix error on collapsing prerequisites (#10153) 2024-11-19 13:35:47 +02:00
Shahed Nasser f5c580a661 docs: add missing prerequisite in stripe's storefront integration (#10097) 2024-11-18 09:52:00 +02:00
Shahed Nasser b0c6efa98b docs: fix copy in code blocks with tabs (#10123)
* docs: fix copy in code blocks with tabs

* fix lint error
2024-11-15 18:59:46 +02:00
Shahed Nasser 1fb2998620 docs: document nested UI routes (#10104)
* docs: document nested UI routes

* address PR feedback
2024-11-15 18:54:33 +02:00
Shahed Nasser 12e8405cca docs: add note about using dates in workflows (#10107) 2024-11-15 18:42:56 +02:00
Shahed Nasser 79a3dc1e82 docs: update admin injection zones list (#10103) 2024-11-14 18:14:16 +02:00
Shahed Nasser 9c39cf69fb docs: add guide on how to translate admin (#10095)
* docs: add guide on how to translate admin

* added a link from the main docs
2024-11-14 17:17:01 +02:00
Shahed Nasser 273960f6e3 docs: fix client error for learning path (#10102) 2024-11-14 16:53:24 +02:00
Shahed Nasser af66ac58cc docs: add missing import in digital product recipe (#10094) 2024-11-14 16:41:14 +02:00
Shahed Nasser 0ea57659e8 docs: improv version detection + fix breadcrumbs (#10083) 2024-11-13 18:20:05 +02:00
Shahed Nasser c054f47872 docs-utils: make reference table of content in alphabetical order (#10084) 2024-11-13 18:10:20 +02:00
Shahed Nasser 662b096a46 docs: fix oneOf design hiding more than three items (#10077)
* docs: fix oneOf design hiding more than three items

* fix lint errors

* fix eslint
2024-11-13 17:41:49 +02:00
Shahed Nasser 938f3bd934 docs: update to next 15 + eslint 9 (#9839)
* update next

* updated react

* update eslint

* finish updating eslint

* fix content lint errors

* fix docs test

* fix vale action

* fix installation errors
2024-11-13 17:03:17 +02:00
Shahed Nasser 6f7467f071 docs: added + updated build and deployment guides (#10019) 2024-11-13 14:44:36 +02:00
Shahed Nasser b6775f894a docs: fix types of injection zone props (#10074)
Closes DX-1065
2024-11-13 14:32:55 +02:00
Shahed Nasser f151fb32aa docs: add emit events + types documentation (#10026)
* docs: add emit events + types documentation

* vale fixes
2024-11-13 14:17:14 +02:00
Shahed Nasser 7a26e123bb docs: fix outdated links (#10040) 2024-11-13 11:02:01 +02:00
Shahed Nasser 2d469ba587 docs: added note about test timeout (#10041) 2024-11-13 11:01:47 +02:00
Shahed Nasser 5fec006371 docs-util: fix helper step settings (#10045) 2024-11-13 11:01:14 +02:00
Shahed Nasser 868b1c190f docs: change useRemoteQueryStep to useQueryGraphStep (#10051)
* docs: change useRemoteQueryStep to useQueryGraphStep

* fix lint errors
2024-11-13 11:00:55 +02:00
Shahed Nasser 823552ecd9 docs: document multiple steps usage in a workflow (#10053) 2024-11-13 11:00:37 +02:00
Shahed Nasser 1fbe1d4ee9 docs: update event module guide (#10056) 2024-11-13 11:00:22 +02:00
Shahed Nasser 3962c2c88f docs: fix link to medusa configuration guide (#10059) 2024-11-13 11:00:04 +02:00
Shahed Nasser 690c352993 docs: add documentation on validateAndTransformQuery (#10060)
* docs: add documentation on validateAndTransformQuery

* fix vale error
2024-11-13 10:59:46 +02:00
Shahed Nasser 1d87459951 docs: remove duplicate buttons in code actions (#10061) 2024-11-13 10:59:14 +02:00
Shahed Nasser e10fb34eb9 docs: fix slugs pointing to admin rather than store routes (#10063) 2024-11-13 10:42:58 +02:00
Shahed Nasser bbc47dc5df docs: fix missing hooks property (#10008) 2024-11-12 09:53:12 +01:00
Shahed Nasser 713e428ec2 docs: fix cart completion in subscriptions recipe (#10021) 2024-11-11 20:37:26 +02:00
Shahed Nasser a131a4468d docs: improve getting started chapters (#10014) 2024-11-11 20:35:57 +02:00
Shahed Nasser 5e1ccba06d docs: fix link to testing tools (#10030) 2024-11-11 18:24:55 +00:00
Shahed Nasser c4183a5cb7 docs: improve transform docs (#10023) 2024-11-11 19:21:53 +01:00
Shahed Nasser 0ef92cce28 chore(medusa): show success message after user is created (#10027) 2024-11-11 20:16:14 +02:00
Shahed Nasser 94fb420434 docs: fix server worker mode in railway deployment (#9842)
* docs: fix server worker mode in railway deployment

* fix DISABLE_MEDUSA_ADMIN
2024-11-11 09:44:21 +01:00
Shahed Nasser 5d7c1ad655 docs: add more context and description to recipe steps (#9861) 2024-11-10 22:43:42 +01:00
Shahed Nasser e94f35458c docs: add instructions on how to roll back a migration (#9870) 2024-11-10 22:43:31 +01:00
Shahed Nasser c7b24eb3ec docs: remove upgrade guides doc (#9845) 2024-11-10 14:13:00 +01:00
Shahed Nasser 6e775a2e04 chore: update doc links in README (#9860) 2024-11-10 08:58:19 +01:00
Shahed Nasser e229bea3c1 docs: fix resolve of custom file module guide (#9840)
Closes #9833
2024-11-10 07:33:07 +00:00
Shahed Nasser d0d9bbcca9 docs: add common redirects to v1 docs (#9832)
Add common redirects to v1 docs that don't affect v2 docs
2024-11-10 07:32:44 +00:00
Shahed Nasser 37eeaa84a2 docs: small improvement to first customization guide (#9843)
Added a bit more context and what you'll build in the first customization guide and why it's powerful.

Closes DX-1044
2024-11-06 09:09:35 +00:00
Shahed Nasser 4d7cb54762 docs: add a note in 404 page about v1 docs (#9815) 2024-10-28 14:42:22 +01:00
Shahed Nasser 43a44cf426 chore(js-sdk,types): add tsdocs for admin JS SDK methods [4/n] (#9745)
Add TSDocs to admin JS SDK from notification to payment

[4/n]
2024-10-28 04:42:17 +00:00
Shahed Nasser df5dc65e2a docs: added documentation on environment variables (#9798) 2024-10-26 14:35:38 +00:00
Shahed Nasser f40ea9cfbf chore(js-sdk,types): add tsdocs for admin JS SDK methods [5/n] (#9788)
* chore(js-sdk,types): add tsdocs for admin JS SDK methods [5/n]

* add api route link
2024-10-25 13:02:17 +03:00
Shahed Nasser fd26839616 docs: fixes to ui docs (#9759) 2024-10-25 11:56:54 +03:00
Shahed Nasser bf18d73ff4 docs: fix complete cart workflow usage in marketplace recipe (#9771)
- Fix usage of `completeCartWorkflow` which now returns an ID instead of the full order
- other: improvements in config across projects
2024-10-25 08:53:42 +00:00
Shahed Nasser 92bbd7953b chore: update links to v2 docs in source code and comments (#9732) 2024-10-24 15:18:38 +03:00
Shahed Nasser 6617f81640 docs: add ui rewrite (#9762) 2024-10-24 14:02:55 +02:00
Shahed Nasser 88f2d17a24 docs: change configurations to make v2 the main docs (#9729)
* docs: change configurations to make v2 the main docs

* move api routes to top level

* remove api prefix

* update opengraph images

* show v1 link

* add redirect to v1
2024-10-24 14:49:58 +03:00
Shahed Nasser 5a1b6f0810 docs: fix deleteCascade typo (#9744) 2024-10-24 14:03:46 +03:00
Shahed Nasser 04cec64fa1 docs: show latest version in docs + update automatically (#9753) 2024-10-24 14:03:34 +03:00
Shahed NasserandHarminder Virk 669adbcdc9 fix(js-sdk): remove list and retrieve methods of paymentCollection (#9746)
Co-authored-by: Harminder Virk <virk.officials@gmail.com>
2024-10-24 12:27:57 +02: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 af3c6b0d93 chore: update release actions related to docs and starter (#9713)
* chore: update release actions related to docs and starter

* change name
2024-10-22 18:44:20 +03: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
Shahed Nasser 14efb2a420 chore(js-sdk,types): add tsdocs for admin JS SDK methods [3/n] (#9712) 2024-10-22 18:08:33 +03:00
Shahed Nasser 3df7ebe3d1 chore(js-sdk,types): add tsdocs for admin JS SDK methods [2/n] (#9696)
Add TSDocs to admin JS SDK from customer groups to fulfillment providers

[2/n]
2024-10-22 11:53:09 +00:00
Shahed Nasser 5ea3100c10 chore(js-sdk,types): add tsdocs for admin JS SDK methods [1/n] (#9667)
Add TSDocs to admin JS SDK from API keys to currencies

[1/n]
2024-10-22 11:19:04 +00:00
Shahed Nasser a0668adefa fix(dashboard,js-sdk): remove methods / hooks to non existing exchange routes (#9697)
Remove the following exchange methods (and hooks from dashboard) which point to routes that don't exist:

- `delete`
- `addItems`
- `updateItem`
- `removeItem`
2024-10-21 14:00:30 +00:00
Shahed Nasser fa15db4538 chore(types,js-sdk,medusa): Add TSDocs for store and auth's JS SDK + small type fixes (#9657)
* added jsdocs

* more tsdocs

* added for cart completion

* finish up the store tsdocs
2024-10-21 11:03:33 +03: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
Shahed Nasser 4829b16e6f chore: fix to DML action (#9672) 2024-10-21 09:52:29 +03:00
Shahed Nasser 2ea766daf5 fix(dashboard,js-sdk): remove method and hook for deleting claim (#9668) 2024-10-18 19:43:53 +03:00
Shahed Nasser 61e6a07b55 docs: rename packages (#9618) 2024-10-18 14:43:46 +00:00
Shahed Nasser 30659b077a chore(utils): update tsdocs for provider identifiers (#9656) 2024-10-18 17:32:15 +03: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 ab113cdc38 chore(js-sdk): add ignore tsdoc tag to client and constructor of inner classes (#9635) 2024-10-17 19:31:51 +03:00
Shahed Nasser 8fddabce04 docs: update curl request to /admin/products (#9641)
Closes DX-1026
2024-10-17 16:21:31 +00:00
Shahed Nasser 4ca5510da9 fix(types): change options to be required in http type (#9642)
`options` is now required when creating a product. This PR updates the http type
2024-10-17 16:13:17 +00:00
Shahed Nasser 31900239b7 fix(core-flows, types): general fixes to types and tsdocs (#9633)
- Export input type of `useQueryGraphStep` step
- Remove duplicate `OrderTransactionDTO`
- Fix some tsdoc errors
2024-10-17 15:50:19 +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