From f8fc280bd3305ca91e15bf0fc5bb6ccddaef1e21 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Thu, 12 Nov 2020 15:33:28 +0100 Subject: [PATCH] enable makefiles for autogenerated doc --- accounts/Makefile | 2 +- docs/Makefile | 11 +++++++++++ glauth/Makefile | 2 +- ocis-phoenix/Makefile | 2 +- ocs/Makefile | 2 +- settings/Makefile | 2 +- store/Makefile | 2 +- thumbnails/Makefile | 2 +- 8 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 docs/Makefile diff --git a/accounts/Makefile b/accounts/Makefile index 1e9a46955..d115aed0d 100644 --- a/accounts/Makefile +++ b/accounts/Makefile @@ -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: diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 000000000..6475bef92 --- /dev/null +++ b/docs/Makefile @@ -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/; \ diff --git a/glauth/Makefile b/glauth/Makefile index 4d2116740..cb7734c30 100644 --- a/glauth/Makefile +++ b/glauth/Makefile @@ -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: diff --git a/ocis-phoenix/Makefile b/ocis-phoenix/Makefile index bc80593a5..c663e8b07 100644 --- a/ocis-phoenix/Makefile +++ b/ocis-phoenix/Makefile @@ -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: diff --git a/ocs/Makefile b/ocs/Makefile index a6c7f2c06..e08e013c1 100644 --- a/ocs/Makefile +++ b/ocs/Makefile @@ -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: diff --git a/settings/Makefile b/settings/Makefile index ec41e8774..b3cc9e57c 100644 --- a/settings/Makefile +++ b/settings/Makefile @@ -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: diff --git a/store/Makefile b/store/Makefile index d6037e7c2..773edd8b0 100644 --- a/store/Makefile +++ b/store/Makefile @@ -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: diff --git a/thumbnails/Makefile b/thumbnails/Makefile index 891eb0c60..3489c2169 100644 --- a/thumbnails/Makefile +++ b/thumbnails/Makefile @@ -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: