docs: added dividers + see also section (#2899)

This commit is contained in:
Shahed Nasser
2022-12-26 15:52:08 +02:00
committed by GitHub
parent b0e5769e27
commit b0ebfd6bcf
100 changed files with 1047 additions and 291 deletions
@@ -11,6 +11,8 @@ If you install the Medusa CLI tool with NPM and get a permission error, NPM prop
You can check out more information in [NPMs documentation](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally).
---
<!-- vale off -->
## Yarn Error: command not found: medusa
+4 -2
View File
@@ -20,6 +20,8 @@ const STORE_CORS = process.env.STORE_CORS || "http://localhost:8000"
If you wish to run your storefront or Medusa admin on other ports, you should update the above settings accordingly.
## Additional Resources
---
To learn more about CORS configurations, check out the [Configure your Server](../usage/configurations.md) documentation.
## See Also
- [Configure your Medusa server](../usage/configurations.md)
@@ -8,6 +8,8 @@ This is because the content resides in `docs/content`. When that content is bein
For that reason, when the `start` and `build` scripts in `www/docs` are used, the `clean-node-modules` script is called. This script deleted the `node_modules` directory in the root of the Medusa repository.
---
## Out of Memory Error
If you receive the following error when you run the `build` command in `www/docs`:
@@ -27,7 +27,9 @@ However, to also show them as part of your checkout flow you need to add them to
In the Medusa Admin go to Settings > Regions and for each region scroll down to the Payment Provider input and choose the payment provider you want to use in that region.
## Additional Resources
---
- Learn how to install [Stripe](../add-plugins/stripe.md) as a payment provider.
- Learn more about the [Payment architecture](../advanced/backend/payment/overview.md).
## See Also
- [Install Stripe](../add-plugins/stripe.md)
- [Payment Architecture Overview](../advanced/backend/payment/overview.md)
+5 -3
View File
@@ -23,7 +23,9 @@ By default, Medusa connects to Redis over the URL `redis://localhost:6379`. If y
REDIS_URL=<YOUR_REDIS_URL>
```
## Additional Resources
---
- Learn how to [set up your development environment](../tutorial/0-set-up-your-development-environment.mdx).
- Learn how to [configure your server](../usage/configurations.md).
## See Also
- [Set up your development environment](../tutorial/0-set-up-your-development-environment.mdx)
- [Configure your server](../usage/configurations.md)
@@ -13,6 +13,8 @@ Alternatively, you can create your own users using the Medusa CLI tool:
medusa user -e some@email.com -p somepassword
```
## Additional Resources
---
Learn more about Medusa's CLI tool in the [CLI reference](../cli/reference.md).
## See Also
- [Medusa CLI tool reference](../cli/reference.md)
@@ -52,8 +52,10 @@ npm run seed
:::
## Additional Resources
---
- Learn how to [set up your development environment](../tutorial/0-set-up-your-development-environment.mdx).
- Learn how to [configure your server](../usage/configurations.md).
- Learn more about [the Medusa CLI tool](../cli/reference.md).
## See Also
- [Set up your development environment](../tutorial/0-set-up-your-development-environment.mdx)
- [Configure your server](../usage/configurations.md)
- [Medusa CLI tool reference](../cli/reference.md)