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: incorrect link fixes #8868

Merged
merged 1 commit into from
Aug 29, 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
18 changes: 9 additions & 9 deletions www/apps/resources/app/recipes/b2b/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can create a sales channel through the Medusa Admin or Admin REST APIs.
}
},
{
href: "!api!/api/admin#sales-channels_postsaleschannels",
href: "!api!/admin#sales-channels_postsaleschannels",
title: "Option 2: Using the REST APIs",
text: "Create the sales channel using the REST APIs.",
icon: AcademicCapSolid,
Expand Down Expand Up @@ -79,7 +79,7 @@ You can create a publishable API key through the Medusa Admin or the Admin REST
}
},
{
href: "!api!/api/admin#api-keys_postapikeys",
href: "!api!/admin#api-keys_postapikeys",
title: "Option 2: Using the REST APIs",
text: "Create the publishable API key using the REST APIs.",
icon: AcademicCapSolid,
Expand Down Expand Up @@ -131,7 +131,7 @@ You can create new products or add existing ones to the B2B sales channel using
}
},
{
href: "!api!/api/admin#products_postproducts",
href: "!api!/admin#products_postproducts",
title: "Using REST APIs",
text: "Create products using the REST APIs.",
icon: AcademicCapSolid,
Expand All @@ -154,7 +154,7 @@ You can create new products or add existing ones to the B2B sales channel using
}
},
{
href: "!api!/api/admin#sales-channels_postsaleschannelsidproductsbatchadd",
href: "!api!/admin#sales-channels_postsaleschannelsidproductsbatchadd",
title: "Using REST APIs",
text: "Add the products to the B2B sales channel using the REST APIs.",
icon: AcademicCapSolid,
Expand Down Expand Up @@ -455,7 +455,7 @@ export const workflowHighlights = [
npm run dev
```

Next, make sure you authenticate as an admin user as explained in [this Authentication guide](!api!/api/admin#authentication).
Next, make sure you authenticate as an admin user as explained in [this Authentication guide](!api!/admin#authentication).

Then, send a `POST` request to the `/admin/b2b/company` API route:

Expand Down Expand Up @@ -505,7 +505,7 @@ You can do that through the Medusa Admin or Admin REST APIs.
}
},
{
href: "!api!/api/admin#customers_postcustomers",
href: "!api!/admin#customers_postcustomers",
title: "Option 2: Using the REST APIs",
text: "Create the customers using the REST APIs.",
icon: AcademicCapSolid,
Expand All @@ -528,7 +528,7 @@ You can do that through the Medusa Admin or Admin REST APIs.
}
},
{
href: "!api!/api/admin#customer-groups_postcustomergroupsidcustomersbatch",
href: "!api!/admin#customer-groups_postcustomergroupsidcustomersbatch",
title: "Option 2: Using the REST APIs",
text: "Assign the customers to the B2B customer group using the REST APIs.",
icon: AcademicCapSolid,
Expand Down Expand Up @@ -557,7 +557,7 @@ You can create a price list using the Medusa Admin or the Admin REST APIs. Make
}
},
{
href: "!api!/api/admin#price-lists_postpricelists",
href: "!api!/admin#price-lists_postpricelists",
title: "Using REST APIs",
text: "Create the price list using the REST APIs.",
icon: AcademicCapSolid,
Expand Down Expand Up @@ -767,7 +767,7 @@ Use the publishable API key you associated with your B2B sales channel in the st
]} />

<Card
href="!api!/api/store#publishable-api-key"
href="!api!/store#publishable-api-key"
title="Use Publishable API Keys"
text="Learn how to use the publishable API key in client requests."
icon={AcademicCapSolid}
Expand Down
2 changes: 1 addition & 1 deletion www/apps/resources/generated/edit-dates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const generatedEditDates = {
"app/medusa-container-resources/page.mdx": "2024-08-05T07:24:27+00:00",
"app/medusa-workflows-reference/page.mdx": "2024-08-15T12:13:13+03:00",
"app/nextjs-starter/page.mdx": "2024-07-01T10:21:19+03:00",
"app/recipes/b2b/page.mdx": "2024-07-03T19:27:13+03:00",
"app/recipes/b2b/page.mdx": "2024-08-29T09:23:12.736Z",
"app/recipes/commerce-automation/page.mdx": "2024-08-05T07:24:27+00:00",
"app/recipes/digital-products/examples/standard/page.mdx": "2024-08-16T09:28:31+03:00",
"app/recipes/digital-products/page.mdx": "2024-08-02T13:02:06+00:00",
Expand Down
16 changes: 12 additions & 4 deletions www/apps/resources/generated/sidebar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ export const generatedSidebar = [
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/inventory_next",
"path": "/references/inventory-next",
"title": "Main Service Reference",
"isChildSidebar": true,
"childSidebarTitle": "Inventory Module's Main Service Reference",
Expand Down Expand Up @@ -2614,7 +2614,7 @@ export const generatedSidebar = [
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/inventory_next/models",
"path": "/references/inventory-next/models",
"title": "Data Models Reference",
"isChildSidebar": true,
"childSidebarTitle": "Inventory Module Data Models Reference",
Expand Down Expand Up @@ -6537,7 +6537,7 @@ export const generatedSidebar = [
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/stock-location",
"path": "/references/stock-location-next",
"title": "Main Service Reference",
"isChildSidebar": true,
"childSidebarTitle": "Stock Location Module's Main Service Reference",
Expand Down Expand Up @@ -6629,7 +6629,7 @@ export const generatedSidebar = [
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/references/stock-location/models",
"path": "/references/stock-location-next/models",
"title": "Data Models Reference",
"isChildSidebar": true,
"childSidebarTitle": "Stock Location Module Data Models Reference",
Expand Down Expand Up @@ -7495,6 +7495,14 @@ export const generatedSidebar = [
"path": "/recipes/marketplace/examples/vendors",
"title": "Example: Vendors",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/recipes/marketplace/examples/restaurant-delivery",
"title": "Example: Restaurant-Delivery",
"children": []
}
]
},
Expand Down
13 changes: 9 additions & 4 deletions www/apps/resources/sidebar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
children: [
{
type: "link",
path: "/references/inventory_next",
path: "/references/inventory-next",
title: "Main Service Reference",
isChildSidebar: true,
childSidebarTitle: "Inventory Module's Main Service Reference",
Expand All @@ -575,7 +575,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
{
type: "link",
path: "/references/inventory_next/models",
path: "/references/inventory-next/models",
title: "Data Models Reference",
isChildSidebar: true,
childSidebarTitle: "Inventory Module Data Models Reference",
Expand Down Expand Up @@ -1247,7 +1247,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
children: [
{
type: "link",
path: "/references/stock-location",
path: "/references/stock-location-next",
title: "Main Service Reference",
isChildSidebar: true,
childSidebarTitle:
Expand All @@ -1263,7 +1263,7 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
{
type: "link",
path: "/references/stock-location/models",
path: "/references/stock-location-next/models",
title: "Data Models Reference",
isChildSidebar: true,
childSidebarTitle:
Expand Down Expand Up @@ -1571,6 +1571,11 @@ export const sidebar = sidebarAttachHrefCommonOptions([
path: "/recipes/marketplace/examples/vendors",
title: "Example: Vendors",
},
{
type: "link",
path: "/recipes/marketplace/examples/restaurant-delivery",
title: "Example: Restaurant-Delivery",
},
],
},
{
Expand Down
Loading