Files
claudekit/website/astro.config.mjs
T

74 lines
2.4 KiB
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
site: 'https://duthaho.github.io',
base: '/claudekit',
integrations: [
starlight({
title: 'Claude Kit',
description: 'The development-workflow plugin for Claude Code. 35 skills organized around a 6-phase workflow (Think → Review → Build → Ship → Maintain → Setup), 24 agents, 7 modes. Free forever.',
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/duthaho/claudekit' }
],
logo: {
light: './src/assets/logo-light.svg',
dark: './src/assets/logo-dark.svg',
replacesTitle: true,
},
head: [
{
tag: 'meta',
attrs: {
property: 'og:image',
content: 'https://duthaho.github.io/claudekit/og-image.png',
},
},
],
customCss: [
'./src/styles/custom.css',
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Introduction', slug: 'getting-started/introduction' },
{ label: 'Installation', slug: 'getting-started/installation' },
{ label: 'Configuration', slug: 'getting-started/configuration' },
],
},
{
label: 'Workflows',
items: [
{ label: 'Planning & Building', slug: 'workflows/planning-and-building' },
{ label: 'Testing & Debugging', slug: 'workflows/testing-and-debugging' },
{ label: 'Reviewing & Shipping', slug: 'workflows/reviewing-and-shipping' },
],
},
{
label: 'Reference',
items: [
{ label: 'Skills', slug: 'reference/skills' },
{ label: 'Agents', slug: 'reference/agents' },
{ label: 'Modes', slug: 'reference/modes' },
{ label: 'MCP Servers', slug: 'reference/mcp-servers' },
],
},
{
label: 'Customization',
items: [
{ label: 'Creating Skills', slug: 'customization/creating-skills' },
{ label: 'Creating Agents & Modes', slug: 'customization/creating-agents-and-modes' },
],
},
],
}),
],
vite: {
plugins: [tailwindcss()],
},
});