docs: prepare configuration (#7877)

* update configuration

* resolve todos + remove events guides

* disable v2 docs in v1 navbar

* remove v2 from v1 mobile sidebar

* resolve build errors

* fix build errors

* fix lint errors

* fix lint
This commit is contained in:
Shahed Nasser
2024-07-03 19:27:13 +03:00
committed by GitHub
parent 012a624ee4
commit 6713d76db3
57 changed files with 2626 additions and 2906 deletions
+76 -76
View File
@@ -65,10 +65,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/api-key/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/api-key/events",
// title: "Events Reference",
// },
],
},
],
@@ -156,10 +156,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/auth/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/auth/events",
// title: "Events Reference",
// },
],
},
],
@@ -224,10 +224,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/cart/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/cart/events",
// title: "Events Reference",
// },
],
},
],
@@ -280,10 +280,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/currency/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/currency/events",
// title: "Events Reference",
// },
],
},
],
@@ -340,10 +340,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/customer/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/customer/events",
// title: "Events Reference",
// },
],
},
],
@@ -417,10 +417,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/fulfillment/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/fulfillment/events",
// title: "Events Reference",
// },
],
},
],
@@ -482,10 +482,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/inventory/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/inventory/events",
// title: "Events Reference",
// },
],
},
],
@@ -558,10 +558,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/order/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/order/events",
// title: "Events Reference",
// },
],
},
],
@@ -657,10 +657,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/payment/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/payment/events",
// title: "Events Reference",
// },
],
},
],
@@ -725,10 +725,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/pricing/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/pricing/events",
// title: "Events Reference",
// },
],
},
],
@@ -781,10 +781,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/product/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/product/events",
// title: "Events Reference",
// },
],
},
],
@@ -853,10 +853,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/promotion/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/promotion/events",
// title: "Events Reference",
// },
],
},
],
@@ -909,10 +909,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/region/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/region/events",
// title: "Events Reference",
// },
],
},
],
@@ -971,10 +971,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/sales-channel/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/sales-channel/events",
// title: "Events Reference",
// },
],
},
],
@@ -1034,10 +1034,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/stock-location/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/stock-location/events",
// title: "Events Reference",
// },
],
},
],
@@ -1090,10 +1090,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/store/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/store/events",
// title: "Events Reference",
// },
],
},
],
@@ -1162,10 +1162,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/tax/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/tax/events",
// title: "Events Reference",
// },
],
},
],
@@ -1222,10 +1222,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
},
],
},
{
path: "/commerce-modules/user/events",
title: "Events Reference",
},
// {
// path: "/commerce-modules/user/events",
// title: "Events Reference",
// },
],
},
],
@@ -2104,10 +2104,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([
path: "/medusa-container-resources",
title: "Medusa Container Resources",
},
{
path: "/events-reference",
title: "Events",
},
// {
// path: "/events-reference",
// title: "Events",
// },
{
path: "/admin-widget-injection-zones",
title: "Admin Widget Injection Zones",