kicad-mcp/docs-site/astro.config.mjs
Ryan Malloy 7e8d65bc13
Some checks are pending
CI / Lint and Format (push) Waiting to run
CI / Test Python 3.11 on macos-latest (push) Waiting to run
CI / Test Python 3.12 on macos-latest (push) Waiting to run
CI / Test Python 3.13 on macos-latest (push) Waiting to run
CI / Test Python 3.10 on ubuntu-latest (push) Waiting to run
CI / Test Python 3.11 on ubuntu-latest (push) Waiting to run
CI / Test Python 3.12 on ubuntu-latest (push) Waiting to run
CI / Test Python 3.13 on ubuntu-latest (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / Build Package (push) Blocked by required conditions
Add Starlight docs site with full content migration
Astro + Starlight docs site at docs-site/ with 18 pages organized
by diataxis: getting-started (intro, install, config), guides
(9 how-to guides), reference (tools, batch, env vars), development
(architecture, adding tools, troubleshooting).

Includes Docker infrastructure following warehacking cookie-cutter
pattern: multi-stage Dockerfile (Node builder -> Caddy prod / Node
dev), docker-compose with caddy-docker-proxy labels, Makefile.

Content migrated from docs/ markdown guides with Starlight frontmatter,
cross-links updated, and full-text search via Pagefind.
2026-03-09 01:19:45 -06:00

77 lines
2.4 KiB
JavaScript

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 },
});