Files
deardiary/docs/astro.config.mjs

42 lines
1.2 KiB
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'DearDiary',
description: 'AI-Powered Daily Journal - Self-hosted journaling app where users capture events throughout the day and AI generates diary pages.',
logo: {
light: './src/assets/logo-light.svg',
dark: './src/assets/logo-dark.svg',
replacesTitle: true,
},
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/lotherk/deardiary' },
],
editLink: {
baseUrl: 'https://github.com/lotherk/deardiary/edit/main/',
},
sidebar: [
{
label: 'Getting Started',
autogenerate: { directory: 'getting-started' },
},
{
label: 'Features',
autogenerate: { directory: 'features' },
},
{
label: 'API Reference',
autogenerate: { directory: 'api' },
},
{
label: 'Deployment',
autogenerate: { directory: 'deployment' },
},
],
customCss: ['./src/styles/custom.css'],
}),
],
});