Merge pull request #1355 from dennisreimann/d11n-plugins

This commit is contained in:
Pavlenex 2023-12-26 17:32:00 +01:00 committed by GitHub
commit d4ffedcd66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 81 deletions

5
.gitignore vendored
View File

@ -11,10 +11,7 @@
/docs/NBXplorer
/docs/Vault
/docs/Zapier
/docs/LNbank
/docs/LNDhubAPI
/docs/Nostr
/docs/PodServer
/docs/Smartstore
/docs/TicketTailor
/docs/Trocador
@ -26,7 +23,7 @@
/docs/img/btcpayexposecloudflare*
/docs/img/cloudflare*
/docs/img/Cloudflare*
/swagger/plugins/**
/swagger/plugins/btcpay.json
# Constructed docs
/docs/Development/LocalDevelopment.md

View File

@ -121,17 +121,7 @@ const sidebarUserGuide = [
collapsable: false,
initialOpenGroupIndex: -1,
children: [
{
title: 'LNbank',
path: '/LNbank/',
children: [
['/LNbank/LNDhub', 'LNDhub Compatibility'],
['/LNbank/Troubleshooting', 'Troubleshooting']
]
},
['/LNDhubAPI/', 'LNDhub API'],
['/Nostr/', 'Nostr'],
['/PodServer/', 'PodServer'],
['/TicketTailor/', 'TicketTailor'],
['/Trocador/', 'Trocador'],
['/Wabisabi/', 'Wabisabi Coinjoin']

View File

@ -9,10 +9,7 @@ const EXTERNAL_DOCS = {
Vault: 'https://github.com/btcpayserver/BTCPayServer.Vault',
Transmuter: 'https://github.com/btcpayserver/btcTransmuter',
Zapier: 'https://github.com/btcpayserver/zapier',
LNbank: 'https://github.com/dennisreimann/btcpayserver-plugin-lnbank',
LNDhubAPI: 'https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api',
Nostr: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.NIP05',
PodServer: 'https://github.com/dennisreimann/btcpayserver-plugin-podserver',
TicketTailor: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.TicketTailor',
Trocador: 'https://github.com/saltrafael/trocador-plugin',
Wabisabi: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.Wabisabi',

View File

@ -349,6 +349,4 @@ Once you click the `Release` button on the build page, the package won't be in p
For more information check out these repositories with existing plugins:
- [kukks' plugins](https://github.com/Kukks/BTCPayServerPlugins)
- [LNbank](https://github.com/dennisreimann/btcpayserver-plugin-lnbank)
- [PodServer](https://github.com/dennisreimann/btcpayserver-plugin-podserver)
- [Trocador.app](https://github.com/saltrafael/trocador-plugin)

View File

@ -12,10 +12,7 @@ DOCKER_DIR="$BASE_DIR/deps/docker"
VAULT_DIR="$BASE_DIR/deps/vault"
TRANSMUTER_DIR="$BASE_DIR/deps/transmuter"
ZAPIER_DIR="$BASE_DIR/deps/zapier"
LNBANK_DIR="$BASE_DIR/deps/lnbank"
PODSERVER_DIR="$BASE_DIR/deps/podserver"
TROCADOR_DIR="$BASE_DIR/deps/trocador"
LNDHUBAPI_DIR="$BASE_DIR/deps/lndhub-api"
KUKKS_DIR="$BASE_DIR/deps/kukks"
SMARTSTORE_DIR="$BASE_DIR/deps/smartstore"
@ -187,65 +184,6 @@ for file in "$DOCS_DIR"/Zapier/*.md; do
update_external "$file" https://github.com/btcpayserver/zapier "$DOCS_DIR"/Zapier/
done
# LNbank
echo "Setup dependency: LNbank"
rm -rf "$LNBANK_DIR"
rm -rf "$DOCS_DIR/LNbank"
mkdir -p "$DOCS_DIR/LNbank"
if [ ! -d "$LNBANK_DIR" ]; then
git clone --depth 1 https://github.com/dennisreimann/btcpayserver-plugin-lnbank.git "$LNBANK_DIR"
fi
cd "$LNBANK_DIR"
cp -r README.md docs/* "$DOCS_DIR/LNbank"
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/LNbank/README.md"
for file in "$DOCS_DIR"/LNbank/*.md; do
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-lnbank "$DOCS_DIR"/LNbank/
done
cp -r BTCPayServer.Plugins.LNbank/Resources/swagger/* "$BASE_DIR/swagger/plugins"
# PodServer
echo "Setup dependency: PodServer"
rm -rf "$PODSERVER_DIR"
rm -rf "$DOCS_DIR/PodServer"
mkdir -p "$DOCS_DIR/PodServer"
if [ ! -d "$PODSERVER_DIR" ]; then
git clone --depth 1 https://github.com/dennisreimann/btcpayserver-plugin-podserver.git "$PODSERVER_DIR"
fi
cd "$PODSERVER_DIR"
cp -r README.md docs/* "$DOCS_DIR/PodServer"
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/PodServer/README.md"
for file in "$DOCS_DIR"/PodServer/*.md; do
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-podserver "$DOCS_DIR"/PodServer/
done
# LNDhub API
echo "Setup dependency: LNDhub API"
rm -rf "$LNDHUBAPI_DIR"
rm -rf "$DOCS_DIR/LNDhubAPI"
mkdir -p "$DOCS_DIR/LNDhubAPI"
if [ ! -d "$LNDHUBAPI_DIR" ]; then
git clone --depth 1 https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api.git "$LNDHUBAPI_DIR"
fi
cd "$LNDHUBAPI_DIR"
cp -r README.md docs/* "$DOCS_DIR/LNDhubAPI"
sed -ie 's$(./docs/$(./$g' "$DOCS_DIR/LNDhubAPI/README.md"
for file in "$DOCS_DIR"/LNDhubAPI/*.md; do
update_external "$file" https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api "$DOCS_DIR"/LNDhubAPI/
done
# Trocador
echo "Setup dependency: Trocador"

View File

@ -0,0 +1 @@
{}