diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 5c535fcdfbb..c51e628ac53 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 4cacaf846fd..3e31c114c89 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 40bf92899da..5c8643eca7f 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 cfa8b752885..9ddd68047a1 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 42fd1972fb2..449c1a004d3 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 36fdda8ccb2..610ead479cd 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 f81c6625d7b..19d3e7b2c70 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z 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 3955528df20..9de39330fd9 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-12-08T10:36:51Z +date: 2022-12-08T13:46:16Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/helpers/adoc-generator.go.tmpl b/helpers/adoc-generator.go.tmpl index 7ab267dd2c6..0ed23f86e53 100644 --- a/helpers/adoc-generator.go.tmpl +++ b/helpers/adoc-generator.go.tmpl @@ -2,7 +2,6 @@ package main import ( "fmt" - "io/ioutil" "log" "os" "path/filepath" @@ -40,7 +39,7 @@ type templateData struct { func main() { fmt.Println("Generating adoc documentation for environment variables:") -content, err := ioutil.ReadFile("../../docs/templates/ADOC.tmpl") +content, err := os.ReadFile("../../docs/templates/ADOC.tmpl") if err != nil { log.Fatal(err) } diff --git a/helpers/configenvextractor.go b/helpers/configenvextractor.go index b3fcbffd6db..0e9f2e4b7db 100644 --- a/helpers/configenvextractor.go +++ b/helpers/configenvextractor.go @@ -2,7 +2,6 @@ package main import ( "fmt" - "io/ioutil" "log" "os" "os/exec" @@ -41,7 +40,7 @@ func main() { } func GenerateIntermediateCode(templatePath string, intermediateCodePath string, paths []string) { - content, err := ioutil.ReadFile(templatePath) + content, err := os.ReadFile(templatePath) if err != nil { log.Fatal(err) } diff --git a/helpers/environment-variable-docs-generator.go.tmpl b/helpers/environment-variable-docs-generator.go.tmpl index af31091abf9..475a6d760db 100644 --- a/helpers/environment-variable-docs-generator.go.tmpl +++ b/helpers/environment-variable-docs-generator.go.tmpl @@ -3,7 +3,6 @@ package main import ( "fmt" "html" - "io/ioutil" "log" "os" "path/filepath" @@ -24,7 +23,7 @@ type ConfigField struct { func main() { fmt.Println("Generating documentation for environment variables:") -content, err := ioutil.ReadFile("../../docs/templates/CONFIGURATION.tmpl") +content, err := os.ReadFile("../../docs/templates/CONFIGURATION.tmpl") if err != nil { log.Fatal(err) }