// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; export default defineConfig({ site: 'https://mcghidra.warehack.ing', devToolbar: { enabled: false }, integrations: [ starlight({ title: 'MCGhidra', tagline: 'Reverse engineering bridge between Ghidra and MCP', description: 'Multi-instance Ghidra plugin with HATEOAS REST API and MCP server for decompilation, analysis, and binary manipulation.', social: [ { icon: 'external', label: 'Gitea', href: 'https://git.supported.systems/MCP/mcghidra' }, { icon: 'external', label: 'PyPI', href: 'https://pypi.org/project/mcghidra/' }, ], customCss: ['./src/styles/custom.css'], editLink: { baseUrl: 'https://git.supported.systems/MCP/mcghidra/_edit/main/docs-site/', }, head: [ { tag: 'meta', attrs: { name: 'theme-color', content: '#c85533', }, }, ], sidebar: [ { label: 'Getting Started', items: [ { label: 'Overview', slug: 'getting-started/overview' }, { label: 'Installation', slug: 'getting-started/installation' }, ], }, { label: 'Guides', items: [ { label: 'Analysis Workflows', slug: 'guides/workflows' }, { label: 'Cursor Pagination', slug: 'guides/cursor-pagination' }, { label: 'Troubleshooting', slug: 'guides/troubleshooting' }, ], }, { label: 'Reference', collapsed: true, items: [ { label: 'MCP Tools', slug: 'reference/mcp-tools' }, { label: 'MCP Resources', slug: 'reference/resources' }, { label: 'REST API', slug: 'reference/rest-api' }, { label: 'Configuration', slug: 'reference/configuration' }, { label: 'Docker Usage', slug: 'reference/docker' }, ], }, { label: 'Concepts', collapsed: true, items: [ { label: 'Architecture', slug: 'concepts/architecture' }, { label: 'Prior Art', slug: 'concepts/prior-art' }, ], }, { label: 'About', collapsed: true, items: [ { label: 'Changelog', slug: 'about/changelog' }, ], }, ], }), ], });