// @ts-check import { defineConfig } from 'astro/config' import starlight from '@astrojs/starlight' // https://astro.build/config export default defineConfig({ integrations: [ starlight({ title: 'WCB', social: { npm: 'https://www.npmjs.com/package/web-component-base', sourcehut: 'https://sr.ht/~ayoayco/wcb/', }, sidebar: [ { label: 'Guides', items: [ // Each item here is one entry in the navigation menu. { label: 'Getting Started', slug: 'guides' }, { label: 'Why?', slug: 'why' }, ], }, { label: 'Reference', autogenerate: { directory: 'reference' }, }, ], }), ], })