Use full module name when generating docs
@@ -39,7 +39,7 @@ src/crd:
mkdir -p src/crd
src/crd/index.md: $(API_FILTERED_SRCS) src/crd
- $(MAKE) gen_crd_docs API_DIR="../.." OUT_FILE=$@
+ $(MAKE) gen_crd_docs API_DIR="$(shell go list -m)" OUT_FILE=$@
.PHONY: gen_crd_docs
gen_crd_docs: $(GENCRDAPIREFERENCEDOCS) src/crd $(GENCRDAPIREFERENCEDOCS_SRCS)
