Skip to content

Commit

Permalink
Merge pull request #1473 from TChukwuleta/shopifyv2
Browse files Browse the repository at this point in the history
shopify v2 docs
  • Loading branch information
pavlenex authored Dec 30, 2024
2 parents 99a090d + 4c0905f commit a9f6b78
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const sidebarUserGuide = [
['/PhocaCart', 'PhocaCart'],
['/PrestaShop', 'PrestaShop'],
['/Shopify', 'Shopify'],
['/ShopifyV2/', 'Shopify V2'],
['/Shopware', 'Shopware'],
['/Smartstore/', 'Smartstore'],
['/VirtueMart', 'VirtueMart'],
Expand Down
10 changes: 10 additions & 0 deletions setup-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ echo "Setup dependency: Tobses' plugins"
rm -rf "$DOCS_DIR/BigCommerce"
mkdir -p "$DOCS_DIR/BigCommerce"

rm -rf "$DOCS_DIR/ShopifyV2"
mkdir -p "$DOCS_DIR/ShopifyV2"

if [ ! -d "$TOBSES_DIR" ]; then
git clone --depth 1 https://github.com/TChukwuleta/BTCPayServerPlugins.git "$TOBSES_DIR"
else
Expand All @@ -488,6 +491,13 @@ for file in "$DOCS_DIR"/BigCommerce/*.md; do
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/
done

cd "$TOBSES_DIR/Plugins/BTCPayServer.Plugins.ShopifyPlugin"

cp -r README.md img "$DOCS_DIR/ShopifyV2"
for file in "$DOCS_DIR"/ShopifyV2/*.md; do
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/
done

# Swagger

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

0 comments on commit a9f6b78

Please sign in to comment.