-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
130 lines (127 loc) · 2.92 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
130 lines (127 loc) · 2.92 KB
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
// @ts-check
/** @type {import('@docusaurus/types').Config} */
const vercelUrl = process.env.VERCEL_PROJECT_PRODUCTION_URL || process.env.VERCEL_URL;
const config = {
title: 'LumenBazaar',
tagline: 'Stellar-native x402 facilitator and Bazaar discovery documentation',
url:
process.env.DOCUSAURUS_URL ||
(vercelUrl ? `https://${vercelUrl}` : 'https://lumenbazaar-docs.vercel.app'),
baseUrl: process.env.BASE_URL || '/',
organizationName: 'LumenRoute',
projectName: 'lumenbazaar-docs',
onBrokenLinks: 'throw',
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},
themes: ['@docusaurus/theme-mermaid'],
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
docs: {
routeBasePath: '/',
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/LumenRoute/lumenbazaar-docs/edit/main/',
lastVersion: 'current',
versions: {
current: {
label: 'Next',
path: '',
},
},
},
blog: false,
theme: {
customCss: './src/css/custom.css',
},
},
],
],
themeConfig: {
navbar: {
title: 'LumenBazaar',
items: [
{
type: 'docSidebar',
sidebarId: 'docsSidebar',
position: 'left',
label: 'Docs',
},
{
href: 'https://github.com/LumenRoute',
label: 'GitHub',
position: 'right',
},
{
to: '/guides/seller-guide',
label: 'Sellers',
position: 'left',
},
{
to: '/guides/buyer-guide',
label: 'Buyers',
position: 'left',
},
{
to: '/operations/self-hosting',
label: 'Operators',
position: 'left',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Project',
items: [
{
label: 'Overview',
to: '/',
},
{
label: 'Architecture',
to: '/architecture/overview',
},
],
},
{
title: 'Developers',
items: [
{
label: 'Seller Guide',
to: '/guides/seller-guide',
},
{
label: 'Buyer Guide',
to: '/guides/buyer-guide',
},
],
},
{
title: 'Operations',
items: [
{
label: 'Security',
to: '/security/threat-model',
},
{
label: 'Self-Hosting',
to: '/operations/self-hosting',
},
],
},
],
copyright: `Copyright ${new Date().getFullYear()} LumenBazaar contributors.`,
},
},
};
module.exports = config;