forked from w3f/grants-test-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
134 lines (131 loc) · 3.57 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
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, Kusama, Substrate and ink!.',
url: 'https://w3f.github.io',
baseUrl: '/grants-test-repository/',
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', // Usually your repo name.
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false
},
announcementBar: {
id: 'announcement',
content:
'<h4>Check out <a target="_blank" rel="noopener noreferrer" href="https://web3.bamboohr.com/jobs/">our current job openings</a>!</h4>',
backgroundColor: '#E6007A',
textColor: '#ffffff',
isCloseable: true,
},
navbar: {
title: 'W3F Grants Program',
logo: {
alt: 'W3F Grants Program',
src: 'img/Web3Foundation.png',
},
items: [
{
type: 'doc',
docId: 'apply',
position: 'left',
label: 'Apply',
},
{
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: 'Contribute',
position: 'right',
label: 'Contribute',
}
],
},
footer: {
style: 'dark',
links: [
{
title: 'Links',
items: [
{
label: 'GitHub',
href: 'https://github.com/w3f/Grants-Program',
},
{
label: 'Website',
href: 'https://web3.foundation/',
},
{
label: 'Twitter',
href: 'https://twitter.com/Web3foundation',
},
{
label: 'Grants Program Matrix channel',
href: 'https://twitter.com/Web3foundation',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Web3 Foundation. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
// editUrl: 'https://github.com/w3f/grants-test-repository/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'
],
},
blog: false,
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
// plugins: [],
};