Dependencies:
You can build the doc in the following way:
# pre-requisites
cd stackgres-k8s/src
./mvnw clean package -DskipTests
sh restapi/src/main/swagger/build.sh
cd -
doc/build.sh
docker run -v "$(pwd)/doc:/src" -p 8313:8313 klakegg/hugo:0.81.0-ubuntu server --bind 0.0.0.0 --port 8313
This will copy the required CRD YAML files to the doc sources and start a Hugo server to preview the docs. Then you can go to http://localhost:8313