finish sidebar changes
This commit is contained in:
1 parent
affd5e83d4
commit
0c71bce1e2
16 files changed
+17605
-17788
No files matched your search
@@ -1,97 +1,15 @@
|
||||
import { apiKeySidebar } from "./sidebars/api-key.mjs"
|
||||
import { architecturalModulesSidebar } from "./sidebars/architectural-modules.mjs"
|
||||
import { authSidebar } from "./sidebars/auth.mjs"
|
||||
import { cartSidebar } from "./sidebars/cart.mjs"
|
||||
import { currencySidebar } from "./sidebars/currency.mjs"
|
||||
import { customerSidebar } from "./sidebars/customer.mjs"
|
||||
import { fulfillmentSidebar } from "./sidebars/fulfillment.mjs"
|
||||
import { integrationsSidebar } from "./sidebars/integrations.mjs"
|
||||
import { pluginsSidebar } from "./sidebars/plugins.mjs"
|
||||
import { inventorySidebar } from "./sidebars/inventory.mjs"
|
||||
import { orderSidebar } from "./sidebars/order-module.mjs"
|
||||
import { paymentSidebar } from "./sidebars/payment.mjs"
|
||||
import { pricingSidebar } from "./sidebars/pricing.mjs"
|
||||
import { productSidebar } from "./sidebars/product.mjs"
|
||||
import { promotionSidebar } from "./sidebars/promotion.mjs"
|
||||
import { recipesSidebar } from "./sidebars/recipes.mjs"
|
||||
import { referencesSidebar } from "./sidebars/references.mjs"
|
||||
import { regionSidebar } from "./sidebars/region.mjs"
|
||||
import { salesChannelSidebar } from "./sidebars/sales-channel.mjs"
|
||||
import { toolsSidebar } from "./sidebars/tools.mjs"
|
||||
import { stockLocationSidebar } from "./sidebars/stock-location.mjs"
|
||||
import { storeSidebar } from "./sidebars/store.mjs"
|
||||
import { storefrontDevelopmentSidebar } from "./sidebars/storefront.mjs"
|
||||
import { taxSidebar } from "./sidebars/tax.mjs"
|
||||
import { troubleshootingSidebar } from "./sidebars/troubleshooting.mjs"
|
||||
import { userSidebar } from "./sidebars/user.mjs"
|
||||
import { examplesSidebar } from "./sidebars/examples.mjs"
|
||||
import { howToTutorialsSidebar } from "./sidebars/how-to-tutorials.mjs"
|
||||
import { commerceModulesSidebar } from "./sidebars/commerce-modules.mjs"
|
||||
|
||||
/** @type {import("types").Sidebar.RawSidebar[]} */
|
||||
export const sidebar = [
|
||||
{
|
||||
sidebar_id: "resources",
|
||||
title: "Development Resources",
|
||||
items: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/",
|
||||
title: "Overview",
|
||||
},
|
||||
...examplesSidebar,
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules",
|
||||
title: "Commerce Modules",
|
||||
hideChildren: true,
|
||||
sort_sidebar: "alphabetize",
|
||||
children: [
|
||||
...apiKeySidebar,
|
||||
...authSidebar,
|
||||
...cartSidebar,
|
||||
...currencySidebar,
|
||||
...customerSidebar,
|
||||
...fulfillmentSidebar,
|
||||
...inventorySidebar,
|
||||
...orderSidebar,
|
||||
...paymentSidebar,
|
||||
...pricingSidebar,
|
||||
...productSidebar,
|
||||
...promotionSidebar,
|
||||
...regionSidebar,
|
||||
...salesChannelSidebar,
|
||||
...stockLocationSidebar,
|
||||
...storeSidebar,
|
||||
...taxSidebar,
|
||||
...userSidebar,
|
||||
],
|
||||
},
|
||||
...architecturalModulesSidebar,
|
||||
...pluginsSidebar,
|
||||
{
|
||||
type: "separator",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "General",
|
||||
children: [...troubleshootingSidebar],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Admin",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/admin-widget-injection-zones",
|
||||
title: "Admin Widget Injection Zones",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
sidebar_id: "recipes",
|
||||
title: "Recipes",
|
||||
@@ -122,4 +40,19 @@ export const sidebar = [
|
||||
title: "References",
|
||||
items: referencesSidebar,
|
||||
},
|
||||
{
|
||||
sidebar_id: "commerce-modules",
|
||||
title: "Commerce Modules",
|
||||
items: commerceModulesSidebar,
|
||||
},
|
||||
{
|
||||
sidebar_id: "architectural-modules",
|
||||
title: "Architectural Modules",
|
||||
items: architecturalModulesSidebar,
|
||||
},
|
||||
{
|
||||
sidebar_id: "troubleshooting",
|
||||
title: "Troubleshooting",
|
||||
items: troubleshootingSidebar,
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user