From 3ee14f63c91e9f2f570cf78d2fb6919578c54f66 Mon Sep 17 00:00:00 2001 From: Meg McRoberts Date: Wed, 29 Mar 2023 02:33:14 -0700 Subject: [PATCH] tried to fix autogenerate script Signed-off-by: Meg McRoberts --- .github/scripts/generate-crd-docs/generate-crd-docs.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/generate-crd-docs/generate-crd-docs.sh b/.github/scripts/generate-crd-docs/generate-crd-docs.sh index d9a830ec95..a893df2b1a 100755 --- a/.github/scripts/generate-crd-docs/generate-crd-docs.sh +++ b/.github/scripts/generate-crd-docs/generate-crd-docs.sh @@ -7,7 +7,7 @@ # # Inputs: None -# renovate: datasource=github-releases depName=elastic/api-ref-docs +# renovate: datasource=github-releases depName=elastic/crd-ref-docs GENERATOR_VERSION=master API_DOMAIN="keptn.sh" API_ROOT='operator/apis/' @@ -16,7 +16,7 @@ RENDERER='markdown' RENDERER_CONFIG_FILE='.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml' echo "Checking if code generator tool is installed..." -test -s api-ref-docs || go install github.com/elastic/api-ref-docs@${GENERATOR_VERSION} +test -s crd-ref-docs || go install github.com/elastic/crd-ref-docs@${GENERATOR_VERSION} echo "Running API docs auto-generator..." @@ -51,7 +51,7 @@ for api_group in "$API_ROOT"*; do mkdir -p "$OUTPUT_PATH" echo "Generating API docs for $sanitized_api_group.$API_DOMAIN/$sanitized_api_version..." - api-ref-docs \ + crd-ref-docs \ --templates-dir "$TEMPLATE_DIR" \ --source-path="./$api_version" \ --renderer="$RENDERER" \