docs: fix build errors + update medusa docs link (#8550)
* docs: update medusa docs link * fix @medusajs/icon version * fix user guide build * fix build error
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdx-js/loader": "^3.0.0",
|
"@mdx-js/loader": "^3.0.0",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"@medusajs/icons": "^1.2.0",
|
"@medusajs/icons": "preview",
|
||||||
"@medusajs/ui": "^3.0.0",
|
"@medusajs/ui": "^3.0.0",
|
||||||
"@next/mdx": "14.2.3",
|
"@next/mdx": "14.2.3",
|
||||||
"@readme/openapi-parser": "^2.5.0",
|
"@readme/openapi-parser": "^2.5.0",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Explore Medusa's commerce modules, SDKs, configurations, recipes, and more.
|
|||||||
|
|
||||||
<Note title="Getting started?">
|
<Note title="Getting started?">
|
||||||
|
|
||||||
Follow the [Medusa Book](https://medusa-docs-v2-git-docs-v2-medusajs.vercel.app) to become an advanced Medusa developer.
|
Follow the [Medusa v2 Docs](!docs!) to become an advanced Medusa developer.
|
||||||
|
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
@@ -165,4 +165,4 @@ Follow the [Medusa Book](https://medusa-docs-v2-git-docs-v2-medusajs.vercel.app)
|
|||||||
href: "/nextjs-starter",
|
href: "/nextjs-starter",
|
||||||
showLinkIcon: false
|
showLinkIcon: false
|
||||||
},
|
},
|
||||||
]} />
|
]} />
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdx-js/loader": "^3.0.1",
|
"@mdx-js/loader": "^3.0.1",
|
||||||
"@mdx-js/react": "^3.0.1",
|
"@mdx-js/react": "^3.0.1",
|
||||||
"@medusajs/icons": "^1.2.0",
|
"@medusajs/icons": "preview",
|
||||||
"@next/mdx": "^14.2.3",
|
"@next/mdx": "^14.2.3",
|
||||||
"clsx": "^2.1.0",
|
"clsx": "^2.1.0",
|
||||||
"docs-ui": "*",
|
"docs-ui": "*",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { BellAlert, Sidebar } from "@medusajs/icons"
|
import { BellAlert, SidebarLeft } from "@medusajs/icons"
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: `Medusa Admin User Guide`,
|
title: `Medusa Admin User Guide`,
|
||||||
@@ -40,7 +40,7 @@ The sidebar menu includes the main navigation of your Medusa Admin. You can use
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can hide the sidebar by clicking the <InlineIcon Icon={Sidebar} alt="sidebar" /> icon at the top next to the sidebar. Clicking it again shows the sidebar.
|
You can hide the sidebar by clicking the <InlineIcon Icon={SidebarLeft} alt="sidebar" /> icon at the top next to the sidebar. Clicking it again shows the sidebar.
|
||||||
|
|
||||||
### Search Bar
|
### Search Bar
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdx-js/loader": "^3.0.0",
|
"@mdx-js/loader": "^3.0.0",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"@medusajs/icons": "^1.2.0",
|
"@medusajs/icons": "preview",
|
||||||
"@next/mdx": "^14.2.3",
|
"@next/mdx": "^14.2.3",
|
||||||
"clsx": "^2.1.0",
|
"clsx": "^2.1.0",
|
||||||
"docs-ui": "*",
|
"docs-ui": "*",
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@medusajs/icons": "^1.2.0",
|
"@medusajs/icons": "preview",
|
||||||
"@medusajs/ui": "^3.0.0",
|
"@medusajs/ui": "^3.0.0",
|
||||||
"@octokit/request": "^8.1.1",
|
"@octokit/request": "^8.1.1",
|
||||||
"@react-hook/resize-observer": "^1.2.6",
|
"@react-hook/resize-observer": "^1.2.6",
|
||||||
|
|||||||
+13
-4
@@ -1302,6 +1302,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@medusajs/icons@npm:preview":
|
||||||
|
version: 1.2.2-preview-20240812060602
|
||||||
|
resolution: "@medusajs/icons@npm:1.2.2-preview-20240812060602"
|
||||||
|
peerDependencies:
|
||||||
|
react: ^16.x || ^17.x || ^18.x
|
||||||
|
checksum: c5bfbe0b536fa8b6cffd63aa95c3a8fa4ed8eaf9bf3295a1b2b77a38605f5ac12743baa64fc74feffeebd2333d77d9e28bfb8545dcd2d2c6990cd06dd0dd14d3
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@medusajs/ui-preset@npm:^1.1.2":
|
"@medusajs/ui-preset@npm:^1.1.2":
|
||||||
version: 1.1.2
|
version: 1.1.2
|
||||||
resolution: "@medusajs/ui-preset@npm:1.1.2"
|
resolution: "@medusajs/ui-preset@npm:1.1.2"
|
||||||
@@ -5655,7 +5664,7 @@ __metadata:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@mdx-js/loader": ^3.0.0
|
"@mdx-js/loader": ^3.0.0
|
||||||
"@mdx-js/react": ^3.0.0
|
"@mdx-js/react": ^3.0.0
|
||||||
"@medusajs/icons": ^1.2.0
|
"@medusajs/icons": preview
|
||||||
"@medusajs/ui": ^3.0.0
|
"@medusajs/ui": ^3.0.0
|
||||||
"@next/bundle-analyzer": ^14.2.3
|
"@next/bundle-analyzer": ^14.2.3
|
||||||
"@next/mdx": 14.2.3
|
"@next/mdx": 14.2.3
|
||||||
@@ -7235,7 +7244,7 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "docs-ui@workspace:packages/docs-ui"
|
resolution: "docs-ui@workspace:packages/docs-ui"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@medusajs/icons": ^1.2.0
|
"@medusajs/icons": preview
|
||||||
"@medusajs/ui": ^3.0.0
|
"@medusajs/ui": ^3.0.0
|
||||||
"@octokit/request": ^8.1.1
|
"@octokit/request": ^8.1.1
|
||||||
"@react-hook/resize-observer": ^1.2.6
|
"@react-hook/resize-observer": ^1.2.6
|
||||||
@@ -13440,7 +13449,7 @@ eslint-config-next@latest:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@mdx-js/loader": ^3.0.1
|
"@mdx-js/loader": ^3.0.1
|
||||||
"@mdx-js/react": ^3.0.1
|
"@mdx-js/react": ^3.0.1
|
||||||
"@medusajs/icons": ^1.2.0
|
"@medusajs/icons": preview
|
||||||
"@next/mdx": ^14.2.3
|
"@next/mdx": ^14.2.3
|
||||||
"@types/mdx": ^2.0.11
|
"@types/mdx": ^2.0.11
|
||||||
"@types/node": ^20
|
"@types/node": ^20
|
||||||
@@ -15125,7 +15134,7 @@ turbo@latest:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@mdx-js/loader": ^3.0.0
|
"@mdx-js/loader": ^3.0.0
|
||||||
"@mdx-js/react": ^3.0.0
|
"@mdx-js/react": ^3.0.0
|
||||||
"@medusajs/icons": ^1.2.0
|
"@medusajs/icons": preview
|
||||||
"@next/mdx": ^14.2.3
|
"@next/mdx": ^14.2.3
|
||||||
"@types/mdx": ^2.0.10
|
"@types/mdx": ^2.0.10
|
||||||
"@types/node": ^20
|
"@types/node": ^20
|
||||||
|
|||||||
Reference in New Issue
Block a user