Skip to content

Commit 2f840f6

Browse files
committed
Adding Ecwid docs.
1 parent cbca89e commit 2f840f6

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/docs/Docker
1313
/docs/Drupal
1414
/docs/DynamicReports
15+
/docs/Ecwid
1516
/docs/Grandnode
1617
/docs/LNDhubAPI
1718
/docs/NBXplorer

docs/.vuepress/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const sidebarUserGuide = [
110110
children: [
111111
['/BigCommerce/', 'Big Commerce'],
112112
['/Drupal/', 'Drupal'],
113+
['/Ecwid/', 'Ecwid'],
113114
['/Grandnode/', 'Grandnode'],
114115
['/InvoiceNinja', 'Invoice Ninja'],
115116
['/Magento', 'Magento'],

setup-deps.sh

+24
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ TROCADOR_DIR="$BASE_DIR/deps/trocador"
1717
LNDHUBAPI_DIR="$BASE_DIR/deps/lndhub-api"
1818
KUKKS_DIR="$BASE_DIR/deps/kukks"
1919
TOBSES_DIR="$BASE_DIR/deps/tobses"
20+
NISABA_DIR="$BASE_DIR/deps/nisaba"
2021
SMARTSTORE_DIR="$BASE_DIR/deps/smartstore"
2122
DRUPAL_DIR="$BASE_DIR/deps/drupal"
2223
GRANDNODE_DIR="$BASE_DIR/deps/grandnode"
@@ -488,6 +489,29 @@ for file in "$DOCS_DIR"/BigCommerce/*.md; do
488489
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/
489490
done
490491

492+
# Nisaba plugins
493+
494+
echo "Setup dependency: Nisaba plugins"
495+
496+
rm -rf "$DOCS_DIR/Ecwid"
497+
mkdir -p "$DOCS_DIR/Ecwid"
498+
499+
if [ ! -d "$NISABA_DIR" ]; then
500+
git clone --depth 1 https://github.com/Nisaba/btcpayserver-plugins.git "$NISABA_DIR"
501+
else
502+
cd "$NISABA_DIR" && git checkout master && git pull
503+
fi
504+
505+
# Ecwid
506+
cd "$NISABA_DIR/BTCPayServer.Plugins.Ecwid"
507+
508+
cp -r README.md "$DOCS_DIR/Ecwid"
509+
cp -r docs/ "$DOCS_DIR/Ecwid"
510+
for file in "$DOCS_DIR"/Ecwid/*.md; do
511+
update_external "$file" https://github.com/Nisaba/btcpayserver-plugins/master/Plugins/BTCPayServer.Plugins.Ecwid https://github.com/Nisaba/btcpayserver-plugins/edit/master/BTCPayServer.Plugins.Ecwid "$DOCS_DIR"/Ecwid/
512+
done
513+
514+
491515
# Swagger
492516

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

0 commit comments

Comments
 (0)