forked from rekuenkdr/armada-alliance-docusaurus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
113 lines (113 loc) · 3.43 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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Armada Alliance Docs',
tagline: 'ARM powered Cardano Stake Pool Guides',
url: 'https://rekuenkdr.github.io/', // URL for your website. This can also be considered the top-level hostname
baseUrl: '/armada-alliance-docusaurus/', // Change this to match your projectName if deploying to Github Pages or / if deploying to a top level domain
onBrokenLinks: 'warn', // Change this to 'throw' for production CI pipelines
onBrokenMarkdownLinks: 'warn',
favicon: 'img/armada-alliance-logo.png',
organizationName: 'rekuenkdr', // Change this to your GitHub org/user name.
projectName: 'armada-alliance-docusaurus', // Change this to your repo name.
i18n: { // We are using crowdin to translate the site https://docusaurus.io/docs/i18n/crowdin
defaultLocale: 'en',
locales: ['en'], // Add locales, run locales and translate https://docusaurus.io/docs/i18n/tutorial
},
themeConfig: {
prism: {
theme: require('prism-react-renderer/themes/nightOwl'),
},
navbar: {
title: 'Armada Alliance',
logo: {
alt: 'Armada Alliance',
src: 'img/armada-alliance-logo.png',
},
items: [
{
type: 'localeDropdown', // Locale Dropdown
position: 'left',
},
{
type: 'doc',
docId: 'README',
position: 'left',
label: 'Documentation',
},
{
href: 'https://github.com/armada-alliance/master',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'Website',
href: 'https://armada-alliance.com/',
},
{
label: 'Telegram',
href: 'https://t.me/joinchat/FeKTCBu-pn5OUZUz4joF2w',
},
{
label: 'Youtube',
href: 'https://www.youtube.com/channel/UCligunhcmbMYaBUMvONsKwg',
},
{
label: 'Discord',
href: 'https://discord.com/invite/Sqc398qk5a',
},
{
label: 'Twitter',
href: 'https://twitter.com/alliance_armada',
},
{
label: 'GitHub',
href: 'https://github.com/armada-alliance/',
},
],
},
{
title: 'More',
items: [
{
label: 'Contribute',
to: '/docs/how-to-contribute/',
},
{
label: 'Donate',
href: 'https://cointr.ee/armada-alliance',
},
{
label: 'Project Catalyst',
to: 'https://cardano.ideascale.com/a/dtd/ARMing-Cardano/340480-48088#idea-tab-comments',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Armada Alliance, Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/rekuenkdr/armada-alliance-docusaurus/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};