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:
Shahed Nasser authored and GitHub committed 2024-10-24 14:49:58 +03:00
1 parent 471f7e4a10
commit 88f2d17a24
40 files changed
+115 -128

No files matched your search

@@ -15,7 +15,7 @@ const HomepageLinksSection = () => {
text: "Build a Module",
},
{
href: "https://docs.medusajs.com/v2/resources/integrations",
href: "https://docs.medusajs.com/resources/integrations",
text: "Browse third-party integrations",
},
],
@@ -41,11 +41,11 @@ const HomepageLinksSection = () => {
title: "Storefront Development",
links: [
{
href: "https://docs.medusajs.com/v2/resources/nextjs-starter",
href: "https://docs.medusajs.com/resources/nextjs-starter",
text: "Explore our storefront starter",
},
{
href: "https://docs.medusajs.com/v2/resources/storefront-development",
href: "https://docs.medusajs.com/resources/storefront-development",
text: "Build a custom storefront",
},
{