-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
40 lines (39 loc) · 1.16 KB
/
astro.config.mjs
File metadata and controls
40 lines (39 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// @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://allagents.dev',
// Use noop image service to avoid requiring sharp for image optimization
image: { service: { entrypoint: 'astro/assets/services/noop' } },
vite: {
plugins: [tailwindcss()],
},
integrations: [
starlight({
title: 'AllAgents',
disable404Route: true,
description: 'CLI tool for managing AI coding assistant plugins across multiple clients.',
favicon: '/favicon.svg',
customCss: ['./src/styles/custom.css'],
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/EntityProcess/allagents' },
],
sidebar: [
{
label: 'Getting Started',
autogenerate: { directory: 'docs/getting-started' },
},
{
label: 'Guides',
autogenerate: { directory: 'docs/guides' },
},
{
label: 'Reference',
autogenerate: { directory: 'docs/reference' },
},
],
}),
],
});