Makefile goal to run docs locally (#578)
* Add makefile goal to run docs locally
This commit is contained in:
parent
ec6e288673
commit
6cc53704e8
5
Makefile
5
Makefile
|
|
@ -442,6 +442,11 @@ generate-docs: hugo ## Re-generate docs directory from the website directory
|
||||||
cd website && npm install
|
cd website && npm install
|
||||||
$(HUGO_PATH)/hugo -s website -d ../docs
|
$(HUGO_PATH)/hugo -s website -d ../docs
|
||||||
|
|
||||||
|
.PHONY: run-docs
|
||||||
|
run-docs: hugo
|
||||||
|
@echo "+ $@"
|
||||||
|
cd website && $(HUGO_PATH)/hugo server -D
|
||||||
|
|
||||||
##################### FROM OPERATOR SDK ########################
|
##################### FROM OPERATOR SDK ########################
|
||||||
# Install CRDs into a cluster
|
# Install CRDs into a cluster
|
||||||
install-crds: manifests kustomize
|
install-crds: manifests kustomize
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue