-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
169 lines (169 loc) · 4.44 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Subsocial Documentation',
tagline: `“Subsocial, a general set of Substrate and IPFS-based social-network tools is looking awesome.
There are ideas on the table to purpose this for the Kusama, and perhaps Polkadot, governance
platform. I think that this is exactly the sort of thing that we'll be seeing supported increasingly
into 2020 through the Polkadot and Kusama treasuries.” – Gavin Wood`,
url: 'https://dappforce.github.io/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'dappforce',
projectName: 'dappforce.github.io',
i18n: {
defaultLocale: 'en',
locales: ['en', 'es-ES', 'ch'],
localeConfigs: {
en: {
label: 'English',
},
'es-ES': {
label: 'Español',
},
'ch': {
label: '简体中文',
},
},
},
themeConfig: {
navbar: {
hideOnScroll: true,
title: 'Subsocial Docs',
logo: {
alt: 'Subsocial Project Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'docs/lightpaper/',
activeBasePath: 'lightpaper',
label: 'Lightpaper',
position: 'left',
},
{
to: 'docs/tokenomics/economics-vs-distribution',
activeBasePath: 'economics-vs-distribution',
label: 'Tokenomics',
position: 'left',
},
{
to: 'docs/faq/overview',
activeBasePath: 'overview',
label: 'FAQ',
position: 'left',
},
{
label: 'API',
position: 'left',
items: [
{
label: 'Subsocial JS API',
href: 'https://docs.subsocial.network/js-docs/'
},
{
label: 'Subsocial Rust API',
href: 'https://docs.subsocial.network/rust-docs',
},
]
},
{
href: 'https://github.com/DappForce',
label: 'GitHub',
position: 'right',
},
{
type: 'localeDropdown',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Learn',
items: [
{
label: 'Lightpaper',
to: '/docs/lightpaper/',
},
{
label: 'Tokenomics',
to: '/docs/tokenomics/economics-vs-distribution',
},
{
label: 'FAQ',
to: '/docs/faq/overview',
},
],
},
{
title: 'Community',
items: [
{
label: '📢 Announcements',
href: 'https://t.me/SubsocialNetwork',
},
{
label: 'Blog',
href: 'https://app.subsocial.network/@subsocial',
},
{
label: 'Twitter',
href: 'https://twitter.com/SubsocialChain',
},
{
label: 'Discord',
href: 'https://discord.gg/w2Rqy2M',
},
// {
// label: 'Medium',
// href: 'https://medium.com/dappforce',
// },
{
label: 'Telegram',
href: 'https://t.me/Subsocial',
},
],
},
{
title: 'Legal',
items: [
{
label: 'Privacy Policy',
href: 'https://app.subsocial.network/legal/privacy',
},
{
label: 'Terms of Use',
href: 'https://app.subsocial.network/legal/terms',
},
{
label: 'Token Disclaimer',
href: 'https://app.subsocial.network/legal/token',
},
],
},
],
// Please do not remove the credits, help to publicize Docusaurus :)
copyright: `Copyright © ${new Date().getFullYear()} DappForce`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/dappforce/dappforce.github.io',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};