-
Go to the Hugo releases and grab the correct version
-
Follow installation instructions
-
Check hugo is installed correctly
hugo version
git clone --recurse-submodules git@github.com:lightstreams-network/docs.git
cd docs/public
git checkout master
cd ..
Once you have Hugo installed, you can start editing the files in the content
folder.
hugo server
Run the create-cli-docs command (for Lightstreams developers only):
./bin/create-cli-docs
./bin/deploy-gh-pages
git add .
git commit -m "Updated xyz"
Change the necessary content in content
folder, then:
cd public
git reset --hard origin/master
cd .. # docs project folder
hugo
cd public
git add .
git commit -m "rebuilding site `date +"%Y-%m-%d %T"`"
git push origin master
cd ..
git add .
git commit -m "Updates content + public submodule ref"
git push origin master