diff --git a/grpc_apis/ocis/messages/accounts/v0/grpc.md b/grpc_apis/ocis/messages/accounts/v0/grpc.md index be7bf454f02..c73837c044b 100644 --- a/grpc_apis/ocis/messages/accounts/v0/grpc.md +++ b/grpc_apis/ocis/messages/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.accounts.v0" url: /grpc_apis/ocis_messages_accounts_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 5edd320ef53..2b1be6614d6 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 9548a7f67fc..3053fd64d26 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index 9623eca11c9..3ee875254a2 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index d07464a61f6..8f68b381c18 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/accounts/v0/grpc.md b/grpc_apis/ocis/services/accounts/v0/grpc.md index f47bcc2a90a..6ea18b42f44 100644 --- a/grpc_apis/ocis/services/accounts/v0/grpc.md +++ b/grpc_apis/ocis/services/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.accounts.v0" url: /grpc_apis/ocis_services_accounts_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index 5786adb8787..06f84b47bc8 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index 5634ea52779..bbe1d33d1bb 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 2e4af349862..6af4094eae9 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index 5e7a6f2d9e3..b2165ab0afb 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-05-04T14:33:12Z +date: 2022-05-04T14:41:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/helpers/adoc-generator.go.tmpl b/helpers/adoc-generator.go.tmpl index 8f63a391b25..07e29c8ced8 100644 --- a/helpers/adoc-generator.go.tmpl +++ b/helpers/adoc-generator.go.tmpl @@ -34,7 +34,7 @@ if err != nil { log.Fatal(err) } replacer := strings.NewReplacer( - "github.com/owncloud/ocis/extensions/", "", + "github.com/owncloud/ocis/v2/extensions/", "", "/pkg/config/defaults", "", ) var fields []ConfigField @@ -95,7 +95,7 @@ func GetAnnotatedVariables(s interface{}) []ConfigField { // and this should not be an issue then if !value.IsZero() && value.Elem().CanInterface() { fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...) - } + } case reflect.Struct: fields = append(fields, GetAnnotatedVariables(value.Interface())...) } diff --git a/helpers/configenvextractor.go b/helpers/configenvextractor.go index f8f071ae02e..358fc005ba6 100644 --- a/helpers/configenvextractor.go +++ b/helpers/configenvextractor.go @@ -25,7 +25,7 @@ func main() { log.Fatal(err) } replacer := strings.NewReplacer( - "../../", "github.com/owncloud/ocis/", + "../../", "github.com/owncloud/ocis/v2/", "/defaultconfig.go", "", ) for i := range paths { diff --git a/helpers/environment-variable-docs-generator.go.tmpl b/helpers/environment-variable-docs-generator.go.tmpl index 8fd6c072b27..bf640ec058b 100644 --- a/helpers/environment-variable-docs-generator.go.tmpl +++ b/helpers/environment-variable-docs-generator.go.tmpl @@ -28,7 +28,7 @@ if err != nil { log.Fatal(err) } replacer := strings.NewReplacer( - "github.com/owncloud/ocis/extensions/", "", + "github.com/owncloud/ocis/v2/extensions/", "", "/pkg/config/defaults", "", ) var fields []ConfigField @@ -84,7 +84,7 @@ func GetAnnotatedVariables(s interface{}) []ConfigField { // and this should not be an issue then if !value.IsZero() && value.Elem().CanInterface() { fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...) - } + } case reflect.Struct: fields = append(fields, GetAnnotatedVariables(value.Interface())...) } diff --git a/helpers/example-config-generator.go.tmpl b/helpers/example-config-generator.go.tmpl index 5e883d4b81a..8be5b742957 100644 --- a/helpers/example-config-generator.go.tmpl +++ b/helpers/example-config-generator.go.tmpl @@ -15,7 +15,7 @@ import ( func main() { replacer := strings.NewReplacer( - "github.com/owncloud/ocis/extensions/", "", + "github.com/owncloud/ocis/v2/extensions/", "", "/pkg/config/defaults", "", ) cfg := map[string]string{