forked from WICG/webmonetization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
223 lines (205 loc) · 6.19 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
// Seehttps://v2.docusaurus.io/docs/configuration for all the possible
// site configuration options.
const wallets = [
{
name: 'Uphold',
image: 'uphold_logo.svg',
link: 'https://www.uphold.com/signup'
},
{
name: 'Gatehub',
image: 'gatehub_logo.svg',
link: 'https://gatehub.net'
}
]
const providers = [
{
name: 'Coil',
image: 'coil_logo.svg',
link: 'https://coil.com'
}
]
const browsers = [
{
name: 'Puma',
image: 'puma-logo.svg',
link: 'https://pumabrowser.com'
}
]
const search = [
{
name: 'Runnaroo',
image: 'runnaroo_logo.svg',
link: 'https://www.runnaroo.com'
},
{
name: 'Infinity Search',
image: 'infinity_search_logo.svg',
link: 'https://infinitysearch.co'
}
]
const tools = [
{
name: 'Hugo + Webmonetization',
image: 'hugo_webmo_logo.svg',
link: 'https://github.com/sabinebertram/hugo-webmonetization-component'
},
{
name: 'Eleventy + Webmonetization',
image: '11ty_webmo_logo.png',
link: 'https://github.com/DanCanetti/eleventy-plugin-monetization'
},
{
name: 'Gridsome + Webmonetization',
image: 'gridsome_webmo_logo.svg',
link: 'https://github.com/Sergix/gridsome-plugin-monetization'
},
{
name: 'Gatsby + Webmonetization',
image: 'gatsby_webmo_logo.svg',
link: 'https://github.com/mrmuhammadali/gatsby-plugin-monetization'
},
{
name: 'Angular + Webmonetization',
image: 'angular_webmo_logo.svg',
link: 'https://github.com/CDDelta/ngx-monetization'
},
{
name: 'VuePress + Webmonetization',
image: 'vuepress_webmo_logo.png',
link: 'https://github.com/spekulatius/vuepress-plugin-web-monetization'
},
{
name: 'Tessy + Webmonetization',
image: 'tessy_webmo_logo.svg',
link: 'https://github.com/VladimirMikulic/tessy'
},
{
name: 'Svelte + Webmonetization',
image: 'svelte_webmo_logo.svg',
link: 'https://github.com/sorxrob/svelte-monetization'
},
{
name: 'Moodle + Webmonetization',
image: 'moodle_webmo_logo.png',
link: 'https://github.com/andrewhancox/moodle-local_webmonetization'
}
]
const siteConfig = {
title: 'Web Monetization', // Title for your website.
tagline: 'A JavaScript browser API that allows the creation of a payment stream from the user agent to the website',
url: 'https://webmonetization.org', // Your website URL
baseUrl: '/', // Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
// baseUrl: '/test-site/',
// Used for publishing and more
projectName: 'webmonetization',
organizationName: 'wicg',
customFields: {
providers,
wallets,
browsers,
search,
tools
},
themeConfig: {
ogImage: 'img/undraw_online.svg',
algolia: {
apiKey: '522665321749697a7b612bb54dbdb0b4',
indexName: 'webmonetization',
placeholder: 'Search'
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false
},
prism: {
theme: require('prism-react-renderer/themes/github')
},
navbar: {
title: 'Web Monetization',
logo: {
alt: 'Web Monetization logo',
src: 'img/wm-icon.svg'
},
items: [
{ doc: 'getting-started', to: '/docs', label: 'Docs' },
{ href: 'https://webmonetization.org/specification.html', label: 'Specification' },
{ href: 'https://discourse.wicg.io/t/proposal-web-monetization-a-new-revenue-model-for-the-web/3785', label: 'WICG Forum' },
{ href: 'https://github.com/WICG/webmonetization', label: 'GitHub' },
{ search: true }
]
},
footer: {
links: [
{
title: 'WebMonetization.org',
items: []
},
{
title: 'Navigation',
items: [
{ label: 'Home', to: '/' },
{ label: 'Meta Tag Generator', to: '/meta-tag' },
{ label: 'Revshare Generator', to: '/prob-revshare' },
{ label: 'Exclusive Content Generator', to: '/exclusive-content' }
]
},
{
title: 'Community',
items: [
{ label: 'Github', href: 'https://github.com/WICG/webmonetization' },
{ label: 'ILP Forum', href: 'https://forum.interledger.org' },
{ label: 'Web Platform Incubator Community Group', href: 'https://discourse.wicg.io/t/proposal-web-monetization-a-new-revenue-model-for-the-web/3785' },
{ label: 'Interledger', href: 'https://interledger.org' }
]
},
{
title: 'Resources',
items: [
{ label: 'Docs', to: '/docs/getting-started' },
{ label: 'Specification', href: 'https://webmonetization.org/specification.html' },
{ label: 'Payment Pointers', to: 'https://paymentpointers.org/' }
]
}
]
}
},
favicon: 'img/fav-webmonetization.png',
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
// copyright: ``,
// Add custom scripts here that would be placed in <script> tags.
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/custom.js'
],
// Open Graph and Twitter card images.
// twitterImage: 'img/undraw_tweetstorm.svg',
// For sites with a sizable amount of content, set collapsible to true.
// Expand/collapse the links and subcategories under categories.
// docsSideNavCollapsible: true,
// Show documentation's last contributor's name.
// enableUpdateBy: true,
// Show documentation's last update time.
// enableUpdateTime: true,
// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
// repoUrl: 'https://github.com/facebook/test-site',
presets: [
[ '@docusaurus/preset-classic', {
docs: {
path: './docs',
editUrl: 'https://github.com/WICG/webmonetization/tree/main',
routeBasePath: 'docs',
sidebarPath: require.resolve('./sidebars.json')
},
theme: {
customCss: require.resolve('./static/css/custom.css')
}
}]
]
}
module.exports = siteConfig