-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
55 lines (54 loc) · 1.71 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
46
47
48
49
50
51
52
53
54
55
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: 'RoboCon Docs',
favicon: './src/assets/favicon.png',
social: {
instagram: 'https://www.instagram.com/hillsroadrobocon/',
twitter: 'https://twitter.com/HRobocon/',
facebook: 'https://www.facebook.com/HRobocon/'
},
sidebar: [
{
label: 'First Steps',
autogenerate: { directory: 'first-steps' },
},
{
label: 'Hardware',
autogenerate: { directory: 'hardware' },
},
{
label: 'Programming',
autogenerate: { directory: 'programming' },
},
{
label: 'Tools',
autogenerate: { directory: 'tools' },
},
{
label: 'Tutorials',
autogenerate: { directory: 'tutorials' },
},
],
components: {
SiteTitle: './src/components/RoboConDocsLogo.astro',
},
customCss: [
// Fonts
'@fontsource/space-mono/400.css',
'@fontsource/rubik-mono-one/400.css',
'@fontsource/lexend/400.css',
'@fontsource/fugaz-one/400.css',
// Path to your Tailwind base styles:
'./src/styling.css',
],
}),
tailwind({
// Disable the default base styles:
applyBaseStyles: false,
})],
});