We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db597b1 + 55eb652 commit 27d00f4Copy full SHA for 27d00f4
vertical-pod-autoscaler/hack/generate-api-docs.sh
@@ -31,15 +31,15 @@ trap cleanup EXIT
31
if [[ -z $(which crd-ref-docs) ]]; then
32
(
33
cd $WORKSPACE
34
- go install github.com/elastic/crd-ref-docs@latest
+ go install github.com/elastic/crd-ref-docs@latest
35
)
36
- CONTROLLER_GEN=${GOBIN:-$(go env GOPATH)/bin}/crd-ref-docs
+ export CONTROLLER_GEN=${GOBIN:-$(go env GOPATH)/bin}/crd-ref-docs
37
else
38
- CONTROLLER_GEN=$(which crd-ref-docs)
+ export CONTROLLER_GEN=$(which crd-ref-docs)
39
fi
40
41
cd "$(dirname "${BASH_SOURCE[0]}")/.."
42
-crd-ref-docs \
+$CONTROLLER_GEN \
43
--source-path=pkg/apis/ \
44
--config=./hack/api-docs/config.yaml \
45
--renderer=markdown \
0 commit comments