Skip to content

Commit 8891c0a

Browse files
authored
docs: remove v1 docs from navbar (#9722)
* docs: remove v1 docs from navbar * remove fallback
1 parent 2fbebb6 commit 8891c0a

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

www/apps/book/next.config.mjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,6 @@ const nextConfig = {
117117
// destination: `${process.env.NEXT_PUBLIC_USER_GUIDE_URL}/user-guide/:path*`,
118118
// basePath: false,
119119
// },
120-
{
121-
source: "/:path((?!v2).*)",
122-
destination: `${
123-
process.env.NEXT_PUBLIC_API_V1_URL || "https://localhost:3001"
124-
}/:path*`,
125-
basePath: false,
126-
},
127120
],
128121
}
129122
},

www/packages/docs-ui/src/components/MainNav/DesktopMenu/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ export const MainNavDesktopMenu = () => {
3838
title: "Homepage",
3939
link: "https://medusajs.com",
4040
},
41-
{
42-
type: "link",
43-
icon: <BookIcon />,
44-
title: "Medusa v1",
45-
link: "https://docs.medusajs.com",
46-
},
41+
// {
42+
// type: "link",
43+
// icon: <BookIcon />,
44+
// title: "Medusa v1",
45+
// link: "https://docs.medusajs.com",
46+
// },
4747
{
4848
type: "link",
4949
icon: <TimelineVertical />,

0 commit comments

Comments
 (0)