-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.ts
185 lines (175 loc) · 5.2 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
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
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type { Options as PresetOptions, ThemeConfig } from '@docusaurus/preset-classic';
const config: Config = {
title: 'KSU Combat Robotics',
tagline: 'KSU Combat Robotics is a student organization at Kent State University that designs, builds, and competes in combat robotics events at a variety of weight classes.',
favicon: 'img/favicon.ico',
url: 'https://your-docusaurus-site.example.com',
baseUrl: '/',
organizationName: 'CombatRoboticsKSU',
projectName: 'KSU-Combat-Robotics-Website',
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
blog: {
path: './blog',
routeBasePath: 'blog',
showReadingTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
sitemap: false, // Disable the default sitemap plugin included in the preset
},
],
],
plugins: [
[
'@docusaurus/plugin-content-blog',
{
id: 'wiki',
path: './wiki',
routeBasePath: 'wiki',
showReadingTime: true,
//editUrl: 'https://github.com/CombatRoboticsKSU/KSU-Combat-Robotics-Website/tree/main',
blogSidebarTitle: 'Our Bots',
blogSidebarCount: 'ALL',
},
],
[
'@docusaurus/plugin-content-blog',
{
id: 'personalbots',
path: './personal_bots',
routeBasePath: 'pbots',
showReadingTime: true,
//editUrl: 'https://github.com/CombatRoboticsKSU/KSU-Combat-Robotics-Website/tree/main',
blogSidebarTitle: 'Personal Bots',
blogSidebarCount: 'ALL',
},
],
[
'@docusaurus/plugin-sitemap',
{
changefreq: 'weekly', // Frequency of page changes
priority: 0.5, // Default priority for pages
ignorePatterns: ['/tags/**'], // Optional: Ignore certain patterns
filename: 'sitemap.xml', // Name of the generated sitemap file
},
],
],
themeConfig: {
image: 'USINGimg/social-card.png',
colorMode: {
defaultMode: 'dark',
},
customCss: require.resolve('./src/css/custom.css'),
navbar: {
style: 'dark',
title: '',
logo: {
alt: 'KSU Combat Robotics Logo',
src: 'USINGimg/Logos.png',
},
items: [
{ to: '/sponsorship', label: 'Sponsors', position: 'left' },
/*
{ to: 'mailto:[email protected]', label: 'Contact Us', position: 'left' }, //We need to move this to something else, I like EmailJS if we can get that set up
*/
{ to: '/wiki', label: 'KSU BOT Wiki', position: 'left' },
{
type: 'dropdown',
label: 'Updates',
position: 'left',
items: [
{ to: '/blog', label: 'Team Updates' },
{ to: '/publicity', label: 'Media Coverage' }
]
},
{ to: '/leadership', label: 'Leadership', position: 'left' },
{ to: '/projects', label: 'Projects', position: 'left' },
{
href: 'https://www.instagram.com/ksucombatrobotics/',
label: 'Instagram Feed',
position: 'right',
},
{
href: 'https://kent.campuslabs.com/engage/organization/combatrobotics',
label: 'KSU Engage',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'About',
items: [
{ label: 'Team Updates', to: '/blog' },
{ label: 'Leadership', to: '/leadership' },
{ label: 'History', to: '/history' },
{ label: 'Project Status', to: '/projects' },
],
},
{
title: 'Our Bots',
items: [
{ label: 'Personal Bots', to: '/pbots' },
{ label: 'Club Owned Bots', to: '/wiki' },
],
},
{
title: 'Connect',
items: [
{
label: 'Instagram',
to: 'https://www.instagram.com/ksucombatrobotics/',
logo: {
alt: 'Instagram',
src: 'static/USINGimg/insta.png',
},
},
],
},
{
title: 'Sponsorship & Contact',
items: [
{ label: 'Sponsors', to: '/sponsorship' },
{
label: 'Email', // Note : I like EmailJS if we can get that set up
to: 'mailto:[email protected]',
},
],
},
{
title: 'Legal',
items: [
{
label: 'Kent State CSI',
to: 'https://www.kent.edu/csi',
},
{
label: 'Anti-Hazing Policy',
to: 'https://www.kent.edu/studentconduct/anti-hazing',
},
],
},
],
copyright: `KSU Combat Robotics is a registered organization of Kent State University - Built with Docusaurus`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
} satisfies ThemeConfig,
};
export default config;