31 lines
678 B
JavaScript
31 lines
678 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import starlight from '@astrojs/starlight';
|
|
import devtoolbar from '@astrojs/devtoolbar';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
starlight({
|
|
title: 'My Docs',
|
|
description: 'Your documentation website',
|
|
defaultLocale: 'en',
|
|
locales: {
|
|
en: {
|
|
label: 'English',
|
|
},
|
|
es: {
|
|
label: 'Español',
|
|
},
|
|
},
|
|
sidebar: [
|
|
{
|
|
label: 'Guides',
|
|
items: [
|
|
{ label: 'Getting Started', link: '/guides/getting-started' },
|
|
],
|
|
},
|
|
],
|
|
}),
|
|
devtoolbar(),
|
|
],
|
|
}); |