-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
200 lines (182 loc) · 5.13 KB
/
docusaurus.config.js
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/** @type {import('@docusaurus/types').DocusaurusConfig} */
const path = require("path");
module.exports = {
title: "CREATE SE4AI",
tagline:
"A Training Program on the Development, Deployment and Servicing of Artificial Intelligence-based Software Systems",
url: "https://se4ai.org",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "create-se4ai", // Usually your GitHub org/user name.
projectName: "create-se4ai.github.io", // Usually your repo name.
plugins: [
require.resolve("./src/plugins/custom-webpack-config.js"),
// path.resolve(__dirname, "./src/plugins/custom-webpack-config.js"),
[
"docusaurus-plugin-face-crop",
{
paths: [path.resolve(__dirname, "./team/photos")],
height: 400,
width: 400,
minScale: 1,
},
],
],
themeConfig: {
navbar: {
title: "CREATE SE4AI",
hideOnScroll: true,
logo: {
alt: "CREATE SE4AI",
src: "img/logo.svg",
srcDark: "img/logo_dark.svg",
},
items: [
// {
// type: 'doc',
// docId: 'intro',
// position: 'left',
// label: 'Tutorial',
// },
{ to: "/intro", label: "Program", position: "left" },
{ to: "/team", label: "Team", position: "left" },
{to: "/blog", label:"Events", position: 'left'},
{ to: "/governance", label: "Governance", position: "left" },
{ to: "/partners", label: "Partners", position: "left" },
{ to: "/geminai", label: "GEMinAI", position: "left" },
{ href: "/apply", label: "Apply", position: "left" },
// { to: "/geminai2"},
// { to: "/geminai3" },
// { to: "/geminai4" },
// {
// href: 'https://github.com/create-se4ai',
// position: 'right',
// },
{ to: "/contact", label: "Contact", position: "right" },
],
},
colorMode: {
defaultMode: "light",
// disableSwitch: true,
},
footer: {
style: "dark",
links: [
{
title: "Partner Universities",
items: [
{
label: "Concordia University",
href: "https://www.concordia.ca/",
},
{
label: "Polytechnique Montréal",
href: "https://www.polymtl.ca/en/",
},
{
label: "Queen's University",
href: "https://www.queensu.ca",
},
{
label: "University of Alberta",
href: "https://www.ualberta.ca",
},
],
},
{
title: "Program",
items: [
{
label: "Introduction",
to: "/intro",
},
{
label: "Objectives",
to: "/training-program/objectives",
},
{
label: "Components",
to: "/training-program/components",
},
],
},
{
title: "Community",
items: [
{
label: "Team",
to: "/team",
},
{
label: "Partners",
to: "/partners",
},
{
label: "Apply",
to: "/apply",
},
],
}
,
{
title: "More",
items: [
// {
// label: 'Blog',
// to: '/blog',
// },
{
label: "Twitter",
href: "https://twitter.com/CREATE_SE4AI",
},
{
label: "GitHub",
href: "https://github.com/create-se4ai",
},
{
label: "YouTube ",
href: "https://www.youtube.com/@createse4ai"
},
{ label: "Contact", to: "/contact" },
],
},
],
logo: {
alt: "NSERC",
src: "/img/NSERC_WHITE.png",
},
copyright: `<p>We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).</p>Copyright © ${new Date().getFullYear()} CREATE SE4AI.`,
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
// editUrl:
// 'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: false,
postsPerPage: 2, // Show only one blog post per page
blogSidebarCount:0
// // Please change this to your repo.
// // editUrl:
// // 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
gtag: {
trackingID: "G-VKNMLKQGRY",
anonymizeIP: false,
},
},
],
],
};