-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
164 lines (153 loc) · 4.64 KB
/
docusaurus.config.js
File metadata and controls
164 lines (153 loc) · 4.64 KB
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
// See: https://docusaurus.io/docs/api/docusaurus-config
import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Beyond Borders Wiki',
tagline: 'for Bangladeshi students, by Bangladeshi students',
favicon: 'img/logo.ico',
// Set the production url of your site here
url: 'https://beyondborders.wiki/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
customFields:{
mendableAnonKey: "a7701478-a31f-4ee6-97e1-006f8bfcd547",
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: './sidebars.js',
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/MY-Sabil/beyondborders-wiki/edit/main/',
showLastUpdateAuthor: true,
showLastUpdateTime: true
},
blog: {
showReadingTime: true,
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/MY-Sabil/beyondborders-wiki/edit/main/',
path: 'guides',
routeBasePath: 'guides',
blogTitle: 'Guides',
blogSidebarTitle: 'Recent guides'
},
theme: {
customCss: './src/css/custom.css',
},
gtag: {
trackingID: 'G-PBXXLHH64B',
anonymizeIP: true,
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/social-banner.png',
navbar: {
title: 'Beyond Borders Wiki',
logo: {
alt: 'My Site Logo',
src: 'img/logo.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'mainSidebar',
position: 'left',
label: 'Wiki',
},
{
to: '/guides',
label: 'Guides',
position: 'left',
},
{
to: '/docs/usa/basics/tests/entrance-exams/sat/resources',
label: 'SAT Resources',
position: 'left',
},
{
to: '/college-list',
label: 'College List',
position: 'left',
},
{
to: '/contribute',
label: 'Contribute!',
position: 'right',
},
{
href: 'https://github.com/MY-Sabil/beyondborders-wiki',
className: 'header-github-link',
'aria-label': 'GitHub repository',
position: 'right',
},
],
},
footer: {
style: 'light',
links: [
{
title: 'Socials',
items: [
{
label: 'Facebook',
to: 'https://www.facebook.com/wiki.beyondborders',
},
{
label: 'Discord',
to: '#',
},
],
},
{
title: 'Contribute',
items: [
{
label: 'How to contribute?',
to: '/contribute',
},
{
label: 'Github',
href: 'https://github.com/MY-Sabil/beyondborders-wiki',
},
],
},
{
title: 'More',
items: [
{
label: 'Our Story',
to: '/about',
},
{
label: 'Team',
href: '/team',
},
],
},
],
copyright: `<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://beyondborders.wiki/">Beyond Borders Wiki</a> is marked with <a href="http://creativecommons.org/publicdomain/zero/1.0?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC0 1.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/zero.svg?ref=chooser-v1"></a></p>`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
colorMode: {
defaultMode: 'dark',
}
})
};
export default config;