-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathastro.config.mjs
More file actions
89 lines (88 loc) · 2.47 KB
/
astro.config.mjs
File metadata and controls
89 lines (88 loc) · 2.47 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightThemeRapide from "starlight-theme-rapide";
import starlightLinksValidator from "starlight-links-validator";
import starlightImageZoom from "starlight-image-zoom";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
plugins: [
starlightThemeRapide(),
starlightLinksValidator(),
starlightImageZoom(),
],
title: "Drop OSS",
logo: { src: "./src/assets/wordmark.png", replacesTitle: true },
tableOfContents: { minHeadingLevel: 2, maxHeadingLevel: 4 },
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/Drop-OSS/",
},
{
icon: "discord",
label: "Discord",
href: "https://discord.gg/NHx46XKJWA",
},
{
icon: "matrix",
label: "Matrix",
href: "https://matrix.to/#/%23drop-oss:matrix.org",
},
],
sidebar: [
{
label: "Users",
items: [
{ slug: "user" },
{
label: "Install",
autogenerate: { directory: "user/install" },
},
{
label: "Usage",
items: [{ slug: "user/usage/proton" }],
},
],
},
{
label: "Admin",
items: [
{ slug: "admin/quickstart" },
{ slug: "admin/guides/migrating" },
{
label: "Guides",
items: [
{ slug: "admin/guides/exposing" },
{ slug: "admin/guides/creating-library" },
{ slug: "admin/guides/import-game" },
{ slug: "admin/guides/import-version" },
],
},
{
label: "Going further",
autogenerate: { directory: "admin/going-further" },
},
{
label: "Metadata",
autogenerate: { directory: "admin/metadata" },
},
{
label: "Authentication",
autogenerate: { directory: "admin/authentication" },
},
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
customCss: ["./src/styles/drop.css"],
}),
],
site: "https://docs-next.droposs.org/",
});