From 6cc53704e87decb757d8a6d809b49ebabcac7c3a Mon Sep 17 00:00:00 2001 From: Szymon Fugas Date: Tue, 15 Jun 2021 16:32:43 +0200 Subject: [PATCH] Makefile goal to run docs locally (#578) * Add makefile goal to run docs locally --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 94aaae5a..24d1f402 100644 --- a/Makefile +++ b/Makefile @@ -442,6 +442,11 @@ generate-docs: hugo ## Re-generate docs directory from the website directory cd website && npm install $(HUGO_PATH)/hugo -s website -d ../docs +.PHONY: run-docs +run-docs: hugo + @echo "+ $@" + cd website && $(HUGO_PATH)/hugo server -D + ##################### FROM OPERATOR SDK ######################## # Install CRDs into a cluster install-crds: manifests kustomize