Skip to content

Commit

Permalink
Merge pull request #1435 from TChukwuleta/wix_integration_docs
Browse files Browse the repository at this point in the history
documentation for wix integration
  • Loading branch information
pavlenex authored Oct 22, 2024
2 parents 942fdf8 + 00099f8 commit 2b062ee
Show file tree
Hide file tree
Showing 2 changed files with 20 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 @@ -123,6 +123,7 @@ const sidebarUserGuide = [
['/Xenforo/', 'Xenforo'],
['/InvoiceNinja', 'Invoice Ninja'],
['/Odoo/', 'Odoo'],
['/Wix', 'Wix'],
['/CustomIntegration', 'Custom Integration']
]
},
Expand Down
19 changes: 19 additions & 0 deletions setup-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ROCKSTAR_DIR="$BASE_DIR/deps/rockstar"
NOPCOMMERCE_DIR="$BASE_DIR/deps/nopcommerce"
XENFORO_DIR="$BASE_DIR/deps/xenforo"
ODOO_DIR="$BASE_DIR/deps/odoo"
WIX_DIR="$BASE_DIR/deps/wix"

update_external() {
file="$1"
Expand Down Expand Up @@ -285,6 +286,24 @@ cp -r README.md "$DOCS_DIR/Nopcommerce"
for file in "$DOCS_DIR"/Nopcommerce/*.md; do
update_external "$file" https://github.com/btcpayserver/nopcommercee.git "$DOCS_DIR"/Nopcommerce/
done

# Wix
echo "Setup dependency: Wix"

rm -rf "$DOCS_DIR/img/wix"
mkdir -p "$DOCS_DIR/img/wix"

if [ ! -d "$WIX_DIR" ]; then
git clone --depth 1 https://github.com/btcpayserver/wix.git "$WIX_DIR"
else
cd "$WIX_DIR" && git checkout main && git pull
fi

cd "$WIX_DIR"
cp -r README.md "$DOCS_DIR/Wix.md"
cp -r img/wix/* "$DOCS_DIR/img/wix"
update_external "$DOCS_DIR/Wix.md" https://github.com/btcpayserver/wix.git "$DOCS_DIR"


# Xenforo

Expand Down

0 comments on commit 2b062ee

Please sign in to comment.