forked from polkadot-js/docs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
52 lines (51 loc) · 1.21 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
// const BASE_URL = process.env.NODE_ENV === 'development' ? '/' : '/docs/';
module.exports = {
title: 'crust{.js}',
tagline: 'Crust does JavaScript',
url: 'https://crust.network',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'crustio',
onBrokenLinks: 'warn',
projectName: 'docs',
stylesheets: [],
themeConfig: {
navbar: {
title: 'crust{.js}',
logo: {
alt: 'crust{.js}',
src: 'img/logo.svg',
},
items: [
{
href: 'https://apps.crust.network/',
label: 'Apps UI (Wallet)',
position: 'right',
},
{
href: 'https://github.com/crustio/docs',
label: 'GitHub',
position: 'right',
},
],
},
footer: {}
},
presets: [
['@docusaurus/preset-classic', {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/crustio/docs/edit/master/',
routeBasePath: '/'
},
blog: {
showReadingTime: true,
editUrl: 'https://github.com/crustio/docs/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
}
}]
]
};