From ad81dd1dcd2b4966e3b5f1acb1565b5d369a558b Mon Sep 17 00:00:00 2001 From: Ligia Zanchet Date: Mon, 9 Mar 2026 17:39:40 +0100 Subject: [PATCH] docs: promote KiloClaw to its own top-level docs section Move KiloClaw docs from /automate/kiloclaw/* to /kiloclaw/* and add it as a standalone nav entry in the top bar and side nav, adjacent to Kilo Gateway. Adds permanent redirects for all old paths. --- packages/kilo-docs/components/SideNav.tsx | 2 + packages/kilo-docs/components/TopNav.tsx | 1 + packages/kilo-docs/lib/nav/automate.ts | 22 ---------- packages/kilo-docs/lib/nav/index.ts | 2 + packages/kilo-docs/lib/nav/kiloclaw.ts | 16 +++++++ .../{automate => }/kiloclaw/chat-platforms.md | 0 .../{automate => }/kiloclaw/control-ui.md | 0 .../{automate => }/kiloclaw/dashboard.md | 0 .../pages/{automate => }/kiloclaw/overview.md | 0 .../kiloclaw/pre-installed-software.md | 0 .../pages/{automate => }/kiloclaw/pricing.md | 0 .../kiloclaw/troubleshooting.md | 0 packages/kilo-docs/previous-docs-redirects.js | 44 ++++++++++++++++++- 13 files changed, 64 insertions(+), 23 deletions(-) create mode 100644 packages/kilo-docs/lib/nav/kiloclaw.ts rename packages/kilo-docs/pages/{automate => }/kiloclaw/chat-platforms.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/control-ui.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/dashboard.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/overview.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/pre-installed-software.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/pricing.md (100%) rename packages/kilo-docs/pages/{automate => }/kiloclaw/troubleshooting.md (100%) diff --git a/packages/kilo-docs/components/SideNav.tsx b/packages/kilo-docs/components/SideNav.tsx index 988d711504..c065589cad 100644 --- a/packages/kilo-docs/components/SideNav.tsx +++ b/packages/kilo-docs/components/SideNav.tsx @@ -16,6 +16,7 @@ const sectionNavItems: SectionNav = { contributing: Nav.ContributingNav, "ai-providers": Nav.AiProvidersNav, gateway: Nav.GatewayNav, + kiloclaw: Nav.KiloClawNav, } // Main nav items with their section keys @@ -28,6 +29,7 @@ const mainNavItems = [ { label: "Automate", href: "/automate", sectionKey: "automate" }, { label: "Deploy & Secure", href: "/deploy-secure", sectionKey: "deploy-secure" }, { label: "AI Gateway", href: "/gateway", sectionKey: "gateway" }, + { label: "KiloClaw", href: "/kiloclaw/overview", sectionKey: "kiloclaw" }, { label: "Contributing", href: "/contributing", sectionKey: "contributing" }, ] diff --git a/packages/kilo-docs/components/TopNav.tsx b/packages/kilo-docs/components/TopNav.tsx index dbc0d077d3..f3303ce58f 100644 --- a/packages/kilo-docs/components/TopNav.tsx +++ b/packages/kilo-docs/components/TopNav.tsx @@ -31,6 +31,7 @@ const mainNavItems: NavItem[] = [ { label: "Automate", href: "/automate" }, { label: "Deploy & Secure", href: "/deploy-secure" }, { label: "Kilo Gateway", href: "/gateway" }, + { label: "KiloClaw", href: "/kiloclaw/overview" }, { label: "Contributing", href: "/contributing" }, ] diff --git a/packages/kilo-docs/lib/nav/automate.ts b/packages/kilo-docs/lib/nav/automate.ts index 53103201a9..e8ae1c02a8 100644 --- a/packages/kilo-docs/lib/nav/automate.ts +++ b/packages/kilo-docs/lib/nav/automate.ts @@ -16,28 +16,6 @@ export const AutomateNav: NavSection[] = [ ], }, { href: "/automate/agent-manager", children: "Agent Manager" }, - { - href: "/automate/kiloclaw/overview", - children: "KiloClaw", - subLinks: [ - { href: "/automate/kiloclaw/overview", children: "Overview" }, - { href: "/automate/kiloclaw/dashboard", children: "Dashboard" }, - { - href: "/automate/kiloclaw/pre-installed-software", - children: "Pre-installed Software", - }, - { href: "/automate/kiloclaw/control-ui", children: "Control UI" }, - { - href: "/automate/kiloclaw/chat-platforms", - children: "Chat Platforms", - }, - { - href: "/automate/kiloclaw/troubleshooting", - children: "Troubleshooting", - }, - { href: "/automate/kiloclaw/pricing", children: "Pricing" }, - ], - }, ], }, { diff --git a/packages/kilo-docs/lib/nav/index.ts b/packages/kilo-docs/lib/nav/index.ts index e0514ac71a..abfaef686d 100644 --- a/packages/kilo-docs/lib/nav/index.ts +++ b/packages/kilo-docs/lib/nav/index.ts @@ -7,6 +7,7 @@ import { CustomizeNav } from "./customize" import { DeploySecureNav } from "./deploy-secure" import { GatewayNav } from "./gateway" import { GettingStartedNav } from "./getting-started" +import { KiloClawNav } from "./kiloclaw" import { ToolsNav } from "./tools" export const Nav = { @@ -19,5 +20,6 @@ export const Nav = { ContributingNav, AiProvidersNav, GatewayNav, + KiloClawNav, ToolsNav, } diff --git a/packages/kilo-docs/lib/nav/kiloclaw.ts b/packages/kilo-docs/lib/nav/kiloclaw.ts new file mode 100644 index 0000000000..911e2f339e --- /dev/null +++ b/packages/kilo-docs/lib/nav/kiloclaw.ts @@ -0,0 +1,16 @@ +import { NavSection } from "../types" + +export const KiloClawNav: NavSection[] = [ + { + title: "KiloClaw", + links: [ + { href: "/kiloclaw/overview", children: "Overview" }, + { href: "/kiloclaw/dashboard", children: "Dashboard" }, + { href: "/kiloclaw/pre-installed-software", children: "Pre-installed Software" }, + { href: "/kiloclaw/control-ui", children: "Control UI" }, + { href: "/kiloclaw/chat-platforms", children: "Chat Platforms" }, + { href: "/kiloclaw/troubleshooting", children: "Troubleshooting" }, + { href: "/kiloclaw/pricing", children: "Pricing" }, + ], + }, +] diff --git a/packages/kilo-docs/pages/automate/kiloclaw/chat-platforms.md b/packages/kilo-docs/pages/kiloclaw/chat-platforms.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/chat-platforms.md rename to packages/kilo-docs/pages/kiloclaw/chat-platforms.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/control-ui.md b/packages/kilo-docs/pages/kiloclaw/control-ui.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/control-ui.md rename to packages/kilo-docs/pages/kiloclaw/control-ui.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/dashboard.md b/packages/kilo-docs/pages/kiloclaw/dashboard.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/dashboard.md rename to packages/kilo-docs/pages/kiloclaw/dashboard.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/overview.md b/packages/kilo-docs/pages/kiloclaw/overview.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/overview.md rename to packages/kilo-docs/pages/kiloclaw/overview.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/pre-installed-software.md b/packages/kilo-docs/pages/kiloclaw/pre-installed-software.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/pre-installed-software.md rename to packages/kilo-docs/pages/kiloclaw/pre-installed-software.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/pricing.md b/packages/kilo-docs/pages/kiloclaw/pricing.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/pricing.md rename to packages/kilo-docs/pages/kiloclaw/pricing.md diff --git a/packages/kilo-docs/pages/automate/kiloclaw/troubleshooting.md b/packages/kilo-docs/pages/kiloclaw/troubleshooting.md similarity index 100% rename from packages/kilo-docs/pages/automate/kiloclaw/troubleshooting.md rename to packages/kilo-docs/pages/kiloclaw/troubleshooting.md diff --git a/packages/kilo-docs/previous-docs-redirects.js b/packages/kilo-docs/previous-docs-redirects.js index f36c78e416..5884965dbf 100644 --- a/packages/kilo-docs/previous-docs-redirects.js +++ b/packages/kilo-docs/previous-docs-redirects.js @@ -1,7 +1,49 @@ module.exports = [ { source: "/docs/automate/kiloclaw", - destination: "/docs/automate/kiloclaw/overview", + destination: "/docs/kiloclaw/overview", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/overview", + destination: "/docs/kiloclaw/overview", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/dashboard", + destination: "/docs/kiloclaw/dashboard", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/pre-installed-software", + destination: "/docs/kiloclaw/pre-installed-software", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/control-ui", + destination: "/docs/kiloclaw/control-ui", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/chat-platforms", + destination: "/docs/kiloclaw/chat-platforms", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/troubleshooting", + destination: "/docs/kiloclaw/troubleshooting", + basePath: false, + permanent: true, + }, + { + source: "/docs/automate/kiloclaw/pricing", + destination: "/docs/kiloclaw/pricing", basePath: false, permanent: true, },