feat(docs): configure Starlight site with Catppuccin theme

This commit is contained in:
2026-07-25 22:59:11 -04:00
parent a4054de4f6
commit 3bb534f20b
2 changed files with 45 additions and 21 deletions
+17 -21
View File
@@ -1,26 +1,22 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sidebar from './src/sidebar.json' with { type: 'json' };
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
],
},
{
label: 'Reference',
items: [{ autogenerate: { directory: 'reference' } }],
},
],
}),
],
site: 'https://fish-config.pages.dev',
integrations: [
starlight({
title: 'Fish Config',
description: 'Reference manual for the rootiest fish configuration.',
social: [
{
icon: 'code-branch',
label: 'Gitea',
href: 'https://git.rootiest.dev/rootiest/fish-config',
},
],
customCss: ['./src/styles/catppuccin.css'],
sidebar,
}),
],
});