Skip to content

Commit 9ba9113

Browse files
committed
Ensure that script can be called from anywhere
1 parent 3911746 commit 9ba9113

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vertical-pod-autoscaler/hack/generate-api-docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ else
3838
CONTROLLER_GEN=$(which crd-ref-docs)
3939
fi
4040

41+
cd "$(dirname "${BASH_SOURCE[0]}")/.."
4142
crd-ref-docs \
4243
--source-path=pkg/apis/ \
4344
--config=./hack/api-docs/config.yaml \

0 commit comments

Comments
 (0)