-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
66 lines (65 loc) · 1.89 KB
/
astro.config.mjs
File metadata and controls
66 lines (65 loc) · 1.89 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
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Scaffscript',
logo: {
light: './src/assets/logo-light.png',
dark: './src/assets/logo-dark.png',
alt: 'Scaffscript Logo',
replacesTitle: true
},
social: [
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/pBrRGSXU96' },
// { icon: 'facebook', label: 'Facebook', href: 'https://www.facebook.com/undervolta.npc' },
{ icon: 'github', label: 'GitHub', href: 'https://github.com/undervolta/scaffscript' },
],
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Introduction', slug: 'getting-started/introduction' },
{ label: 'Setup', slug: 'getting-started/setup' },
{ label: 'Project Structure', slug: 'getting-started/project-structure' },
],
},
{
label: 'Guides',
items: [
{ label: 'Your First Script', slug: 'guides/your-first-script' },
{ label: 'Working with Modules', slug: 'guides/working-with-modules' },
{ label: 'GameMaker Workflow', slug: 'guides/gamemaker-workflow' },
{ label: 'Real-World Examples', slug: 'guides/real-world-examples' },
]
},
{
label: 'Configuration',
autogenerate: { directory: 'configuration' },
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
{
label: 'Appendix',
autogenerate: { directory: 'appendix' },
}
],
editLink: {
baseUrl: 'https://github.com/undervolta/scaffscript-docs/edit/master',
},
customCss: [
'./src/styles/custom.css',
'@fontsource/plus-jakarta-sans/400.css',
'@fontsource/plus-jakarta-sans/600.css',
],
lastUpdated: true,
}),
mdx(),
],
site: 'https://scaffscript.lefinitas.com',
});