Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

docs: land on Architecture reference instead of Guides (#1567)

Brad Barbin0f66ce21954b
diff --git a/docs/components/main-header.tsx b/docs/components/main-header.tsx
index 2328d1582d..afa022c4ee 100644
--- a/docs/components/main-header.tsx
+++ b/docs/components/main-header.tsx
@@ -5,8 +5,8 @@ import { SearchCommand } from "./search/search-command";
import { SiteLogo } from "./site-logo";
const NAV = [
- { key: "guides", label: "Guides", href: "/guides/order" },
{ key: "reference", label: "Reference", href: "/docs" },
+ { key: "guides", label: "Guides", href: "/guides/order" },
{ key: "api", label: "API", href: "/api-reference" },
{ key: "mcp", label: "MCP", href: "/mcp" },
] as const;
diff --git a/docs/components/mobile-nav.tsx b/docs/components/mobile-nav.tsx
index a6351a0a01..efdcabe110 100644
--- a/docs/components/mobile-nav.tsx
+++ b/docs/components/mobile-nav.tsx
@@ -25,8 +25,8 @@ import {
import { createPortal } from "react-dom";
const NAV = [
- { key: "guides", label: "Guides", href: "/guides/order" },
{ key: "reference", label: "Reference", href: "/docs" },
+ { key: "guides", label: "Guides", href: "/guides/order" },
{ key: "api", label: "API", href: "/api-reference" },
{ key: "mcp", label: "MCP", href: "/mcp" },
] as const;
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index fc76edf3e4..bab57312cd 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -31,12 +31,12 @@ const config = {
"*.ngrok.app",
"*.ngrok.io",
],
- // Serve the first guide at "/" without changing the URL — a server-side rewrite,
- // not a client/redirect bounce. `beforeFiles` runs ahead of the app router so it
- // takes precedence (app/page.tsx is removed).
+ // Serve the Architecture reference at "/" without changing the URL — a server-side
+ // rewrite, not a client/redirect bounce. `beforeFiles` runs ahead of the app router
+ // so it takes precedence (app/page.tsx is removed).
async rewrites() {
return {
- beforeFiles: [{ source: "/", destination: "/guides/order" }],
+ beforeFiles: [{ source: "/", destination: "/docs/platform/architecture" }],
};
},
// Deployment moved under Self-hosting as the "AWS with SST" recipe; keep the old