-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
81 lines (78 loc) · 2.6 KB
/
Copy pathastro.config.mjs
File metadata and controls
81 lines (78 loc) · 2.6 KB
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
77
78
79
80
81
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwindcss from '@tailwindcss/vite';
import svelte from '@astrojs/svelte';
// https://astro.build/config
export default defineConfig({
site: 'https://docs.craig.chat',
redirects: {
'/webapp': '/features/webapp',
'/features/drive': '/features/cloud-upload'
},
integrations: [
starlight({
title: 'Craig Docs',
description: 'Craig is the multi-track recording bot for Discord.',
logo: {
src: './src/assets/favicon.png',
replacesTitle: false,
},
favicon: '/favicon.ico',
social: [
{ icon: 'discord', label: 'Support Server', href: 'https://discord.gg/PEc4QBE45f' },
{ icon: 'github', label: 'GitHub', href: 'https://github.com/CraigChat' },
{ icon: 'patreon', label: 'Patreon', href: 'https://patreon.com/CraigRec' },
],
sidebar: [
{ label: 'Home', slug: 'index' },
{ label: 'Commands', link: 'https://craig.chat/commands', attrs: { target: '_blank' } },
{ label: 'FAQ', link: 'https://craig.chat/faq', attrs: { target: '_blank' } },
{
label: 'Features',
items: [
{ label: 'Access Roles', slug: 'features/access-roles' },
{ label: 'Notes', slug: 'features/notes' },
{ label: 'Cloud Upload', slug: 'features/cloud-upload' },
{ label: 'Transcription', slug: 'features/transcription' },
{ label: 'Auto-record', slug: 'features/auto-record' },
{ label: 'Webapp', slug: 'features/webapp' },
],
},
{
label: 'Misc',
items: [
{ label: 'Giarc', slug: 'giarc' },
{ label: 'Yahweasel\'s Audio Primer', link: 'https://craig.chat/primer', attrs: { target: '_blank' } },
],
},
{
label: 'Links',
items: [
{ label: 'Add Craig', link: 'https://craig.chat/invite', attrs: { target: '_blank' } },
{ label: 'Dashboard', link: 'https://my.craig.chat/', attrs: { target: '_blank' } },
{ label: 'Become a Supporter', link: 'https://craig.chat/supporter', attrs: { target: '_blank' } },
{ label: 'Support Server', link: 'https://discord.gg/PEc4QBE45f', attrs: { target: '_blank' } },
{ label: 'Status', link: 'https://status.craig.chat', attrs: { target: '_blank' } }
],
},
],
customCss: ['./src/fonts/font-face.css', './src/styles/global.css'],
head: [
{
tag: 'meta',
attrs: { name: 'theme-color', content: '#00AAAA' },
},
{
tag: 'link',
attrs: { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
},
],
credits: true,
}),
svelte(),
],
vite: {
plugins: [tailwindcss()],
},
});