-
Install Git.
-
Install the extended edition of Hugo for your platform.
-
Install Go.
-
Clone this repository (or your fork):
git clone https://github.com/verrazzano/docs.git
Run a local Hugo server with live reloading.
hugo server --environment local
Access the local Hugo server to see the rendered docs. The rendered docs will refresh when you save your edits.
open http://localhost:1313
To update the generated API reference documentation follow these steps:
- Check out a docs repo feature branch.
git checkout -b <branch-name>
- Run a
Makefile
target to generate the API reference documentation. Specify the verrazzano repo branch from which to generate the documentation.
make generate-api BRANCH=<branch-name>
- If new versions of the API reference documentation are generated, then commit those changes, push the changes, and submit a pull request.