-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
53 lines (51 loc) · 1.2 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
const darkCodeTheme = require('prism-react-renderer').themes.dracula;
const lightCodeTheme = require('prism-react-renderer').themes.github;
const config = {
baseUrl: '/',
favicon: 'images/favicon.ico',
i18n: {
defaultLocale: 'en',
locales: ['en']
},
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
presets: [
[
'classic',
{
docs: {
routeBasePath: '/'
},
theme: {
customCss: require.resolve('./src/css/custom.css')
}
}
]
],
tagline: 'Technical documentation on how to integrate with Topper',
themeConfig: {
navbar: {
logo: {
alt: 'Logo',
src: 'images/logo-light.svg',
srcDark: 'images/logo-dark.svg'
},
items: [
{
href: 'https://github.com/uphold/topper-docs',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
}
]
},
prism: {
darkTheme: darkCodeTheme,
theme: lightCodeTheme,
additionalLanguages: ['java', "go", "python", "php"]
}
},
title: 'Topper - Developer docs',
url: 'https://docs.topperpay.com'
};
module.exports = config;