fix: prefix all docu.json routes with /docs to match Next.js app directory structure

This commit is contained in:
Dwindi Ramadhana
2026-02-05 15:22:14 +07:00
parent 3748dad49c
commit 0637bab4ea

View File

@@ -19,7 +19,7 @@
},
{
"title": "Developer Docs",
"href": "/developer"
"href": "/docs/developer"
},
{
"title": "Plugin Site",
@@ -48,7 +48,7 @@
"routes": [
{
"title": "Getting Started",
"href": "/getting-started",
"href": "/docs/getting-started",
"noLink": true,
"context": {
"icon": "Book",
@@ -72,8 +72,8 @@
},
{
"title": "Store Management",
"href": "/store",
"noLink": true,
"href": "/docs/store",
"noLink": false,
"context": {
"icon": "ShoppingBag",
"description": "Orders, Customers, Products",
@@ -82,22 +82,22 @@
"items": [
{
"title": "Orders",
"href": "/store/orders"
"href": "/orders"
},
{
"title": "My Customers (VIP)",
"href": "/store/customers"
"href": "/customers"
},
{
"title": "Products",
"href": "/store/products"
"href": "/products"
}
]
},
{
"title": "Marketing Suite",
"href": "/marketing",
"noLink": true,
"href": "/docs/marketing",
"noLink": false,
"context": {
"icon": "Megaphone",
"description": "Campaigns & Growth",
@@ -106,22 +106,22 @@
"items": [
{
"title": "Newsletter",
"href": "/marketing/newsletter"
"href": "/newsletter"
},
{
"title": "Coupons",
"href": "/marketing/coupons"
"href": "/coupons"
},
{
"title": "Wishlist",
"href": "/marketing/wishlist"
"href": "/wishlist"
}
]
},
{
"title": "Page Builder",
"href": "/builder",
"noLink": true,
"href": "/docs/builder",
"noLink": false,
"context": {
"icon": "Layout",
"description": "Visual Editor & Design",
@@ -130,22 +130,22 @@
"items": [
{
"title": "Visual Editor",
"href": "/builder/visual-editor"
"href": "/visual-editor"
},
{
"title": "Section Components",
"href": "/builder/sections"
"href": "/sections"
},
{
"title": "Special Pages (Shop/Cart)",
"href": "/builder/special-pages"
"href": "/special-pages"
}
]
},
{
"title": "Configuration",
"href": "/configuration",
"noLink": true,
"href": "/docs/configuration",
"noLink": false,
"context": {
"icon": "Settings",
"description": "Setup & Options",
@@ -154,38 +154,38 @@
"items": [
{
"title": "General Settings",
"href": "/configuration/general"
"href": "/general"
},
{
"title": "Appearance (Colors/Type)",
"href": "/configuration/appearance"
"href": "/appearance"
},
{
"title": "Modules",
"href": "/configuration/modules"
"href": "/modules"
},
{
"title": "Email Settings",
"href": "/configuration/email"
"href": "/email"
},
{
"title": "Security",
"href": "/configuration/security"
"href": "/security"
},
{
"title": "Payment & Shipping",
"href": "/configuration/payment-shipping"
"href": "/payment-shipping"
},
{
"title": "Licensing",
"href": "/configuration/licensing"
"href": "/licensing"
}
]
},
{
"title": "Developer Guides",
"href": "/developer",
"noLink": true,
"href": "/docs/developer",
"noLink": false,
"context": {
"icon": "Code",
"description": "Advanced Integration",
@@ -220,7 +220,7 @@
},
{
"title": "Hooks & Filters",
"href": "/hooks",
"href": "/docs/hooks",
"noLink": true,
"context": {
"icon": "Anchor",
@@ -252,7 +252,7 @@
},
{
"title": "Resources",
"href": "/resources",
"href": "/docs/resources",
"noLink": true,
"context": {
"icon": "Box",