add native hugo serve target

This commit is contained in:
Willy Kloucek
2021-02-23 12:28:03 +01:00
parent 52ebb7c611
commit 19cfa326fd

View File

@@ -24,6 +24,11 @@ docs-copy: ## copy docs to hugo
docs-serve: docs-generate docs-copy ## serve docs with hugo
@docker run --rm --network host -v $(shell pwd)/hugo:/src owncloudci/hugo:0 server
.PHONY: docs-serve-native
docs-serve-native: docs-copy
cd hugo && hugo server
.PHONY: clean
clean: ## clean up docs build artifacts
@rm -rf hugo