diff --git a/docs/meta.json b/docs/meta.json index d4354a1..023bbb6 100644 --- a/docs/meta.json +++ b/docs/meta.json @@ -13,10 +13,16 @@ "onboard-new-team-members", "global-settings", "security", + "device-management", "---MCP Server---", "mcp-catalog", "mcp-installation", "mcp-categories", + "mcp-admin-schema-workflow", + "---MCP Server Configuration---", + "mcp-configuration", + "mcp-team-installation", + "mcp-user-configuration", "---Administration---", "auth", "github-application", diff --git a/lib/source.ts b/lib/source.ts index c4606e0..ae3b9fb 100644 --- a/lib/source.ts +++ b/lib/source.ts @@ -1,8 +1,4 @@ -// The .source alias will be generated by 'fumadocs-mdx' postinstall script -// or when you run `next dev`. -// If TypeScript complains about '@/.source', you might need to run `npm run postinstall` -// or `npm run dev` once to generate it. -import { docs } from '../.source/index'; +import { docs } from '../.source'; import { loader } from 'fumadocs-core/source'; import { icons } from 'lucide-react'; import { createElement } from 'react'; @@ -28,7 +24,11 @@ function createIconHandler() { } // Filter docs into separate sections -const allDocs = docs.docs; +type Doc = (typeof docs.docs)[number]; +const allDocs = docs.docs.map((doc: Doc) => ({ + ...doc, + title: doc.sidebar ?? doc.title, +})); const allMeta = docs.meta; // Main docs (include all files for complete control via meta.json) diff --git a/next-env.d.ts b/next-env.d.ts index 1b3be08..830fb59 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/package-lock.json b/package-lock.json index 63fbfd6..d56460c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -175,18 +175,6 @@ "node": ">=4" } }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/@emnapi/runtime": { "version": "1.4.5", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.5.tgz", @@ -13316,21 +13304,6 @@ "dev": true, "license": "MIT" }, - "node_modules/uglify-js": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", - "dev": true, - "license": "BSD-2-Clause", - "optional": true, - "peer": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/undici-types": { "version": "7.10.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",