Skip to content

Commit a9f6b78

Browse files
authored
Merge pull request #1473 from TChukwuleta/shopifyv2
shopify v2 docs
2 parents 99a090d + 4c0905f commit a9f6b78

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/.vuepress/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const sidebarUserGuide = [
119119
['/PhocaCart', 'PhocaCart'],
120120
['/PrestaShop', 'PrestaShop'],
121121
['/Shopify', 'Shopify'],
122+
['/ShopifyV2/', 'Shopify V2'],
122123
['/Shopware', 'Shopware'],
123124
['/Smartstore/', 'Smartstore'],
124125
['/VirtueMart', 'VirtueMart'],

setup-deps.sh

+10
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ echo "Setup dependency: Tobses' plugins"
475475
rm -rf "$DOCS_DIR/BigCommerce"
476476
mkdir -p "$DOCS_DIR/BigCommerce"
477477

478+
rm -rf "$DOCS_DIR/ShopifyV2"
479+
mkdir -p "$DOCS_DIR/ShopifyV2"
480+
478481
if [ ! -d "$TOBSES_DIR" ]; then
479482
git clone --depth 1 https://github.com/TChukwuleta/BTCPayServerPlugins.git "$TOBSES_DIR"
480483
else
@@ -488,6 +491,13 @@ for file in "$DOCS_DIR"/BigCommerce/*.md; do
488491
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/
489492
done
490493

494+
cd "$TOBSES_DIR/Plugins/BTCPayServer.Plugins.ShopifyPlugin"
495+
496+
cp -r README.md img "$DOCS_DIR/ShopifyV2"
497+
for file in "$DOCS_DIR"/ShopifyV2/*.md; do
498+
update_external "$file" https://github.com/TChukwuleta/BTCPayServerPlugins/tree/main/Plugins/BTCPayServer.Plugins.ShopifyPlugin https://github.com/TChukwuleta/BTCPayServerPlugins/edit/main/Plugins/BTCPayServer.Plugins.ShopifyPlugin "$DOCS_DIR"/ShopifyV2/
499+
done
500+
491501
# Swagger
492502

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

0 commit comments

Comments
 (0)