forked from w3f/Grants-Program
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
165 lines (163 loc) · 4.36 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
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const mdxMermaid = require('mdx-mermaid');
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Web3 Foundation Grants',
tagline: 'Funding Software Development and Research Efforts related to Polkadot and Kusama.',
url: 'https://w3f.github.io',
baseUrl: '/Grants-Program/',
onBrokenLinks: 'warn', // Revert back to 'throw' once initial release is up
onBrokenMarkdownLinks: 'warn',
favicon: 'img/Web3Foundation.png',
organizationName: 'w3f', // Usually your GitHub org/user name.
trailingSlash: false,
projectName: 'Grants-Program', // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,
},
sidebar: {
hideable: true,
autoCollapseCategories: true,
},
announcementBar: {
id: 'announcement',
content:
'Check out <a target="_blank" rel="noopener noreferrer" href="https://web3.bamboohr.com/jobs/">our current job openings</a>!',
backgroundColor: '#000',
textColor: '#ffffff',
isCloseable: true,
},
navbar: {
title: 'W3F Grants Program',
logo: {
alt: 'W3F Grants Program',
src: 'img/Web3Foundation.png',
},
items: [
{
type: 'doc',
docId: 'Introduction/index',
label: 'Introduction',
},
{
type: 'doc',
docId: 'Applications/index',
position: 'left',
label: 'List of Grants',
},
{
type: 'doc',
docId: 'FAQ',
label: 'FAQ',
},
{
type: 'doc',
docId: 'Process/how-to-apply',
position: 'right',
label: 'Apply',
},
{
type: 'doc',
docId: 'Contribute',
position: 'right',
label: 'Contribute',
}
],
},
footer: {
style: 'dark',
links: [
{
title: 'More Info',
items: [
{
label: 'GitHub',
href: 'https://github.com/w3f/Grants-Program',
},
{
label: 'Website',
href: 'https://web3.foundation/',
},
],
},
{
title: 'Connect',
items: [
{
label: 'Twitter',
href: 'https://twitter.com/Web3foundation',
},
{
label: 'Grants Community Matrix Channel',
href: 'https://matrix.to/#/!XpynPDLusWUWfDpaqr:matrix.org?via=web3.foundation&via=matrix.org&via=matrix.parity.io',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Web3 Foundation. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
algolia: {
appId: '9VKKGZO0U1',
apiKey: '89d564c771c26d6eb84fe9cf608c128d',
indexName: 'grants-program',
contextualSearch: true,
externalUrlRegex: 'https://w3f.github.io',
searchParameters: {},
searchPagePath: 'search',
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
// editUrl: 'https://github.com/w3f/grants/edit/master/',
// showLastUpdateAuthor: true,
// showLastUpdateTime: true,
sidebarPath: require.resolve('./sidebars.js'),
beforeDefaultRehypePlugins: [
],
beforeDefaultRemarkPlugins: [
],
remarkPlugins: [
mdxMermaid
],
rehypePlugins: [
],
exclude: [
'Applications/application-template.md',
'Applications/example-project.md',
'rfps/suggestion-template.md'
],
},
blog: false,
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
function (context, options) {
return {
name: 'webpack-configuration-plugin',
configureWebpack(config, isServer, utils) {
return {
resolve: {
symlinks: false,
}
};
}
};
},
],
};