-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.ts
75 lines (66 loc) · 1.74 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
import { themes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
const config = {
title: "VERSO Open Resource Library",
tagline: "Learn, explore, and create open source practices.",
favicon:
"https://verso.w3.uvm.edu/wp-content/uploads/2023/08/cropped-Logo_verso2-1-1-192x192.png",
url: "https://openresourcelibrary.com", // TODO: Domain?
baseUrl: "/",
// GitHub pages deployment config.
organizationName: "VERSO-UVM",
projectName: "Open-Resource-Library",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
// Required for language metadata, not actually internationalized
i18n: {
defaultLocale: "en",
locales: ["en"],
},
presets: [
[
"classic",
{
docs: {
sidebarPath: "./sidebars.ts",
routeBasePath: "/",
editUrl: "https://github.com/VERSO-UVM/Open-Resource-Library",
},
blog: false,
pages: false,
theme: {
customCss: "./src/css/custom.css",
},
},
],
],
themeConfig: {
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
title: "Open Resource Library",
logo: {
alt: "VERSO Logo",
src: "https://verso.w3.uvm.edu/wp-content/uploads/2023/08/cropped-Logo_verso2-1-1-192x192.png",
},
items: [
{
href: "https://verso.w3.uvm.edu",
label: "VERSO Website",
position: "right",
},
{
href: "https://github.com/VERSO-UVM/Open-Resource-Library",
label: "GitHub",
position: "right",
},
],
},
prism: {
theme: themes.github,
darkTheme: themes.dracula,
},
},
} satisfies Config;
export default config;