-
Notifications
You must be signed in to change notification settings - Fork 24
/
docusaurus.config.ts
154 lines (146 loc) · 4.1 KB
/
docusaurus.config.ts
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";
const config: Config = {
title: "Full Stack Decal",
favicon: "img/favicon.ico",
url: "https://fullstackdecal.com",
baseUrl: "/",
organizationName: "fullstack-decal", // Usually your GitHub org/user name.
projectName: "fullstackdecal", // Usually your repo name.
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
locales: ["en"],
},
presets: [
[
"classic",
{
docs: {
sidebarPath: "./sidebars.ts",
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: "https://github.com/fullstack-decal/website/edit/main",
},
theme: {
customCss: "./src/css/custom.css",
},
} satisfies Preset.Options,
],
],
themeConfig: {
navbar: {
title: "Full Stack Decal",
logo: {
alt: "Full Stack Decal Logo",
src: "img/logo.png",
},
items: [
{
type: "doc",
docId: "Overview",
position: "left",
label: "Content",
},
{
to: "Syllabus",
position: "left",
label: "Syllabus",
},
{
to: "staff",
position: "left",
label: "Staff",
},
{
to: "resources",
position: "left",
label: "Resources",
},
{
href: "https://forms.gle/qmorW2vXzC5RjEjh8",
position: "left",
label: "Attendance Form",
},
{
href: "https://forms.gle/FYDUNhc5vMknwKoi9",
position: "left",
label: "Extension Form",
},
{
href: "https://calendar.google.com/calendar/u/0?cid=Y183YTg3ZDhkYTIzODM3OTUwN2Y5MGVlMmQ4YjQ1NzBiZDNmYWZkN2I0NjI1MDU0ZjU5OTcwNzkyMDdiYjU2OWY2QGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20",
position: "left",
label: "Course Calendar",
},
{
href: "https://edstem.org/us/join/ScBnTr",
position: "left",
label: "Ed",
},
{
href: "https://github.com/fullstack-decal",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Quick Links",
items: [
{
label: "Lecture Recordings",
to: "https://www.youtube.com/channel/UCGpukPda1pJ8Ei20e02oR0w",
},
],
},
{
title: "Community",
items: [
{
label: "Facebook",
href: "https://www.facebook.com/webatberkeley/",
},
{
label: "Instagram",
href: "https://www.instagram.com/webatberkeley/",
},
],
},
{
title: "More",
items: [
{
label: "WDB Website",
href: "https://webatberkeley.org/",
},
{
label: "GitHub",
href: "https://github.com/full-stack-decal",
},
],
},
],
copyright: "Maintained and built by WDB with Docusaurus.",
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
// Use this to announce enrollment
// announcementBar: {
// id: "announcementBar-2",
// content: `We're still taking applications for Fall 2024 on a rolling basis until September 13th! Please apply <a target="_blank" rel="noopener noreferrer" href="https://fullstackdecal.com/enroll">here</a>.`,
// isCloseable: false,
// },
} satisfies Preset.ThemeConfig,
};
export default config;