@@ -4,7 +4,7 @@ const themeConfig = require("@spiralbtc/vuepress-devkit-theme/config");
4
4
const title = "Lightning Dev Kit Documentation" ;
5
5
const baseUrl = "https://lightningdevkit.org" ;
6
6
const githubUrl = "https://github.com/lightningdevkit" ;
7
- const discordUrl = "https://discord.gg/xaYE3pDQpm " ;
7
+ const discordUrl = "https://discord.gg/5AcknnMfBw " ;
8
8
const themeColor = "#ffffff" ;
9
9
10
10
const docsSidebar = [
@@ -16,35 +16,48 @@ const docsSidebar = [
16
16
title : "Introduction" ,
17
17
path : "/introduction/" ,
18
18
collapsable : true ,
19
- children : [ [ "/introduction/use_cases" , "Use Cases" ] ] ,
20
- } ,
21
- "/running-a-sample-ldk-node" ,
22
- {
23
- title : "Overview" ,
24
- collapsable : true ,
25
19
children : [
26
- [ "/overview/architecture" , "Architecture" ] ,
27
- [ "/overview/peer-management" , "Peer Management" ] ,
28
- [ "/overview/persistent_storage" , "Persistent Storage" ] ,
29
- [ "/overview/blockchain_data" , "Blockchain Data" ] ,
30
- [ "/overview/wallet_management" , "Wallet Management" ] ,
31
- [ "/overview/networking" , "Networking" ] ,
32
- [ "/overview/private_key_management" , "Private Key Management" ] ,
33
- [ "/overview/transactions" , "Transactions" ] ,
34
- [ "/overview/random_number_generation" , "Random Number Generation" ] ,
20
+ [ "/introduction/use-cases" , "Use Cases" ] ,
21
+ [ "/introduction/architecture" , "Architecture" ] ,
22
+ [ "/introduction/peer-management" , "Peer Management" ] ,
23
+ [ "/introduction/persistent_storage" , "Persistent Storage" ] ,
24
+ [ "/introduction/blockchain_data" , "Blockchain Data" ] ,
25
+ [ "/introduction/wallet_management" , "Wallet Management" ] ,
26
+ [ "/introduction/networking" , "Networking" ] ,
27
+ [ "/introduction/private_key_management" , "Private Key Management" ] ,
28
+ [ "/introduction/transactions" , "Transactions" ] ,
29
+ [
30
+ "/introduction/random_number_generation" ,
31
+ "Random Number Generation" ,
32
+ ] ,
35
33
] ,
36
34
} ,
37
35
{
38
- title : "Payments" ,
39
- path : "/payments/" ,
36
+ title : "Building a node with LDK" ,
40
37
collapsable : true ,
41
38
children : [
42
- [ "/payments/connecting_peers" , "Connecting Peers" ] ,
43
- [ "/payments/managing_channels" , "Managing Channels" ] ,
44
- [ "/payments/sending_payments" , "Sending Payments" ] ,
45
- [ "/payments/receiving_payments" , "Receiving Payments" ] ,
39
+ [ "/building-a-node-with-ldk/introduction" , "Introduction" ] ,
40
+ [ "/building-a-node-with-ldk/installation" , "Installation" ] ,
41
+ [
42
+ "/building-a-node-with-ldk/setting-up-a-channel-manager" ,
43
+ "Setting up a Channel Manager"
44
+ ] ,
45
+ [ "/building-a-node-with-ldk/handling-events" , "Handling Events" ] ,
46
+ [
47
+ "/building-a-node-with-ldk/setting-up-a-peer-manager" ,
48
+ "Setting up a Peer Manager"
49
+ ] ,
50
+ [ "/building-a-node-with-ldk/connect-to-peers" , "Connect to Peers" ] ,
51
+ [ "/building-a-node-with-ldk/opening-a-channel" , "Opening a Channel" ] ,
52
+ [ "/building-a-node-with-ldk/sending-payments" , "Sending Payments" ] ,
53
+ [
54
+ "/building-a-node-with-ldk/receiving-payments" ,
55
+ "Receiving Payments"
56
+ ] ,
57
+ [ "/building-a-node-with-ldk/closing-a-channel" , "Closing a Channel" ] ,
46
58
] ,
47
59
} ,
60
+ "/running-a-sample-ldk-node" ,
48
61
{
49
62
title : "Blockchain Data" ,
50
63
collapsable : true ,
@@ -57,7 +70,7 @@ const docsSidebar = [
57
70
[ "/blockchain_data/confirmed_transactions" , "Confirmed Transactions" ] ,
58
71
[
59
72
"/blockchain_data/transaction_broadcasting" ,
60
- "Transaction Broadcasting" ,
73
+ "Transaction Broadcasting"
61
74
] ,
62
75
] ,
63
76
} ,
@@ -76,59 +89,42 @@ const docsSidebar = [
76
89
[ "https://docs.rs/lightning/*/lightning/" , "lightning" ] ,
77
90
[
78
91
"https://docs.rs/lightning-background-processor/*/lightning_background_processor/" ,
79
- "lightning-background-processor" ,
92
+ "lightning-background-processor"
80
93
] ,
81
94
[
82
95
"https://docs.rs/lightning-block-sync/*/lightning_block_sync/" ,
83
- "lightning-block-sync" ,
96
+ "lightning-block-sync"
84
97
] ,
85
98
[
86
99
"https://docs.rs/lightning-invoice/*/lightning_invoice/" ,
87
- "lightning-invoice" ,
100
+ "lightning-invoice"
88
101
] ,
89
102
[
90
103
"https://docs.rs/lightning-net-tokio/*/lightning_net_tokio/" ,
91
- "lightning-net-tokio" ,
104
+ "lightning-net-tokio"
92
105
] ,
93
106
[
94
107
"https://docs.rs/lightning-persister/*/lightning_persister/" ,
95
- "lightning-persister" ,
108
+ "lightning-persister"
96
109
] ,
97
110
[
98
111
"https://docs.rs/lightning-rapid-gossip-sync/*/lightning_rapid_gossip_sync/" ,
99
- "lightning-rapid-gossip-sync" ,
112
+ "lightning-rapid-gossip-sync"
100
113
] ,
101
114
[
102
115
"https://docs.rs/lightning-transaction-sync/*/lightning_transaction_sync/" ,
103
- "lightning-transaction-sync" ,
116
+ "lightning-transaction-sync"
104
117
] ,
105
118
[
106
119
"https://docs.rs/lightning-custom-message/*/lightning_custom_message/" ,
107
- "lightning-custom-message" ,
120
+ "lightning-custom-message"
108
121
] ,
109
122
] ,
110
123
} ,
111
124
[
112
- "https://github.com/lightningdevkit/ldk-garbagecollected/ tree/main/src/main/java/org/ldk " ,
113
- "Java/Kotlin " ,
125
+ "https://github.com/arik-so/SwiftLightning/ tree/master/Documentation " ,
126
+ "Swift " ,
114
127
] ,
115
- [ "https://github.com/lightningdevkit/ldk-swift" , "Swift" ] ,
116
- [
117
- "https://github.com/lightningdevkit/ldk-garbagecollected/tree/main/ts" ,
118
- "TypeScript" ,
119
- ] ,
120
- ] ,
121
- } ,
122
- ] ;
123
-
124
- const tutorialSidebar = [
125
- {
126
- title : "Tutorials" ,
127
- collapsable : false ,
128
- children : [
129
- "/tutorials/getting-started" ,
130
- "/tutorials/build_a_node_in_java" ,
131
- "/tutorials/build_a_node_in_rust" ,
132
128
] ,
133
129
} ,
134
130
] ;
@@ -186,13 +182,9 @@ module.exports = {
186
182
text : "Docs" ,
187
183
link : "/introduction/" ,
188
184
} ,
189
- {
190
- text : "Tutorials" ,
191
- link : "/tutorials/getting-started" ,
192
- } ,
193
185
{
194
186
text : "Case Studies" ,
195
- link : "/case-studies" ,
187
+ link : "/case-studies/ " ,
196
188
} ,
197
189
{
198
190
text : "Blog" ,
@@ -212,11 +204,43 @@ module.exports = {
212
204
sidebar : {
213
205
"/_blog/" : blogSidebar ,
214
206
"/blog/" : blogSidebar ,
215
- "/tutorials/" : tutorialSidebar ,
216
207
"/" : docsSidebar ,
217
208
} ,
218
209
footer : {
219
210
links : [
211
+ {
212
+ title : "Docs" ,
213
+ children : [
214
+ {
215
+ text : "Introduction" ,
216
+ link : "/introduction/" ,
217
+ } ,
218
+ {
219
+ text : "Building a node with LDK" ,
220
+ link : "/building-a-node-with-ldk/introduction" ,
221
+ } ,
222
+ {
223
+ text : "Running a sample LDK node" ,
224
+ link : "/running-a-sample-ldk-node/" ,
225
+ } ,
226
+ {
227
+ text : "Architecture" ,
228
+ link : "/introduction/architecture/" ,
229
+ } ,
230
+ {
231
+ text : "Blockchain Data" ,
232
+ link : "/blockchain_data/introduction/" ,
233
+ } ,
234
+ {
235
+ text : "Key Management" ,
236
+ link : "/key_management/" ,
237
+ } ,
238
+ {
239
+ text : "Examples" ,
240
+ link : "/examples/" ,
241
+ } ,
242
+ ] ,
243
+ } ,
220
244
{
221
245
title : "Community" ,
222
246
children : [
@@ -252,39 +276,6 @@ module.exports = {
252
276
} ,
253
277
] ,
254
278
} ,
255
- {
256
- title : "Docs" ,
257
- children : [
258
- {
259
- text : "Introduction" ,
260
- link : "/introduction/" ,
261
- } ,
262
- {
263
- text : "Sample LDK node" ,
264
- link : "/running-a-sample-ldk-node/" ,
265
- } ,
266
- {
267
- text : "Architecture" ,
268
- link : "/overview/architecture/" ,
269
- } ,
270
- {
271
- text : "Payments" ,
272
- link : "/payments/" ,
273
- } ,
274
- {
275
- text : "Blockchain Data" ,
276
- link : "/blockchain_data/introduction/" ,
277
- } ,
278
- {
279
- text : "Key Management" ,
280
- link : "/key_management/" ,
281
- } ,
282
- {
283
- text : "Examples" ,
284
- link : "/examples/" ,
285
- } ,
286
- ] ,
287
- } ,
288
279
{
289
280
title : "Resources" ,
290
281
children : [
@@ -301,10 +292,6 @@ module.exports = {
301
292
{
302
293
title : "Other" ,
303
294
children : [
304
- {
305
- text : "Tutorials" ,
306
- link : "/tutorials/getting-started/" ,
307
- } ,
308
295
{
309
296
text : "Bitcoin Dev Kit" ,
310
297
link : "https://bitcoindevkit.org/" ,
0 commit comments