From a9e93fcd25970e13ff3a1e855d5d3c5d06f41f79 Mon Sep 17 00:00:00 2001 From: dprotaso Date: Fri, 10 Mar 2023 15:53:11 -0500 Subject: [PATCH] fix api docs generation with go1.20 Context https://github.com/ahmetb/gen-crd-api-reference-docs/issues/61 --- pkg/apis/doc.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkg/apis/doc.go diff --git a/pkg/apis/doc.go b/pkg/apis/doc.go new file mode 100644 index 00000000000..86c8757eae8 --- /dev/null +++ b/pkg/apis/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2023 The Knative Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file is need to work around a gengo/go1.20 issue +// details https://github.com/ahmetb/gen-crd-api-reference-docs/issues/61 + +package apis