docs: general fixes and improvements (#7918)

* docs improvements and changes

* updated module definition

* modules + dml changes

* fix build

* fix vale error

* fix lint errors

* fixes to stripe docs

* fix condition

* fix condition

* fix module defintion

* fix checkout

* disable UI action

* change oas preview action

* flatten provider module options

* fix lint errors

* add module link docs

* pr comments fixes

* fix vale error

* change node engine version

* links -> linkable

* add note about database name

* small fixes

* link fixes

* fix response code in api reference

* added migrations step
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-04 17:26:03 +03:00
1 parent 32982e708a
commit 964927b597
149 files changed
+1676 -3008

No files matched your search

@@ -8,7 +8,7 @@ In this chapter, you’ll learn how to install and use the Next.js Starter store
<Note type="soon">
The Next.js starter is currently in development to fully support Medusa v2.
The Next.js Starter is currently in development to fully support Medusa v2.
</Note>
@@ -21,10 +21,10 @@ The Next.js starter is currently in development to fully support Medusa v2.
</Note>
1. Clone the `feat/v2` branch of the [Next.js Starter](https://github.com/medusajs/nextjs-starter-medusa):
1. Clone the `v2` branch of the [Next.js Starter](https://github.com/medusajs/nextjs-starter-medusa/tree/v2):
```bash
git clone https://github.com/medusajs/nextjs-starter-medusa -b feat/v2 my-medusa-storefront
git clone https://github.com/medusajs/nextjs-starter-medusa -b v2 my-medusa-storefront
```
2. Change to the `my-medusa-storefront` directory, install the dependencies, and rename the template environment variable:
@@ -61,8 +61,8 @@ You can learn more about development with Next.js through [their documentation](
---
## Configurations and Compatible Plugins
## Configurations and Integrations
The Next.js Starter is compatible with some Medusa plugins out-of-the-box, such as the MeiliSearch or Stripe plugins. You can also change some of its configurations if necessary.
The Next.js Starter is compatible with some Medusa integrations out-of-the-box, such as the Stripe provider module. You can also change some of its configurations if necessary.
Refer to the Next.js Starter reference for more details.
Refer to the [Next.js Starter reference](!resources!/nextjs-starter) for more details.
@@ -4,13 +4,9 @@ export const metadata = {
# {metadata.title}
In the next chapters, you’ll learn about building a storefront for your Medusa backend.
## Storefronts in Medusa’s Architecture
Storefronts are built separately from the Medusa application. They interact with the Medusa application through the Store API routes.
You're free to choose how to build your storefront. You can start with our Next.js starter storefront or build a storefront from scratch using your preferred framework or tech stack.
You're free to choose how to build your storefront. You can start with our Next.js starter storefront, as explained in the next chapter, or build a storefront from scratch using your preferred framework or tech stack.
<Note title="Tip">