Skip to content

Commit

Permalink
fix API docs link
Browse files Browse the repository at this point in the history
v0.3.0 of gen-crd-api-reference-docs has a bug that leads to it
rendering incorrect links for local types. This is fixed on the master
branch but not released, yet, so I'm pinning the version of the tool
to the latest current commit.

Signed-off-by: Max Jonas Werner <[email protected]>
  • Loading branch information
Max Jonas Werner authored and makkes committed Apr 29, 2022
1 parent 89a4e52 commit 1e83f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ controller-gen: ## Download controller-gen locally if necessary.
GEN_CRD_API_REFERENCE_DOCS = $(GOBIN)/gen-crd-api-reference-docs
.PHONY: gen-crd-api-reference-docs
gen-crd-api-reference-docs: ## Download gen-crd-api-reference-docs locally if necessary
$(call go-install-tool,$(GEN_CRD_API_REFERENCE_DOCS),github.com/ahmetb/gen-crd-api-reference-docs@v0.3.0)
$(call go-install-tool,$(GEN_CRD_API_REFERENCE_DOCS),github.com/ahmetb/gen-crd-api-reference-docs@3f29e6853552dcf08a8e846b1225f275ed0f3e3b)

ENVTEST = $(GOBIN)/setup-envtest
.PHONY: envtest
Expand Down
4 changes: 2 additions & 2 deletions docs/api/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -1630,8 +1630,8 @@ Artifact
<td>
<code>includedArtifacts</code><br>
<em>
<a href="#source.toolkit.fluxcd.io/v1beta2.*./api/v1beta2.Artifact">
[]*./api/v1beta2.Artifact
<a href="#source.toolkit.fluxcd.io/v1beta2.Artifact">
[]Artifact
</a>
</em>
</td>
Expand Down

0 comments on commit 1e83f0e

Please sign in to comment.