-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
46 lines (44 loc) · 991 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
45
46
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
//import starlightLinksValidator from "starlight-links-validator";
//import starlightMultiSidebar from "@lorenzo_lewis/starlight-multi-sidebar";
import {
SidebarCharacters,
SidebarAdventures,
SidebarMonsters,
SidebarMagic,
SidebarTreasures,
SidebarExtras,
} from "./sidebar.js";
// https://astro.build/config
export default defineConfig({
site: "https://ose.ruleplaying.com",
integrations: [
starlight({
plugins: [],
title: "Old-School Essentials",
social: {
github: "https://github.com/phenomen/ose",
},
defaultLocale: "root",
locales: {
root: {
label: "Русский",
lang: 'ru',
},
},
sidebar: [
SidebarCharacters,
SidebarAdventures,
SidebarMagic,
SidebarTreasures,
SidebarMonsters,
SidebarExtras,
],
customCss: [
"./src/styles/custom.css",
"@fontsource-variable/inter/index.css",
],
}),
],
});