From 33cdb47b596c09eee903fd68764ab0c7f1ef1913 Mon Sep 17 00:00:00 2001 From: seveibar Date: Thu, 1 Oct 2026 23:58:47 -0700 Subject: [PATCH] docs: replace ChatGPT quickstart listing with AI guide --- docs/intro/quickstart-ChatGPT.mdx | 1 + docusaurus.config.ts | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/intro/quickstart-ChatGPT.mdx b/docs/intro/quickstart-ChatGPT.mdx index defc311c..bc4fb445 100644 --- a/docs/intro/quickstart-ChatGPT.mdx +++ b/docs/intro/quickstart-ChatGPT.mdx @@ -3,6 +3,7 @@ title: Quickstart ChatGPT ai_start: true description: Preview and iterate on tscircuit designs directly inside ChatGPT using a small CDN bundle and a simple repo convention. sidebar_position: 5 +unlisted: true --- ### Configuring ChatGPT diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 42167bed..f5eaf747 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -47,11 +47,30 @@ const config: Config = { ], ], sidebarPath: "./sidebars.ts", - sidebarItemsGenerator: ({ defaultSidebarItemsGenerator, ...args }) => - defaultSidebarItemsGenerator({ + sidebarItemsGenerator: async ({ + defaultSidebarItemsGenerator, + ...args + }) => { + const items = await defaultSidebarItemsGenerator({ ...args, docs: args.docs.filter((doc) => !doc.frontMatter.unlisted), - }), + }) + return items.map((item) => + item.type === "category" && item.label === "Intro" + ? { + ...item, + items: [ + ...item.items, + { + type: "link", + label: "Quickstart AI", + href: "/guides/circuit-generation/generating-circuit-boards-with-ai", + }, + ], + } + : item, + ) + }, routeBasePath: "/", // Serve docs at root editUrl: "https://github.com/tscircuit/docs/tree/main/", breadcrumbs: false,