mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-20 01:01:16 -05:00
add native hugo serve target
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user