This PR adds serve, image and image-run targets to the Makefile. This allows you to build and run a container locally with the latest Hugo version to serve the Helm documentation.
Use make image to build the container locally. make image-run [target] allows you to run specific targets from the Makefile using the container; running make image-run is the same as make image-run serve, it runs Hugo in the container to serve the documentation locally.
In case you already have Hugo installed, feel free to use it with the make serve target.
Resolve: #1591
This PR adds
serve
,image
andimage-run
targets to the Makefile. This allows you to build and run a container locally with the latest Hugo version to serve the Helm documentation.Use
make image
to build the container locally.make image-run [target]
allows you to run specific targets from the Makefile using the container; runningmake image-run
is the same asmake image-run serve
, it runs Hugo in the container to serve the documentation locally.In case you already have Hugo installed, feel free to use it with the
make serve
target.