-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
99 lines (96 loc) · 3.14 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
const path = require('path');
const {themes} = require('prism-react-renderer');
module.exports = {
title: 'MONEI Documentation',
url: 'https://docs.monei.com',
tagline: 'Explore our guides and examples to integrate MONEI',
trailingSlash: true,
baseUrl: '/',
favicon: 'https://assets.monei.com/images/icon.png',
future: {
experimental_faster: true
},
themeConfig: {
colorMode: {
// "light" | "dark"
defaultMode: 'light',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: true,
// Should we use the prefers-color-scheme media-query,
// using user system preferences, instead of the hardcoded defaultMode
respectPrefersColorScheme: false
},
prism: {
theme: themes.nightOwl,
additionalLanguages: ['php', 'bash']
},
algolia: {
appId: '8G87BCQYSU',
apiKey: '020dc2fc411d19f9f9dfe9d60c527139',
indexName: 'monei',
contextualSearch: true,
searchParameters: {}
},
navbar: {
title: 'MONEI',
hideOnScroll: false,
logo: {
alt: 'MONEI',
src: 'https://assets.monei.com/images/logo.svg'
},
items: [
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Documentation',
position: 'right'
},
{
to: 'api/',
activeBasePath: 'api',
label: 'API',
position: 'right'
},
{
to: 'https://support.monei.com',
label: 'Support',
position: 'right'
},
{
to: 'https://dashboard.monei.com',
label: 'Dashboard',
position: 'right'
}
]
},
footer: {
style: 'dark',
copyright: `<p>Copyright © ${new Date().getFullYear()} MONEI — <a href="https://aws.amazon.com/es/blogs/startups/serverless-architecture-powers-moneis-fast-secure-and-scalable-digital-payment-solutions/" target="_blank" rel="noreferrer noopener">Winner of the AWS Startup Architecture Challenge 🏆</a></p><div class="footer-legal">MONEI DIGITAL PAYMENTS SL - ESB02660926 Palestina, 1, Entreplanta, 29007, Málaga, Spain BORME Registry Details: Registro Mercantil de MÁLAGA T 5998, L 4905, F 54, S 8,H MA158775, I/A 1 (14.01.21). MONEI is a Payments Institution regulated by Banco de España with license number: 6911, and a Swift member with BIC number: MDIPES22. MONEI is member of the European Payments Council under the SRTP group.</div>`
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// It is recommended to set document id as docs home page (`docs/` path).
sidebarPath: require.resolve('./sidebars.js'),
sidebarCollapsible: true,
editUrl: 'https://github.com/MONEI/docs/edit/master/'
},
theme: {
customCss: require.resolve('./src/css/custom.css')
},
sitemap: {
changefreq: 'daily',
priority: 0.7
},
googleTagManager: {
containerId: 'GTM-NHS56QJ'
}
}
]
],
plugins: [path.resolve(__dirname, './inject-scripts.js')]
};