From 76be0323ae7101f666f0e335bbedb3d9d1e9e62c Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Mon, 24 Aug 2026 15:52:48 +0530 Subject: [PATCH] DOC-387: Align extensions workflow with new IA Move the generated extensions page into the customization hierarchy so automated updates remain discoverable after the AWS documentation restructure. --- .github/workflows/update-extensions-docs.yml | 2 +- astro.config.mjs | 4 ---- public/_redirects | 6 ++++-- scripts/generate_extensions_docs.py | 4 +++- scripts/redirects/_redirects | 2 +- scripts/redirects/redirects_config.json | 2 +- .../integrations}/extensions/official-extensions.md | 0 7 files changed, 10 insertions(+), 10 deletions(-) rename src/content/docs/aws/{tooling => customization/integrations}/extensions/official-extensions.md (100%) diff --git a/.github/workflows/update-extensions-docs.yml b/.github/workflows/update-extensions-docs.yml index c32a49fa3..46d24d53d 100644 --- a/.github/workflows/update-extensions-docs.yml +++ b/.github/workflows/update-extensions-docs.yml @@ -48,7 +48,7 @@ jobs: # Check if there are changed files # Check against the PR branch if it exists, otherwise against the target branch mkdir -p resources - FILE_TO_CHECK="src/content/docs/aws/tooling/extensions/official-extensions.md" + FILE_TO_CHECK="src/content/docs/aws/customization/integrations/extensions/official-extensions.md" (git diff --name-only origin/extensions-docs-auto-updates "$FILE_TO_CHECK" 2>/dev/null || git diff --name-only "origin/$TARGET_BRANCH" "$FILE_TO_CHECK" 2>/dev/null) | tee resources/diff-check.log echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT cat resources/diff-check.log diff --git a/astro.config.mjs b/astro.config.mjs index 48619de60..8f13eb0cc 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -615,10 +615,6 @@ export default defineConfig({ '/aws/customization/integrations/extensions', }, }, - { - label: 'Official Extensions', - link: 'https://app.localstack.cloud/extensions/library/', - }, ], }, { diff --git a/public/_redirects b/public/_redirects index dc5fe53e1..f09a89759 100644 --- a/public/_redirects +++ b/public/_redirects @@ -204,7 +204,7 @@ /references/coverage/coverage_transfer/ /aws/services/transfer/ 301 /references/coverage/coverage_codeconnections/ /aws/services/codeconnections/ 301 /user-guide/aws/athena/ /aws/services/athena/ 301 -/user-guide/extensions/official-extensions/ /aws/customization/integrations/extensions/extensions-library/ 301 +/user-guide/extensions/official-extensions/ /aws/customization/integrations/extensions/official-extensions/ 301 /user-guide/aws/textract/ /aws/services/textract/ 301 /tutorials/iam-policy-stream/ /aws/tutorials/iam-policy-stream/ 301 /references/coverage/coverage_ses/ /aws/services/ses/ 301 @@ -604,7 +604,7 @@ /references/coverage/coverage_transfer /aws/services/transfer/ 301 /references/coverage/coverage_codeconnections /aws/services/codeconnections/ 301 /user-guide/aws/athena /aws/services/athena/ 301 -/user-guide/extensions/official-extensions /aws/customization/integrations/extensions/extensions-library/ 301 +/user-guide/extensions/official-extensions /aws/customization/integrations/extensions/official-extensions/ 301 /user-guide/aws/textract /aws/services/textract/ 301 /tutorials/iam-policy-stream /aws/tutorials/iam-policy-stream/ 301 /references/coverage/coverage_ses /aws/services/ses/ 301 @@ -908,6 +908,8 @@ /aws/tooling/extensions/extensions-library /aws/customization/integrations/extensions/extensions-library/ 301 /aws/tooling/extensions/extensions-library/ /aws/customization/integrations/extensions/extensions-library/ 301 /aws/tooling/extensions/ /aws/customization/integrations/extensions/ 301 +/aws/tooling/extensions/official-extensions /aws/customization/integrations/extensions/official-extensions/ 301 +/aws/tooling/extensions/official-extensions/ /aws/customization/integrations/extensions/official-extensions/ 301 /aws/tooling/extensions/mailhog /aws/customization/integrations/extensions/mailhog/ 301 /aws/tooling/extensions/mailhog/ /aws/customization/integrations/extensions/mailhog/ 301 /aws/tooling/extensions/developing-extensions /aws/customization/integrations/extensions/ 301 diff --git a/scripts/generate_extensions_docs.py b/scripts/generate_extensions_docs.py index e2ad2ba9a..d83281a23 100644 --- a/scripts/generate_extensions_docs.py +++ b/scripts/generate_extensions_docs.py @@ -28,7 +28,9 @@ from pathlib import Path # Output path for the generated documentation -DEFAULT_OUTPUT_PATH = Path("src/content/docs/aws/tooling/extensions/official-extensions.md") +DEFAULT_OUTPUT_PATH = Path( + "src/content/docs/aws/customization/integrations/extensions/official-extensions.md" +) # LocalStack Platform API endpoint that returns the extensions marketplace. MARKETPLACE_URL = "https://api.localstack.cloud/v1/extensions/marketplace" diff --git a/scripts/redirects/_redirects b/scripts/redirects/_redirects index 1bdb586b1..f253be346 100644 --- a/scripts/redirects/_redirects +++ b/scripts/redirects/_redirects @@ -206,7 +206,7 @@ /references/coverage/coverage_transfer/ /aws/services/transfer 301 /references/coverage/coverage_codeconnections/ /aws/services/codeconnections/ 301 /user-guide/aws/athena/ /aws/services/athena 301 -/user-guide/extensions/official-extensions/ /aws/tooling/extensions/official-extensions 301 +/user-guide/extensions/official-extensions/ /aws/customization/integrations/extensions/official-extensions/ 301 /user-guide/aws/textract/ /aws/services/textract 301 /tutorials/iam-policy-stream/ /aws/tutorials/iam-policy-stream 301 /references/coverage/coverage_ses/ /aws/services/ses 301 diff --git a/scripts/redirects/redirects_config.json b/scripts/redirects/redirects_config.json index e50c96e2a..156a3b6e2 100644 --- a/scripts/redirects/redirects_config.json +++ b/scripts/redirects/redirects_config.json @@ -1036,7 +1036,7 @@ }, { "old_link": "/user-guide/extensions/official-extensions/", - "new_link": "/aws/tooling/extensions/official-extensions", + "new_link": "/aws/customization/integrations/extensions/official-extensions/", "status_code": 301 }, { diff --git a/src/content/docs/aws/tooling/extensions/official-extensions.md b/src/content/docs/aws/customization/integrations/extensions/official-extensions.md similarity index 100% rename from src/content/docs/aws/tooling/extensions/official-extensions.md rename to src/content/docs/aws/customization/integrations/extensions/official-extensions.md