Makefile goal to run docs locally (#578)

* Add makefile goal to run docs locally
This commit is contained in:
Szymon Fugas 2021-06-15 16:32:43 +02:00 committed by GitHub
parent ec6e288673
commit 6cc53704e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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