From 577494616e06a1ff6e74e5b1619b4ab1a021aa01 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Wed, 11 Mar 2026 17:27:46 -0500 Subject: [PATCH] fix(api-docs): exclude root .config.yml from Redoc HTML generation The find command in generate-api-docs.sh matched the Redocly root config (api-docs/.config.yml) which has no apis key, causing yq to fail with "cannot get keys of \!\!null". --- api-docs/generate-api-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs/generate-api-docs.sh b/api-docs/generate-api-docs.sh index 02faa9949..8f5084c62 100755 --- a/api-docs/generate-api-docs.sh +++ b/api-docs/generate-api-docs.sh @@ -167,7 +167,7 @@ echo "Step 2: Generating Redoc HTML" echo "========================================" # Iterate product directories that contain a .config.yml. -for configPath in $(find . -name '.config.yml' -not -path '*/node_modules/*' -not -path '*/openapi/*'); do +for configPath in $(find . -name '.config.yml' -not -path './.config.yml' -not -path '*/node_modules/*' -not -path '*/openapi/*'); do productDir=$(dirname "$configPath") # Strip leading ./ productDir="${productDir#./}"