-
Notifications
You must be signed in to change notification settings - Fork 8
/
astro.config.mjs
44 lines (43 loc) · 1.03 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightImageZoom from 'starlight-image-zoom'
export default defineConfig({
site: 'https://shaders.properties',
integrations: [
starlight({
components: {
// Relative path to the custom component.
Head: './src/components/Head.astro',
},
title: 'Iris Docs',
logo: {
src: '/src/assets/iris.webp',
},
customCss: [
'/src/styles/root.css',
],
social: {
github: 'https://github.com/IrisShaders/DocsPage/',
discord: 'https://discord.com/invite/jQJnav2jPu',
},
editLink: {
baseUrl: 'https://github.com/IrisShaders/DocsPage/edit/main/',
},
sidebar: [
{
label: 'Guides',
autogenerate: { directory: 'guides', collapsed: true},
},
{
label: 'Reference',
autogenerate: { directory: 'reference', collapsed: true},
},
{
label: 'How To',
autogenerate: { directory: 'how_to', collapsed: true},
},
],
plugins: [starlightImageZoom()]
}),
],
});