docs(ui,docs): added upgrade guides link to UI docs (#5240)

* added medusa ui index page

* remove console
This commit is contained in:
Shahed Nasser
2023-09-27 20:06:03 +03:00
committed by GitHub
parent 11b2f1237b
commit aecf719871
9 changed files with 58 additions and 6 deletions
@@ -1,3 +1,4 @@
import { ArrowUpRightOnBox } from "@medusajs/icons"
import { NavbarLinkProps, SidebarSectionItemsType } from "docs-ui"
type DocsConfig = {
@@ -65,6 +66,16 @@ export const docsConfig: DocsConfig = {
path: "/installation/standalone-project",
isPathHref: true,
},
{
title: "Upgrade Guides",
path: `${process.env.NEXT_PUBLIC_DOCS_URL}/upgrade-guides/medusa-ui`,
isPathHref: true,
additionalElms: <ArrowUpRightOnBox />,
linkProps: {
target: "_blank",
rel: "noreferrer",
},
},
],
},
],