Skip to content

Commit

Permalink
Add LNDhub API plugin docs (#1439)
Browse files Browse the repository at this point in the history
Re-adding the docs for this plugin, which I'll make available with v2 again.
  • Loading branch information
dennisreimann authored Oct 30, 2024
1 parent 1984beb commit 86a9be8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/docs/Drupal
/docs/DynamicReports
/docs/Grandnode
/docs/LNDhubAPI
/docs/NBXplorer
/docs/Nopcommerce
/docs/Nostr
Expand Down
3 changes: 2 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ const sidebarUserGuide = [
collapsable: false,
initialOpenGroupIndex: -1,
children: [
['/LNDhubAPI/', 'LNDhub API'],
['/Nostr/', 'Nostr'],
['/TicketTailor/', 'TicketTailor'],
['/Trocador/', 'Trocador'],
Expand All @@ -145,7 +146,7 @@ const sidebarUserGuide = [
[
`https://dev.blink.sv/examples/btcpayserver-plugin`,
'Blink',
{ type: 'external' }
{ type: 'external' }
],
]
},
Expand Down
1 change: 1 addition & 0 deletions docs/.vuepress/preprocessMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const EXTERNAL_DOCS = {
Vault: 'https://github.com/btcpayserver/BTCPayServer.Vault',
Transmuter: 'https://github.com/btcpayserver/btcTransmuter',
Zapier: 'https://github.com/btcpayserver/zapier',
LNDhubAPI: 'https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api',
Nostr: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.NIP05',
TicketTailor: 'https://github.com/Kukks/BTCPayServerPlugins/tree/master/Plugins/BTCPayServer.Plugins.TicketTailor',
Trocador: 'https://github.com/saltrafael/trocador-plugin',
Expand Down
2 changes: 2 additions & 0 deletions docs/Development/Plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,6 @@ 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)
- [rockstardev' plugins](https://github.com/rockstardev/BTCPayServerPlugins.RockstarDev)
- [LNDhub API](https://github.com/dennisreimann/btcpayserver-plugin-lndhub-api)
- [Trocador.app](https://github.com/saltrafael/trocador-plugin)
22 changes: 21 additions & 1 deletion setup-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ VAULT_DIR="$BASE_DIR/deps/vault"
TRANSMUTER_DIR="$BASE_DIR/deps/transmuter"
ZAPIER_DIR="$BASE_DIR/deps/zapier"
TROCADOR_DIR="$BASE_DIR/deps/trocador"
LNDHUBAPI_DIR="$BASE_DIR/deps/lndhub-api"
KUKKS_DIR="$BASE_DIR/deps/kukks"
TOBSES_DIR="$BASE_DIR/deps/tobses"
SMARTSTORE_DIR="$BASE_DIR/deps/smartstore"
Expand Down Expand Up @@ -192,6 +193,25 @@ for file in "$DOCS_DIR"/Zapier/*.md; do
update_external "$file" https://github.com/btcpayserver/zapier "$DOCS_DIR"/Zapier/
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"
Expand Down Expand Up @@ -286,7 +306,7 @@ 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"

Expand Down

0 comments on commit 86a9be8

Please sign in to comment.