-
Notifications
You must be signed in to change notification settings - Fork 9
/
astro.config.mjs
44 lines (43 loc) · 1022 Bytes
/
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';
import starlightUtils from "@lorenzo_lewis/starlight-utils";
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: '',
autogenerate: { directory: 'current', collapsed: true },
},
],
plugins: [
starlightImageZoom(),
starlightUtils({
multiSidebar: {
switcherStyle: "horizontalList",
},
}),
]
}),
],
});