-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.ts
76 lines (74 loc) · 1.74 KB
/
astro.config.ts
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
site: 'https://felicity.pages.dev',
integrations: [
starlight({
head: [
{
tag: 'script',
attrs: {
src: 'https://stats.moons.bio/js/script.js',
'data-domain': 'tryfelicity.one',
defer: true,
},
},
],
customCss: ['/src/assets/css/tailwind.css', '/src/assets/css/custom.css'],
logo: {
src: '/public/favicon.svg',
},
title: 'Felicity',
social: {
discord: 'https://discord.gg/JBBqF6Pw2z',
github: 'https://github.com/devFelicity/Web-Docs',
twitter: 'https://twitter.com/devFelicity',
},
editLink: {
baseUrl: 'https://github.com/devFelicity/Web-Docs/edit/main',
},
sidebar: [
{
label: 'Felicity',
items: [
{
label: 'Home Page',
link: '/',
},
],
},
{
label: 'About',
autogenerate: {
directory: 'about',
},
},
{
label: 'Reference',
autogenerate: {
directory: 'reference',
},
},
{
label: 'Terms & Conditions',
items: [
{
label: 'Privacy Policy',
link: '/privacy',
},
{
label: 'Terms of Service',
link: '/terms',
},
],
},
],
}),
tailwind({
// Disable the default base styles:
applyBaseStyles: false,
}),
],
});