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:
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",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -17,28 +17,28 @@ const HomepageRecipesSection = () => {
|
||||
type: "large",
|
||||
title: "Marketplace",
|
||||
text: "Build a marketplace with multiple vendors",
|
||||
href: "https://docs.medusajs.com/v2/resources/recipes/marketplace/examples/vendors",
|
||||
href: "https://docs.medusajs.com/resources/recipes/marketplace/examples/vendors",
|
||||
icon: ShopIcon,
|
||||
},
|
||||
{
|
||||
type: "large",
|
||||
title: "Subscriptions",
|
||||
text: "Implement a subscription-based commerce store.",
|
||||
href: "https://docs.medusajs.com/v2/resources/recipes/subscriptions/examples/standard",
|
||||
href: "https://docs.medusajs.com/resources/recipes/subscriptions/examples/standard",
|
||||
icon: CalendarRefreshIcon,
|
||||
},
|
||||
{
|
||||
type: "large",
|
||||
title: "Restaurant-Delivery",
|
||||
text: "Build a restaurant marketplace inspired by UberEats, with real-time delivery handling",
|
||||
href: "https://docs.medusajs.com/v2/resources/recipes/marketplace/examples/restaurant-delivery",
|
||||
href: "https://docs.medusajs.com/resources/recipes/marketplace/examples/restaurant-delivery",
|
||||
icon: ChefHatIcon,
|
||||
},
|
||||
{
|
||||
type: "large",
|
||||
title: "Digital Products",
|
||||
text: "Sell digital products with custom fulfillment.",
|
||||
href: "https://docs.medusajs.com/v2/resources/recipes/digital-products/examples/standard",
|
||||
href: "https://docs.medusajs.com/resources/recipes/digital-products/examples/standard",
|
||||
icon: ImageBinaryIcon,
|
||||
},
|
||||
]
|
||||
@@ -63,7 +63,7 @@ const HomepageRecipesSection = () => {
|
||||
</span>
|
||||
</div>
|
||||
<Link
|
||||
href={"https://docs.medusajs.com/v2/resources/recipes"}
|
||||
href={"https://docs.medusajs.com/resources/recipes"}
|
||||
className="flex gap-0.25 items-center text-compact-small-plus"
|
||||
withIcon
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user