forked from lightninglabs/lightning-dev-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_and_render.sh
executable file
·25 lines (19 loc) · 977 Bytes
/
update_and_render.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# Fetch the latest installation docs
curl -o INSTALL.md -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/docs/INSTALL.md
# cp ~/lightning/ln-lnd/src/github.com/lightningnetwork/lnd/docs/INSTALL.md .
# Fetch the latest Docker guide
curl -o DOCKER-README.md -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/docker/README.md
# cp ~/lightning/ln-lnd/src/github.com/lightningnetwork/lnd/docker/README.md DOCKER-README.md
# Fetch the latest RPC docs
curl -o python.md -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/docs/grpc/python.md
# cp ~/lightning/ln-lnd/src/github.com/lightningnetwork/lnd/docs/grpc/python.md .
curl -o javascript.md -s https://raw.githubusercontent.com/lightningnetwork/lnd/master/docs/grpc/javascript.md
# cp ~/lightning/ln-lnd/src/github.com/lightningnetwork/lnd/docs/grpc/javascript.md .
# Render docs
./render.py
# Clean up
rm INSTALL.md
rm python.md
rm javascript.md
rm DOCKER-README.md