add documentation

This commit is contained in:
Willy Kloucek
2020-12-30 17:13:15 +01:00
parent 48f8bf3ea2
commit 2ddde64205
3 changed files with 320 additions and 4 deletions
-4
View File
@@ -37,10 +37,6 @@ docs-copy: ## copy docs to hugo
git checkout origin/source -f; \
rsync -ax --delete --exclude hugo/ --exclude Makefile --exclude .gitignore --exclude README.md ../. content/; \
.PHONY: docs-serve
docs-serve: config-docs-generate docs-copy
docker run --rm --network host -v $(shell pwd)/hugo:/src owncloudci/hugo:0 server
.PHONY: docs-serve
docs-serve: config-docs-generate docs-copy ## serve docs with hugo
@docker run --rm --network host -v $(shell pwd)/hugo:/src owncloudci/hugo:0 server