37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
import { defineConfig } from 'astro/config';
|
|
import starlight from '@astrojs/starlight';
|
|
import tailwind from '@astrojs/tailwind';
|
|
|
|
import svelte from "@astrojs/svelte";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [starlight({
|
|
title: 'Docs with Tailwind',
|
|
logo: {
|
|
light: '/src/assets/logo_dark.svg',
|
|
dark: '/src/assets/logo_light.svg',
|
|
replacesTitle: true
|
|
},
|
|
social: {
|
|
github: 'https://github.com/flomp/wanderer'
|
|
},
|
|
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'
|
|
}
|
|
}],
|
|
customCss: ['./src/tailwind.css', '@fontsource/ibm-plex-sans/400.css', '@fontsource/ibm-plex-sans/600.css', '@fontsource/ibm-plex-mono/400.css', '@fontsource/ibm-plex-mono/600.css']
|
|
}), tailwind({
|
|
applyBaseStyles: false
|
|
}), svelte()]
|
|
}); |