This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
47 lines (45 loc) · 1.89 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://commandkit.underctrl.io',
integrations: [
starlight({
title: '',
favicon: '/favicon.png',
logo: {
dark: './src/assets/nav_logo.png',
light: './src/assets/nav_logo_light.png',
},
editLink: {
baseUrl: 'https://github.com/underctrl-io/commandkit-docs/edit/master/',
},
customCss: ['./src/styles/landing.css', './src/styles/custom.css'],
lastUpdated: true,
social: {
github: 'https://github.com/underctrl-io/commandkit',
discord: 'https://discord.underctrl.io',
youtube: 'https://youtube.com/@UnderCtrl',
},
sidebar: [
{ label: 'Overview', link: '/overview' },
{
label: 'Guides',
items: [
{ label: 'Installation', link: '/guides/installation' },
{ label: 'CommandKit Setup', link: '/guides/commandkit-setup' },
{ label: 'Commands Setup', link: '/guides/command-file-setup' },
{ label: 'Events Setup', link: '/guides/event-file-setup' },
{ label: 'Validations Setup', link: '/guides/validation-file-setup' },
{
label: 'Migrate from DJS-Commander',
link: '/guides/migrating-from-djs-commander',
},
],
},
],
}),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: { service: { entrypoint: 'astro/assets/services/sharp' } },
});