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.
1 parent 20fea94 commit b25f00eCopy full SHA for b25f00e
hack/api-docs/generate.sh
@@ -25,8 +25,8 @@ GOPATH=${GOPATH:-$(go env GOPATH)}
25
GOBIN=${GOBIN:-$(go env GOBIN)}
26
GOBIN=${GOBIN:-${GOPATH}/bin}
27
28
-readonly HERE=$(cd $(dirname $0) && pwd)
29
-readonly REPO=$(cd ${HERE}/../.. && pwd)
+readonly HERE=$(cd "$(dirname $0)" && pwd)
+readonly REPO=$(cd "${HERE}/../.." && pwd)
30
31
gendoc::build() {
32
go install github.com/ahmetb/gen-crd-api-reference-docs
@@ -37,8 +37,8 @@ gendoc::exec() {
37
local readonly confdir="${REPO}/hack/api-docs"
38
39
${GOBIN}/gen-crd-api-reference-docs \
40
- -template-dir ${confdir} \
41
- -config ${confdir}/config.json \
+ -template-dir "${confdir}" \
+ -config "${confdir}/config.json" \
42
"$@"
43
}
44
0 commit comments