git clone [email protected]:bitlayer-org/bitlayer-org.github.io.git
cd bitlayer-org.github.io
git checkout -b main origin/main
# edit docs locally
just skip this step if preview locally is not needed.
make sure you have node, python and npm installed on your system.
cd bitlayer-org.github.io
npm ci
npm run build
cd build
python -m SimpleHTTPServer 8000 # python3 -m http.server 8000
# http://127.0.0.1:8000
cd bitlayer-org.github.io
git add .
git commit -m"update doc"
git push
# auto publish