Skip to content

Commit 613a0db

Browse files
fix edit links.. update Wix docs directory (#1444)
* fix edit links.. update Wix docs directory * Updates and additions --------- Co-authored-by: Dennis Reimann <[email protected]>
1 parent be134c6 commit 613a0db

File tree

4 files changed

+57
-49
lines changed

4 files changed

+57
-49
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/docs/Transmuter
2626
/docs/Trocador
2727
/docs/Wabisabi
28-
/docs/Wix*
28+
/docs/Wix
2929
/docs/Odoo
3030
/docs/Vault
3131
/docs/Xenforo
@@ -37,7 +37,6 @@
3737
/docs/img/btcpayexposecloudflare*
3838
/docs/img/cloudflare*
3939
/docs/img/Cloudflare*
40-
/docs/img/wix*
4140
/swagger/plugins/btcpay.json
4241

4342
# Constructed docs

docs/.vuepress/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const sidebarUserGuide = [
124124
['/Xenforo/', 'Xenforo'],
125125
['/InvoiceNinja', 'Invoice Ninja'],
126126
['/Odoo/', 'Odoo'],
127-
['/Wix', 'Wix'],
127+
['/Wix/', 'Wix'],
128128
['/CustomIntegration', 'Custom Integration']
129129
]
130130
},

docs/.vuepress/preprocessMarkdown.js

+17-9
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,32 @@ const isDev = process.env.NODE_ENV === 'development'
22

33
// external docs: local dir as key, repo base as value
44
const EXTERNAL_DOCS = {
5+
BigCommerce: 'https://github.com/TChukwuleta/BTCPayServerPlugins/tree/main/Plugins/BTCPayServer.Plugins.BigCommercePlugin',
6+
Breez: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Breez',
7+
Bringin: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Bringin',
58
BTCPayServer: 'https://github.com/btcpayserver/btcpayserver',
6-
NBXplorer: 'https://github.com/dgarage/NBXplorer',
79
Configurator: 'https://github.com/btcpayserver/btcpayserver-configurator',
810
Docker: 'https://github.com/btcpayserver/btcpayserver-docker',
9-
Vault: 'https://github.com/btcpayserver/BTCPayServer.Vault',
10-
Transmuter: 'https://github.com/btcpayserver/btcTransmuter',
11-
Zapier: 'https://github.com/btcpayserver/zapier',
11+
Drupal: 'https://github.com/btcpayserver/commerce_btcpay',
12+
DynamicReports: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.DynamicReports',
13+
Grandnode: 'https://github.com/btcpayserver/grandnode',
1214
LNDhubAPI: 'https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api',
15+
NBXplorer: 'https://github.com/dgarage/NBXplorer',
16+
Nopcommerce: 'https://github.com/btcpayserver/nopcommerce',
1317
Nostr: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.NIP05',
18+
Odoo: 'https://github.com/btcpayserver/odoo',
19+
Payroll: 'https://github.com/rockstardev/BTCPayServerPlugins.RockstarDev/tree/master/Plugins/BTCPayServer.RockstarDev.Plugins.Payroll',
1420
PodServer: 'https://github.com/dennisreimann/btcpayserver-plugin-podserver',
21+
SideShift: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.SideShift',
22+
Smartstore: 'https://github.com/btcpayserver/Smartstore.BTCPayServer',
1523
TicketTailor: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.TicketTailor',
24+
Transmuter: 'https://github.com/btcpayserver/btcTransmuter',
1625
Trocador: 'https://github.com/saltrafael/trocador-plugin',
26+
Vault: 'https://github.com/btcpayserver/BTCPayServer.Vault',
27+
Wix: 'https://github.com/btcpayserver/wix',
1728
Wabisabi: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Wabisabi',
18-
Smartstore: 'https://github.com/btcpayserver/Smartstore.BTCPayServer.git',
19-
Grandnode: 'https://github.com/btcpayserver/grandnode.git',
20-
Nopcommerce: 'https://github.com/btcpayserver/nopcommerce.git',
21-
Xenforo: 'https://github.com/btcpayserver/xenforo.git',
22-
Odoo: 'https://github.com/btcpayserver/odoo.git'
29+
Xenforo: 'https://github.com/btcpayserver/xenforo',
30+
Zapier: 'https://github.com/btcpayserver/zapier'
2331
}
2432

