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
This commit is contained in:
@@ -838,7 +838,7 @@ If you click on the workflow, you'll view a reference of that workflow, includin
|
||||
|
||||
This is useful if you want to extend an API route and pass additional data or perform custom actions.
|
||||
|
||||
Refer to [this guide](https://docs.medusajs.com/v2/customization/extend-models/extend-create-product) to find an example of extending an API route.
|
||||
Refer to [this guide](https://docs.medusajs.com/customization/extend-models/extend-create-product) to find an example of extending an API route.
|
||||
|
||||
<Feedback
|
||||
event="survey_api-ref"
|
||||
|
||||
@@ -4,7 +4,7 @@ import DownloadFull from "@/components/DownloadFull"
|
||||
|
||||
<H3 className="!mt-0">Just Getting Started?</H3>
|
||||
|
||||
Check out the [Medusa v2 Documentation](https://docs.medusajs.com/v2).
|
||||
Check out the [Medusa v2 Documentation](https://docs.medusajs.com).
|
||||
|
||||
<Space bottom={8} />
|
||||
|
||||
@@ -16,7 +16,7 @@ To use Medusa's JS SDK library, install the following packages in your project (
|
||||
npm install @medusajs/js-sdk@latest @medusajs/types@latest
|
||||
```
|
||||
|
||||
Learn more about the JS SDK in [this documentation](https://docs.medusajs.com/v2/resources/js-sdk).
|
||||
Learn more about the JS SDK in [this documentation](https://docs.medusajs.com/resources/js-sdk).
|
||||
|
||||
### Download Full Reference
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@ and associate placed orders with the specified sales channel.
|
||||
|
||||
{/* TODO add v2 links */}
|
||||
|
||||
Create a publishable API key either using the [admin REST APIs](https://docs.medusajs.com/v2/api/admin#api-keys_postapikeys), or using the Medusa Admin.
|
||||
Create a publishable API key either using the [admin REST APIs](https://docs.medusajs.com/api/admin#api-keys_postapikeys), or using the Medusa Admin.
|
||||
|
||||
### How to Use a Publishable API Key
|
||||
|
||||
@@ -839,7 +839,7 @@ If you click on the workflow, you'll view a reference of that workflow, includin
|
||||
|
||||
This is useful if you want to extend an API route and pass additional data or perform custom actions.
|
||||
|
||||
Refer to [this guide](https://docs.medusajs.com/v2/customization/extend-models/extend-create-product) to find an example of extending an API route.
|
||||
Refer to [this guide](https://docs.medusajs.com/customization/extend-models/extend-create-product) to find an example of extending an API route.
|
||||
|
||||
<Feedback
|
||||
event="survey_api-ref"
|
||||
|
||||
Reference in New Issue
Block a user