import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; export default defineConfig({ site: "https://mckicad.warehack.ing", integrations: [ starlight({ title: "mckicad", description: "MCP server for KiCad electronic design automation", social: [ { icon: "github", label: "Source", href: "https://git.supported.systems/MCP/kicad-mcp", }, ], editLink: { baseUrl: "https://git.supported.systems/MCP/kicad-mcp/_edit/main/docs-site/", }, customCss: ["./src/styles/custom.css"], sidebar: [ { label: "Getting Started", items: [ { label: "Introduction", slug: "getting-started" }, { label: "Installation", slug: "getting-started/installation" }, { label: "Configuration", slug: "getting-started/configuration" }, ], }, { label: "Guides", items: [ { label: "Project Management", slug: "guides/projects" }, { label: "Schematic Patterns", slug: "guides/patterns" }, { label: "Autowiring", slug: "guides/autowire" }, { label: "Netlist Import", slug: "guides/netlist" }, { label: "BOM Management", slug: "guides/bom" }, { label: "Design Rule Checks", slug: "guides/drc" }, { label: "Board Analysis", slug: "guides/analysis" }, { label: "Export & Manufacturing", slug: "guides/export" }, { label: "Prompt Templates", slug: "guides/prompts" }, ], }, { label: "Reference", items: [ { label: "Tool Reference", slug: "reference/tools" }, { label: "Batch Operations", slug: "reference/batch" }, { label: "Environment Variables", slug: "reference/environment" }, ], }, { label: "Development", items: [ { label: "Architecture", slug: "development/architecture" }, { label: "Adding Tools", slug: "development/adding-tools" }, { label: "Troubleshooting", slug: "development/troubleshooting" }, ], }, ], head: [ { tag: "meta", attrs: { name: "robots", content: "index, follow", }, }, ], }), ], telemetry: false, devToolbar: { enabled: false }, });