Files
Homepage/astro.config.mjs
2024-01-25 11:31:55 +08:00

29 lines
596 B
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'ch4o5.me',
description: '乱世之牙',
social: {
github: 'https://github.com/DongyunLee',
},
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});