Skip to content

Commit

Permalink
Bump the crd documentation generator
Browse files Browse the repository at this point in the history
Bumping to make it compatible to go 1.22 and re-generating the docs.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
  • Loading branch information
fedepaol committed Jun 19, 2024
1 parent 1c4c80a commit 62822a4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 42 deletions.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ def _align_helm_crds(source, output):
@task
def generateapidocs(ctx):
"""Generates the docs for the CRDs"""
run("go install github.com/elastic/crd-ref-docs@v0.0.10")
run("go install github.com/elastic/crd-ref-docs@v0.0.12")
run('crd-ref-docs --source-path=./api --config=website/generatecrddoc/crdgen.yaml --templates-dir=website/generatecrddoc/template --renderer markdown --output-path=/tmp/generated_apidoc.md')
run("cat website/generatecrddoc/prefix.html /tmp/generated_apidoc.md > website/content/apis/_index.md")

Expand Down
Loading

0 comments on commit 62822a4

Please sign in to comment.