2533
const replaceExternalRepoLinks = (source, externalRepoUrl, resourcePath) => {

setup-deps.sh

+38-37
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ WIX_DIR="$BASE_DIR/deps/wix"
3030
update_external() {
3131
file="$1"
3232
repo="$2"
33-
base="$3"
33+
edit="$3"
34+
base="$4"
3435
path="${file#${base}}"
3536
[[ $path = "Security.md" ]] && path="SECURITY.md"
36-
[[ $path = "README.md" || $path = "SECURITY.md" ]] && folder="" || folder="docs/"
37+
[[ $path = "README.md" || $path = "readme.md" || $path = "SECURITY.md" ]] && folder="" || folder="docs/"
3738
content=$(cat "$file")
3839
# add frontmatter to omit edit links for external docs
39-
echo $'---\neditLink: '"$repo/edit/master/$folder$path"$'\nexternalRepo: '"$repo"$'\n---\n'"$content" > "$file"
40+
echo $'---\nexternalRepo: '"$repo"$'\neditLink: '"$edit/$folder$path"$'\n---\n'"$content" > "$file"
4041
}
4142

4243
# BTCPay Server
@@ -61,7 +62,7 @@ line=$(grep -n '## How to manually test payments' $DOCS_DIR/BTCPayServer/LocalDe
6162
{ echo $'---\neditLink: https://github.com/btcpayserver/btcpayserver-doc/edit/master/docs/Development/LocalDev.md\n---\n'; cat "$DOCS_DIR/Development/LocalDev.md"; echo; tail -n +$line "$DOCS_DIR/BTCPayServer/LocalDevSetup.md"; } > "$DOCS_DIR/Development/LocalDevelopment.md"
6263

6364
for file in "$DOCS_DIR"/BTCPayServer/*.md; do
64-
update_external "$file" https://github.com/btcpayserver/btcpayserver "$DOCS_DIR"/BTCPayServer/
65+
update_external "$file" https://github.com/btcpayserver/btcpayserver https://github.com/btcpayserver/btcpayserver/edit/master "$DOCS_DIR"/BTCPayServer/
6566
done
6667

6768
# NBXplorer
@@ -82,7 +83,7 @@ cd "$NBXPLORER_DIR"
8283
cp -r README.md docs/* "$DOCS_DIR/NBXplorer"
8384
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/NBXplorer/README.md"
8485
for file in "$DOCS_DIR"/NBXplorer/*.md; do
85-
update_external "$file" https://github.com/dgarage/NBXplorer "$DOCS_DIR"/NBXplorer/
86+
update_external "$file" https://github.com/dgarage/NBXplorer https://github.com/dgarage/NBXplorer/edit/master "$DOCS_DIR"/NBXplorer/
8687
done
8788

8889
# Vault
@@ -102,7 +103,7 @@ cd "$VAULT_DIR"
102103
cp -r README.md docs/* "$DOCS_DIR/Vault"
103104
sed -ie 's$(docs/$(./$g' "$DOCS_DIR/Vault/README.md"
104105
for file in "$DOCS_DIR"/Vault/*.md; do
105-
update_external "$file" https://github.com/btcpayserver/BTCPayServer.Vault "$DOCS_DIR"/Vault/
106+
update_external "$file" https://github.com/btcpayserver/BTCPayServer.Vault https://github.com/btcpayserver/BTCPayServer.Vault/edit/master "$DOCS_DIR"/Vault/
106107
done
107108

108109
# Configurator
@@ -122,7 +123,7 @@ cd "$CONFIGURATOR_DIR"
122123
cp -r README.md docs/* "$DOCS_DIR/Configurator"
123124
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/Configurator/README.md"
124125
for file in "$DOCS_DIR"/Configurator/*.md; do
125-
update_external "$file" https://github.com/btcpayserver/btcpayserver-configurator "$DOCS_DIR"/Configurator/
126+
update_external "$file" https://github.com/btcpayserver/btcpayserver-configurator https://github.com/btcpayserver/btcpayserver-configurator/edit/master "$DOCS_DIR"/Configurator/
126127
done
127128

128129
# Docker
@@ -145,7 +146,7 @@ line=$(grep -n '# Introduction' README.md | cut -d ":" -f 1)
145146
tail -n +$line "README.md" > "$DOCS_DIR/Docker/README.md"
146147
sed -ie 's$(docs/$(./$g' "$DOCS_DIR/Docker/README.md"
147148
for file in "$DOCS_DIR"/Docker/*.md; do
148-
update_external "$file" https://github.com/btcpayserver/btcpayserver-docker "$DOCS_DIR"/Docker/
149+
update_external "$file" https://github.com/btcpayserver/btcpayserver-docker https://github.com/btcpayserver/btcpayserver-docker/edit/master "$DOCS_DIR"/Docker/
149150
done
150151

151152
cp contrib/FastSync/README.md "$DOCS_DIR/Docker/fastsync.md"
@@ -171,7 +172,7 @@ cd "$TRANSMUTER_DIR"
171172
cp -r README.md docs/* "$DOCS_DIR/Transmuter"
172173
sed -ie 's$(docs/$(./$g' "$DOCS_DIR/Transmuter/README.md"
173174
for file in "$DOCS_DIR"/Transmuter/*.md; do
174-
update_external "$file" https://github.com/btcpayserver/btcTransmuter "$DOCS_DIR"/Transmuter/
175+
update_external "$file" https://github.com/btcpayserver/btcTransmuter https://github.com/btcpayserver/btcTransmuter/edit/master "$DOCS_DIR"/Transmuter/
175176
done
176177

177178
# Zapier
@@ -191,7 +192,7 @@ cd "$ZAPIER_DIR"
191192
cp -r README.md doc/* "$DOCS_DIR/Zapier"
192193
sed -ie 's$(./doc/$(./$g' "$DOCS_DIR/Zapier/README.md"
193194
for file in "$DOCS_DIR"/Zapier/*.md; do
194-
update_external "$file" https://github.com/btcpayserver/zapier "$DOCS_DIR"/Zapier/
195+
update_external "$file" https://github.com/btcpayserver/zapier https://github.com/btcpayserver/zapier/edit/master "$DOCS_DIR"/Zapier/
195196
done
196197

197198
# PodServer
@@ -210,7 +211,7 @@ cd "$PODSERVER_DIR"
210211
cp -r README.md docs/* "$DOCS_DIR/PodServer"
211212
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/PodServer/README.md"
212213
for file in "$DOCS_DIR"/PodServer/*.md; do
213-
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-podserver "$DOCS_DIR"/PodServer/
214+
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-podserver https://github.com/dennisreimann/btcpayserver-plugin-podserver/edit/master "$DOCS_DIR"/PodServer/
214215
done
215216

216217
# LNDhub API
@@ -229,7 +230,7 @@ cd "$LNDHUBAPI_DIR"
229230
cp -r README.md docs/* "$DOCS_DIR/LNDhubAPI"
230231
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/LNDhubAPI/README.md"
231232
for file in "$DOCS_DIR"/LNDhubAPI/*.md; do
232-
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api "$DOCS_DIR"/LNDhubAPI/
233+
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api/edit/master "$DOCS_DIR"/LNDhubAPI/
233234
done
234235

235236
# Trocador
@@ -248,7 +249,7 @@ fi
248249
cd "$TROCADOR_DIR"
249250
cp -r README.md "$DOCS_DIR/Trocador"
250251
for file in "$DOCS_DIR"/Trocador/*.md; do
251-
update_external "$file" https://github.com/saltrafael/trocador-plugin "$DOCS_DIR"/Trocador/
252+
update_external "$file" https://github.com/saltrafael/trocador-plugin https://github.com/saltrafael/trocador-plugin/edit/master "$DOCS_DIR"/Trocador/
252253
done
253254

254255
# Drupal
@@ -267,7 +268,7 @@ fi
267268
cd "$DRUPAL_DIR"
268269
cp -r README.md "$DOCS_DIR/Drupal"
269270
for file in "$DOCS_DIR"/Drupal/*.md; do
270-
update_external "$file" https://github.com/btcpayserver/commerce_btcpay.git "$DOCS_DIR"/Drupal/
271+
update_external "$file" https://github.com/btcpayserver/commerce_btcpay https://github.com/btcpayserver/commerce_btcpay/edit/8.x-1.x "$DOCS_DIR"/Drupal/
271272
done
272273

273274
# Smartstore
@@ -286,7 +287,7 @@ fi
286287
cd "$SMARTSTORE_DIR"
287288
cp -r src/Smartstore.Modules/Smartstore.BTCPayServer/README.md "$DOCS_DIR/Smartstore"
288289
for file in "$DOCS_DIR"/Smartstore/*.md; do
289-
update_external "$file" https://github.com/btcpayserver/Smartstore.BTCPayServer.git "$DOCS_DIR"/Smartstore/
290+
update_external "$file" https://github.com/btcpayserver/Smartstore.BTCPayServer https://github.com/btcpayserver/Smartstore.BTCPayServer/edit/main "$DOCS_DIR"/Smartstore/
290291
done
291292

292293
# Grandnode
@@ -305,7 +306,7 @@ fi
305306
cd "$GRANDNODE_DIR"
306307
cp -r README.md "$DOCS_DIR/Grandnode"
307308
for file in "$DOCS_DIR"/Grandnode/*.md; do
308-
update_external "$file" https://github.com/btcpayserver/grandnode.git "$DOCS_DIR"/Grandnode/
309+
update_external "$file" https://github.com/btcpayserver/grandnode https://github.com/btcpayserver/grandnode/edit/main "$DOCS_DIR"/Grandnode/
309310
done
310311

311312
# Nopcommerce
@@ -324,14 +325,17 @@ fi
324325
cd "$NOPCOMMERCE_DIR"
325326
cp -r README.md "$DOCS_DIR/Nopcommerce"
326327
for file in "$DOCS_DIR"/Nopcommerce/*.md; do
327-
update_external "$file" https://github.com/btcpayserver/nopcommercee.git "$DOCS_DIR"/Nopcommerce/
328+
update_external "$file" https://github.com/btcpayserver/nopcommerce https://github.com/btcpayserver/nopcommerce/edit/main "$DOCS_DIR"/Nopcommerce/
328329
done
329330

330331
# Wix
331332
echo "Setup dependency: Wix"
332333

333-
rm -rf "$DOCS_DIR/img/wix"
334-
mkdir -p "$DOCS_DIR/img/wix"
334+
rm -rf "$DOCS_DIR/Wix"
335+
mkdir -p "$DOCS_DIR/Wix"
336+
337+
rm -rf "$DOCS_DIR/Wix"
338+
mkdir -p "$DOCS_DIR/Wix"
335339

336340
if [ ! -d "$WIX_DIR" ]; then
337341
git clone --depth 1 https://github.com/btcpayserver/wix.git "$WIX_DIR"
@@ -340,10 +344,10 @@ else
340344
fi
341345

342346
cd "$WIX_DIR"
343-
cp -r README.md "$DOCS_DIR/Wix.md"
344-
cp -r img/wix/* "$DOCS_DIR/img/wix"
345-
update_external "$DOCS_DIR/Wix.md" https://github.com/btcpayserver/wix.git "$DOCS_DIR"
346-
347+
cp -r README.md img "$DOCS_DIR/Wix"
348+
for file in "$DOCS_DIR"/Wix/*.md; do
349+
update_external "$file" https://github.com/btcpayserver/wix https://github.com/btcpayserver/wix/edit/main "$DOCS_DIR"/Wix/
350+
done
347351

348352
# Xenforo
349353

@@ -361,7 +365,7 @@ fi
361365
cd "$XENFORO_DIR"
362366
cp -r README.md "$DOCS_DIR/Xenforo"
363367
for file in "$DOCS_DIR"/Xenforo/*.md; do
364-
update_external "$file" https://github.com/btcpayserver/xenforo.git "$DOCS_DIR"/Xenforo/
368+
update_external "$file" https://github.com/btcpayserver/xenforo https://github.com/btcpayserver/xenforo/edit/main "$DOCS_DIR"/Xenforo/
365369
done
366370

367371
# Odoo
@@ -380,10 +384,9 @@ fi
380384
cd "$ODOO_DIR"
381385
cp -r payment_btcpayserver/README.md "$DOCS_DIR/Odoo"
382386
for file in "$DOCS_DIR"/Odoo/*.md; do
383-
update_external "$file" https://github.com/btcpayserver/odoo.git "$DOCS_DIR"/Odoo/
387+
update_external "$file" https://github.com/btcpayserver/odoo https://github.com/btcpayserver/odoo/edit/17.0 "$DOCS_DIR"/Odoo/
384388
done
385389

386-
387390
# Kukks' plugins
388391

389392
echo "Setup dependency: Kukks' plugins"
@@ -402,51 +405,51 @@ cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.Wabisabi"
402405
cp -r readme.md docs/* "$DOCS_DIR/Wabisabi"
403406
sed -ie 's$docs/$./$g' "$DOCS_DIR/Wabisabi/readme.md"
404407
for file in "$DOCS_DIR"/Wabisabi/*.md; do
405-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Wabisabi "$DOCS_DIR"/Wabisabi/
408+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Wabisabi https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.Wabisabi "$DOCS_DIR"/Wabisabi/
406409
done
407410

408411
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.TicketTailor"
409412

410413
cp -r README.md "$DOCS_DIR/TicketTailor"
411414
for file in "$DOCS_DIR"/TicketTailor/*.md; do
412-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.TicketTailor "$DOCS_DIR"/TicketTailor/
415+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.TicketTailor https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.TicketTailor "$DOCS_DIR"/TicketTailor/
413416
done
414417

415418
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.NIP05"
416419

417420
cp -r readme.md "$DOCS_DIR/Nostr"
418421
for file in "$DOCS_DIR"/Nostr/*.md; do
419-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.NIP05 "$DOCS_DIR"/Nostr/
422+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.NIP05 https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.NIP05 "$DOCS_DIR"/Nostr/
420423
done
421424

422425
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.SideShift"
423426

424427
cp -r README.md "$DOCS_DIR/SideShift"
425428
for file in "$DOCS_DIR"/SideShift/*.md; do
426429
sed -i 's/[^[:print:]\t]//g' "$file"
427-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.SideShift "$DOCS_DIR"/SideShift/
430+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.SideShift https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.SideShift "$DOCS_DIR"/SideShift/
428431
done
429432

430433
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.Breez"
431434

432435
cp -r README.md "$DOCS_DIR/Breez"
433436
for file in "$DOCS_DIR"/Breez/*.md; do
434-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Breez "$DOCS_DIR"/Breez/
437+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Breez https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.Breez "$DOCS_DIR"/Breez/
435438
done
436439

437440
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.Bringin"
438441

439442
cp -r README.md "$DOCS_DIR/Bringin"
440443
for file in "$DOCS_DIR"/Bringin/*.md; do
441-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Bringin "$DOCS_DIR"/Bringin/
444+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Bringin https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.Bringin "$DOCS_DIR"/Bringin/
442445
done
443446

444447
cd "$KUKKS_DIR/Plugins/BTCPayServer.Plugins.DynamicReports"
445448

446449
cp -r README.md "$DOCS_DIR/DynamicReports"
447450
for file in "$DOCS_DIR"/DynamicReports/*.md; do
448451
sed -i 's/[^[:print:]\t]//g' "$file"
449-
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.DynamicReports "$DOCS_DIR"/DynamicReports/
452+
update_external "$file" https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.DynamicReports https://github.com/Kukks/BTCPayServerPlugins/edit/master/Plugins/BTCPayServer.Plugins.DynamicReports "$DOCS_DIR"/DynamicReports/
450453
done
451454

452455

@@ -468,7 +471,7 @@ cd "$ROCKSTAR_DIR/Plugins/BTCPayServer.RockstarDev.Plugins.Payroll"
468471
cp -r README.md "$DOCS_DIR/Payroll"
469472
for file in "$DOCS_DIR"/Payroll/*.md; do
470473
sed -i 's/[^[:print:]\t]//g' "$file"
471-
update_external "$file" https://github.com/rockstardev/BTCPayServerPlugins.RockstarDev/tree/master/Plugins/BTCPayServer.RockstarDev.Plugins.Payroll "$DOCS_DIR"/Payroll/
474+
update_external "$file" https://github.com/rockstardev/BTCPayServerPlugins.RockstarDev/tree/master/Plugins/BTCPayServer.RockstarDev.Plugins.Payroll https://github.com/rockstardev/BTCPayServerPlugins.RockstarDev/edit/master/Plugins/BTCPayServer.RockstarDev.Plugins.Payroll "$DOCS_DIR"/Payroll/
472475
done
473476

474477
# Tobe' plugins
@@ -488,11 +491,9 @@ cd "$TOBSES_DIR/Plugins/BTCPayServer.Plugins.BigCommercePlugin"
488491

489492
cp -r README.md "$DOCS_DIR/BigCommerce"
490493
for file in "$DOCS_DIR"/BigCommerce/*.md; do
491-
update_external "$file" https://github.com/TChukwuleta/BTCPayServerPlugins/tree/main/Plugins/BTCPayServer.Plugins.BigCommercePlugin "$DOCS_DIR"/BigCommerce/
494+
update_external "$file" https://github.com/TChukwuleta/BTCPayServerPlugins/tree/main/Plugins/BTCPayServer.Plugins.BigCommercePlugin https://github.com/TChukwuleta/BTCPayServerPlugins/edit/main/Plugins/BTCPayServer.Plugins.BigCommercePlugin "$DOCS_DIR"/BigCommerce/
492495
done
493496

494-
495-
496497
# Swagger
497498

498499
# BTCPay Swagger: Checkout latest release tag, so that we do not publish docs for unreleased APIs yet

0 commit comments

Comments
 (0)