Shahed Nasser
59217a9796
docs: add a note about the middleware regular expression ( #8742 )
2024-08-27 10:35:43 +02:00
Shahed Nasser
5996089c9c
docs: added new guides and troubleshooting related to admin development ( #8739 )
2024-08-27 10:35:09 +02:00
Ray Quijada
bb0fcbad7b
docs(ui): update 3.4 Modules & Services v2 documentation ( #8751 )
...
* chore: update 3.4 Modules and Services v2 documentation
explicitly mentioned `service.ts` requirement in 3.4 guide from 3.6
Content from:
https://docs.medusajs.com/v2/basics/modules-directory-structure#servicets
* chore: add missing dot
---------
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2024-08-26 10:53:52 +03:00
Shahed Nasser
b23f0f8188
docs: change notes across docs based on redesign ( #8662 )
...
Change the prerequisites / soon / other notes based on latest redesign
Depends on #8661
2024-08-23 07:59:48 +00:00
Shahed Nasser
320b01f45d
docs: redesign search + re-introduce ai assistant in v2 docs ( #8678 )
...
* docs: redesign search + re-introduce ai assistant in v2
* change version in ui
* show icon in case of error
* fixes based on feedback
2024-08-23 10:42:37 +03:00
Shahed Nasser
64283d0e83
docs: redesign API runner ( #8688 )
...
* fix up block style + plain theme color
* initial redesign
* docs: redesign API Runner
* revert yarn.lock changes
2024-08-21 17:48:16 +03:00
Shahed Nasser
b4d8e265e3
docs: redesign cards ( #8671 )
...
* docs: redesign cards
* fix build error
2024-08-20 14:48:17 +02:00
Shahed Nasser
48fe819d9e
docs: redesign vertical tabs ( #8673 )
2024-08-20 14:48:09 +02:00
Shahed Nasser
43202dde0f
docs: redesign footer ( #8651 )
2024-08-20 14:47:53 +02:00
Shahed Nasser
73905c14b1
docs: redesign notes ( #8661 )
...
* docs: redesign notes
* fix color for warning notes
* allow optional links
* show links in a note
* allow line code in notes
2024-08-20 14:47:24 +02:00
Shahed Nasser
45f9961d19
docs: remove link to events reference ( #8669 )
2024-08-20 12:32:04 +02:00
Shahed Nasser
1020ab0b97
docs: improve main docs and resources sidebar ( #8664 )
2024-08-20 12:31:50 +02:00
Shahed Nasser
c479fe8220
docs: added edit date ( #8623 )
2024-08-19 09:47:57 +03:00
Shahed Nasser
9bdcdc76a8
docs: redesign help button ( #8610 )
...
Redesign help button
Closes DOCS-817
2024-08-16 06:40:05 +00:00
Shahed Nasser
0cc2a62b9b
docs: collapse sidebar by default in main docs + persist state ( #8608 )
...
* docs: collapse sidebar by default in main docs + persist state
* persist sidebar hidden
2024-08-16 09:29:14 +03:00
Shahed Nasser
198d7c9927
docs: add a section in the book on how to retrieve a relationship ( #8594 )
2024-08-15 16:30:00 +03:00
Shahed Nasser
b4f3b8a79d
docs: redesign sidebar ( #8408 )
...
* initial changes
* redesign the sidebar + nav drawer
* changes to sidebar items
* finish up sidebar redesign
* support new sidebar in resources
* general fixes
* integrate in ui
* support api reference
* refactor
* integrate in user guide
* docs: fix build errors
* fix user guide build
* more refactoring
* added banner
* added bottom logo + icon
* fix up sidebar
* fix up paddings
* fix shadow bottom
* docs: add table of content (#8445 )
* add toc types
* implement toc functionality
* finished toc redesign
* redesigned table of content
* mobile fixes
* truncate text in toc
* mobile fixes
* merge fixes
* implement redesign
* add hide sidebar
* add menu action item
* finish up hide sidebar design
* implement redesign in resources
* integrate in api reference
* integrate changes in ui
* fixes to api reference scrolling
* fix build error
* fix build errors
* fixes
* fixes to sidebar
* general fixes
* fix active category not closing
* fix long titles
2024-08-15 12:13:13 +03:00
Shahed Nasser
705ea0ad33
docs: improve the workflow hooks guide ( #8538 )
...
* initial
* docs: improve workflow hook guides
2024-08-13 09:55:37 +03:00
Shahed Nasser
decd830474
docs: added a note about admin customizations as arrow functions ( #8387 )
2024-08-06 09:44:22 +02:00
Shahed Nasser
8eb538ff8f
docs: added a section on sending requests to api routes in admin ( #8412 )
2024-08-05 13:20:34 +03:00
Shahed Nasser
e7965db071
docs: added a chapter on how to emit an event ( #8414 )
2024-08-05 11:39:47 +03:00
Viktor Bakurin
be8afcaa63
docs: fix ModuleRegistrationName import ( #8434 )
...
Closes #8433
2024-08-05 07:24:27 +00:00
Viktor Bakurin
8cb416e661
docs: fix deployment link ( #8431 )
...
Closes #8430
2024-08-05 07:24:05 +00:00
Viktor Bakurin
ec0a68ec88
docs: fix helloWorldLoader function definition ( #8429 )
...
- Make helloWorldLoader async to follow the type definition
Closes #8428
2024-08-05 07:23:49 +00:00
Shahed Nasser
6f973d9f2b
docs: added workflow hooks docs + changed workflow response ( #8364 )
...
* docs: added workflow hooks docs + changed workflow response
* Update page.mdx
2024-07-31 17:01:33 +03:00
Shahed Nasser
a4eab3f37a
docs: added a service factory reference ( #8292 )
...
Added a service factory reference of the generated methods and how to use them.
Since the types in the codebase are a bit complex, a generated reference won't provide a valuable result.
Instead, this reference is created manually and aims to cover common use cases, providing examples for them.
Closes DOCS-844
2024-07-26 14:40:56 +00:00
Shahed Nasser
eb64ae75a6
docs: update middlewares to use defineMiddlewares ( #8283 )
2024-07-25 17:14:06 +02:00
Shahed Nasser
0c682b92c4
docs: updates to Medusa server deployment guides ( #8268 )
...
* updated railway deployment docs
* general updates and fixes
2024-07-25 09:55:22 +03:00
Shahed Nasser
0a482e972f
docs: added a section to introduction on using docs ( #8257 )
...
Add a section to the introduction page explaining the different sections of the V2 docs and how / when to use them.
2024-07-24 14:16:33 +00:00
Shahed Nasser
ccc99b48a0
docs: add 404 page ( #8260 )
2024-07-24 17:07:30 +03:00
Shahed Nasser
774d04da48
docs: fix information related to link directions ( #8236 )
...
* docs: fix keys passed to remoteLink.create and remoteLink.dismiss
* updated hello module name + clarified note
* added details about module link directions
* fix lint errors
2024-07-24 09:16:01 +02:00
Shahed Nasser
97f64a5cfe
docs: fix note about how method names are generated ( #8240 )
...
* docs: fix note about how method names are generated
* small fix
2024-07-23 18:28:34 +03:00
Shahed Nasser
a2d08eb635
docs: document links sync command ( #8212 )
...
* docs: document links sync command
* small wording fix
* sentence fix
2024-07-22 13:17:53 +03:00
Shahed Nasser
5def252e4b
docs: add section on delete cascades ( #8198 )
...
* docs: add section on delete cascades
* small text fix
2024-07-21 21:21:36 +02:00
Shahed Nasser
2f56030101
docs: remove the requirement on is queryable ( #8199 )
2024-07-21 21:20:24 +02:00
Shahed Nasser
8daa4119f0
docs: add chapter on executing a workflow in another / in a step ( #8163 )
...
* docs: added chapter on using workflow in another
* remove container from object
* change to only mention executing a workflow in another
* pass missing highlight
2024-07-21 21:19:23 +02:00
Shahed Nasser
0aac0f8bac
docs: fix cross-project links to use base path in production ( #8160 )
2024-07-17 15:31:23 +03:00
Shahed Nasser
b1964a0384
docs: remove type arguments passed to createWorkflow ( #8161 )
2024-07-17 13:19:51 +01:00
Shahed Nasser
f73ca97ecc
docs: rename data to event in subscribers across docs ( #8149 )
2024-07-16 17:12:05 +01:00
Shahed Nasser
b38c0488be
docs: remove imports from src in medusa-config.js ( #8132 )
...
Importing from `src` in `medusa-config.js` works in development, but would cause an error when running `build`/in production.
This removes from the docs all snippets that imports from the `src` directory. However, we should figure out a better way to handle re-using the module's name.
2024-07-15 16:00:54 +00:00
Shahed Nasser
a74c900ab1
docs: add documentation for migration generate cli tool ( #8128 )
...
* docs: add documentation for migration generate cli tool
* changed migrations details in marketplace recipe
* added generated oas files to action
* vale + lint fixes
* don't import from src in medusa-config.js
* fix generate command in recipe
* fix module name
2024-07-15 17:46:10 +02:00
Shahed Nasser
d8f58774df
docs: highlight fixes ( #8094 )
2024-07-11 18:15:50 +02:00
Shahed Nasser
368715ae37
docs: document when-then + migrations revert change ( #8089 )
...
- Add documentation around when-then and workflow conditions
- Change the CLI reference based on change in revert migrations command.
2024-07-11 12:30:50 +00:00
Shahed Nasser
bb0303cd6a
docs: improvements to module and data model documentation ( #8062 )
...
* docs: improvements to module and data model documentation
* add note about data model name casing
2024-07-11 13:53:40 +03:00
Shahed Nasser
02add3f0f5
docs: change event payload handling in subscribers ( #8078 )
2024-07-11 13:34:24 +03:00
Mostafa Al Mohammad
f441663224
docs: fix typo in curl command example ( #8071 )
...
## Documentation Typo Fix: curl Command for Testing Service
This pull request addresses a typo in the documentation for testing the service via curl command on the page: [https://docs.medusajs.com/v2/basics/modules-and-services ](https://docs.medusajs.com/v2/basics/modules-and-services )
**Initial Command (incorrect):**
```
curl http://locahost:9000/store/custom
```
**Corrected Command:**
```
curl http://localhost:9000/store/custom
```
The typo involved a missing "l" in "localhost". This fix ensures users can successfully test the service by providing the correct curl command.
2024-07-11 07:53:09 +00:00
Shahed Nasser
a8df528c65
docs: add a need help button ( #8069 )
...
* docs: add a need help button
* change github issue link
* responsive fixes
2024-07-11 10:29:13 +03:00
Shahed Nasser
d9b9a1df27
docs: add a section about constraints on step return value ( #8036 )
...
Rename the workflow constructor constraints document to include also step constraints and add a section about the allowed return value of a step.
2024-07-10 13:21:53 +00:00
Shahed Nasser
273529fde5
docs: added chapter on managing relationships ( #8043 )
2024-07-09 18:12:00 +03:00
Shahed Nasser
4c89f91caf
docs: fix download button + other fixes ( #8032 )
...
- Fix text of download button
- Small fix to styling on small devies
- Fix mobile sidebar items using incorrect base url
2024-07-09 12:36:02 +00:00