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:
@@ -38,12 +38,12 @@ export const MainNavDesktopMenu = () => {
|
||||
title: "Homepage",
|
||||
link: "https://medusajs.com",
|
||||
},
|
||||
// {
|
||||
// type: "link",
|
||||
// icon: <BookIcon />,
|
||||
// title: "Medusa v1",
|
||||
// link: "https://docs.medusajs.com",
|
||||
// },
|
||||
{
|
||||
type: "link",
|
||||
icon: <BookIcon />,
|
||||
title: "Medusa v1",
|
||||
link: "https://docs.medusajs.com/v1",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
icon: <TimelineVertical />,
|
||||
@@ -54,7 +54,7 @@ export const MainNavDesktopMenu = () => {
|
||||
type: "link",
|
||||
icon: <QuestionMarkCircle />,
|
||||
title: "Troubleshooting",
|
||||
link: "https://docs.medusajs.com/v2/resources/troubleshooting",
|
||||
link: "https://docs.medusajs.com/resources/troubleshooting",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user