-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
45 lines (44 loc) · 1.22 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Typetura Docs',
social: {
github: 'https://github.com/typetura/typetura',
instagram: 'https://instagram.com/typeturadesign',
mastodon: 'https://typetura.social/@typetura',
twitter: 'https://twitter.com/typetura',
},
customCss: [
'./src/styles/custom.css',
],
sidebar: [
{
label: 'Guides',
items: [
{ label: 'Hello world!', slug: 'guides/hello-world' },
{ label: 'Root text', slug: 'guides/root-text' },
{ label: 'Headings', slug: 'guides/headings' },
{ label: 'Type Scale', slug: 'guides/type-scale' },
],
},
{
label: 'Reference',
items: [
{ label: 'Overview', slug: 'reference' },
{ label: 'Containers', slug: 'reference/containers' },
{ label: 'Elements', slug: 'reference/elements' },
{ label: 'Styles', slug: 'reference/styles' },
{ label: 'Accessibility', slug: 'reference/accessibility' },
],
},
{
label: 'Company and Legal',
autogenerate: { directory: 'company-legal' },
},
],
}),
],
});