-
Notifications
You must be signed in to change notification settings - Fork 38
/
astro.config.mjs
107 lines (106 loc) · 2.9 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightLinksValidator from 'starlight-links-validator';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "Thoth Tech",
favicon: "/favicon.svg",
plugins: [
starlightLinksValidator({
errorOnRelativeLinks: true,
}),
],
customCss: ["./src/styles/custom.css"],
social: {
github: "https://github.com/thoth-tech",
},
logo: {
src: "./public/favicon.svg",
},
components: {
// MarkdownContent: "starlight-blog/overrides/MarkdownContent.astro",
// Sidebar: "starlight-blog/overrides/Sidebar.astro",
// ThemeSelect: "starlight-blog/overrides/ThemeSelect.astro",
},
sidebar: [
{
label: "Resources",
collapsed: false,
items: [
{
label: "Introduction",
link: "/resources/introduction"
},
{
label: "Thoth Tech Technology Stack",
link: "/resources/thoth-tech-technology-stack"
},
{
label: "Remote Working Guide",
link: "/resources/remote-working-guide"
},
{
label: "Onboarding Hub",
collapsed: true,
autogenerate: { directory: "Resources/Onboarding Hub" },
},
{
label: "Quality Assurance",
collapsed: true,
autogenerate: { directory: "Resources/Quality Assurance" },
},
{
label: "Frequently Asked Questions (FAQ)",
link: "/resources/faq"
},
],
},
{
label: "Products",
collapsed: false,
items: [
{ label: "Products", link: "/products" },
{
label: "SplashKit",
collapsed: true,
autogenerate: { directory: "Products/SplashKit" },
},
{
label: "OnTrack",
collapsed: true,
autogenerate: { directory: "Products/OnTrack" },
},
{
label: "CourseFlow",
collapsed: true,
autogenerate: { directory: "Products/CourseFlow" },
},
],
},
{
label: "Teams and Contributions",
collapsed: true,
autogenerate: { directory: "Teams and Contributions" },
},
{
label: "Feedback",
collapsed: true,
items: [
{
label: "Feedback Form",
link: "/feedback/feedback-form"
}
],
},
],
}),
],
// Image processing
image: {
service: {
entrypoint: "astro/assets/services/sharp",
},
},
});