feat(add doc): add document to project

This commit is contained in:
thomas
2023-09-16 21:56:31 +02:00
parent eb66528720
commit c8fd152923
15 changed files with 6768 additions and 0 deletions

29
docs/astro.config.mjs Normal file
View File

@@ -0,0 +1,29 @@
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: {
github: 'https://github.com/withastro/starlight',
},
sidebar: [
{
label: 'Guides',
items: [{ label: 'Example Guide', link: '/guides/example/' }],
},
{
label: 'Reference',
items: [
{
label: 'Example Guide',
items: [{ label: 'Example Guide', link: '/guides/example/' }],
},
],
},
],
}),
],
});