enable makefiles for autogenerated doc

This commit is contained in:
Willy Kloucek
2020-11-12 15:33:28 +01:00
parent 026969bc25
commit f8fc280bd3
8 changed files with 18 additions and 7 deletions

View File

@@ -137,7 +137,7 @@ release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: test-acceptance-webui
test-acceptance-webui:

11
docs/Makefile Normal file
View File

@@ -0,0 +1,11 @@
.PHONY: docs-copy
docs-copy:
mkdir -p hugo/content/; \
cd hugo; \
git init; \
git remote rm origin; \
git remote add origin https://github.com/owncloud/owncloud.github.io; \
git fetch --depth=1; \
git checkout origin/source -f; \
rsync -ax --delete --exclude hugo/ --exclude Makefile ../. content/; \

View File

@@ -132,7 +132,7 @@ release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch:

View File

@@ -133,7 +133,7 @@ release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch:

View File

@@ -133,7 +133,7 @@ release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch:

View File

@@ -140,7 +140,7 @@ test-acceptance-webui:
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch:

View File

@@ -133,7 +133,7 @@ release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch:

View File

@@ -139,7 +139,7 @@ proto-docs-build:
.PHONY: config-docs-generate
config-docs-generate:
# go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: watch
watch: