forked from diem/dip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
49 lines (48 loc) · 1.23 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
const darkCodeTheme = require("prism-react-renderer/themes/palenight");
const lightCodeTheme = require("prism-react-renderer/themes/github");
module.exports = {
title: 'Libra Improvement Proposals',
tagline: 'Libra Improvement Proposals',
url: 'https://lip.libra.org',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'libra',
projectName: 'lip',
themeConfig: {
algolia: {
apiKey: '410fb6151a3f329a286b9cb0fad63330',
indexName: 'libra-lips',
},
prism: {
darkTheme: darkCodeTheme,
theme: lightCodeTheme,
},
sidebarCollapsible: false,
siteID: 'lips',
navbar: {
title: 'Governance',
},
},
plugins: [
require.resolve('./plugins/alias/src'),
require.resolve('./plugins/lip-metadata/src'),
require.resolve('./plugins/react-axe-ada-monitoring'),
],
presets: [
[
require.resolve('./temp-preset'),
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/libra/lip/edit/master/',
path: 'all-docs__GENERATED',
routeBasePath: '',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};