boring.tools-poc/apps/website/astro.config.mjs

51 lines
1.3 KiB
JavaScript

import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
export default defineConfig({
server: {
port: 4010,
},
outDir: '../../build/website',
integrations: [
starlight({
title: 'boring.tools',
head: [
{
tag: 'script',
attrs: {
src: 'https://umami.hashdot.co/script.js',
'data-website-id': '78b1d598-5783-4bc5-a414-4319fea1876a',
defer: true,
},
},
],
social: {
github: 'https://github.com/boring-tools/boring.tools',
},
favicon: '/favicon.svg',
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Introduction', slug: 'docs' },
{ label: 'Motivation', slug: 'docs/motivation' },
],
},
{
label: 'Changelog',
items: [
{ label: 'Getting started', slug: 'docs/changelog' },
{ label: 'Features', slug: 'docs/changelog/features' },
],
},
{ label: 'API', link: 'https://api.boring.tools' },
{ label: 'Status', link: 'https://status.boring.tools' },
// {
// label: 'Reference',
// autogenerate: { directory: 'reference' },
// },
],
}),
],
})