Files
moeka-project/docs/astro.config.ts
T
藍+85CD 0bfd6d6cf6 chore(docs): remove ico from head, remove houston (#92)
* chore(docs): remove ico from head

* chore(docs): remove houston
2025-03-24 15:51:08 +08:00

47 lines
1.3 KiB
TypeScript

import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
// https://astro.build/config
export default defineConfig({
site: 'https://airi.build',
integrations: [
starlight({
title: 'Project Airi',
logo: {
light: './src/assets/logo.svg',
dark: './src/assets/logo-dark.svg',
},
social: {
github: 'https://github.com/moeru-ai/airi',
},
components: {
Head: './src/components/starlight/Head.astro',
},
sidebar: [
{
label: 'Guides',
autogenerate: { directory: 'guides' },
},
{
label: 'References',
autogenerate: { directory: 'references' },
},
{
label: 'Blog',
autogenerate: { directory: 'blog' },
},
],
head: [
{ tag: 'link', attrs: { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg', sizes: 'any' } },
{ tag: 'link', attrs: { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' } },
{ tag: 'meta', attrs: { name: 'apple-mobile-web-app-title', content: 'Airi' } },
{ tag: 'link', attrs: { ref: 'manifest', href: '/site.webmanifest' } },
],
customCss: [
'./src/styles/custom.css',
'@fontsource/quicksand/300.css',
],
}),
],
})