Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix build errors + update medusa docs link #8550

Merged
merged 4 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/apps/api-reference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@mdx-js/loader": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"@medusajs/icons": "^1.2.0",
"@medusajs/icons": "preview",
"@medusajs/ui": "^3.0.0",
"@next/mdx": "14.2.3",
"@readme/openapi-parser": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions www/apps/resources/app/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Explore Medusa's commerce modules, SDKs, configurations, recipes, and more.

<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>

Expand Down Expand Up @@ -165,4 +165,4 @@ Follow the [Medusa Book](https://medusa-docs-v2-git-docs-v2-medusajs.vercel.app)
href: "/nextjs-starter",
showLinkIcon: false
},
]} />
]} />
2 changes: 1 addition & 1 deletion www/apps/resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@medusajs/icons": "^1.2.0",
"@medusajs/icons": "preview",
"@next/mdx": "^14.2.3",
"clsx": "^2.1.0",
"docs-ui": "*",
Expand Down
4 changes: 2 additions & 2 deletions www/apps/user-guide/app/page.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BellAlert, Sidebar } from "@medusajs/icons"
import { BellAlert, SidebarLeft } from "@medusajs/icons"

export const metadata = {
title: `Medusa Admin User Guide`,
Expand Down Expand Up @@ -40,7 +40,7 @@ The sidebar menu includes the main navigation of your Medusa Admin. You can use

![Sidebar Menu](https://res.cloudinary.com/dza7lstvk/image/upload/v1697793775/Medusa%20Docs/User%20Guide/Screenshot_2023-10-20_at_12.22.43_PM_shbr0e.png)

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

Expand Down
2 changes: 1 addition & 1 deletion www/apps/user-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@mdx-js/loader": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"@medusajs/icons": "^1.2.0",
"@medusajs/icons": "preview",
"@next/mdx": "^14.2.3",
"clsx": "^2.1.0",
"docs-ui": "*",
Expand Down
2 changes: 1 addition & 1 deletion www/packages/docs-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@medusajs/icons": "^1.2.0",
"@medusajs/icons": "preview",
"@medusajs/ui": "^3.0.0",
"@octokit/request": "^8.1.1",
"@react-hook/resize-observer": "^1.2.6",
Expand Down
17 changes: 13 additions & 4 deletions www/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,15 @@ __metadata:
languageName: node
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":
version: 1.1.2
resolution: "@medusajs/ui-preset@npm:1.1.2"
Expand Down Expand Up @@ -5655,7 +5664,7 @@ __metadata:
dependencies:
"@mdx-js/loader": ^3.0.0
"@mdx-js/react": ^3.0.0
"@medusajs/icons": ^1.2.0
"@medusajs/icons": preview
"@medusajs/ui": ^3.0.0
"@next/bundle-analyzer": ^14.2.3
"@next/mdx": 14.2.3
Expand Down Expand Up @@ -7235,7 +7244,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "docs-ui@workspace:packages/docs-ui"
dependencies:
"@medusajs/icons": ^1.2.0
"@medusajs/icons": preview
"@medusajs/ui": ^3.0.0
"@octokit/request": ^8.1.1
"@react-hook/resize-observer": ^1.2.6
Expand Down Expand Up @@ -13440,7 +13449,7 @@ eslint-config-next@latest:
dependencies:
"@mdx-js/loader": ^3.0.1
"@mdx-js/react": ^3.0.1
"@medusajs/icons": ^1.2.0
"@medusajs/icons": preview
"@next/mdx": ^14.2.3
"@types/mdx": ^2.0.11
"@types/node": ^20
Expand Down Expand Up @@ -15125,7 +15134,7 @@ turbo@latest:
dependencies:
"@mdx-js/loader": ^3.0.0
"@mdx-js/react": ^3.0.0
"@medusajs/icons": ^1.2.0
"@medusajs/icons": preview
"@next/mdx": ^14.2.3
"@types/mdx": ^2.0.10
"@types/node": ^20
Expand Down
Loading