Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,6 @@ export default defineConfig({
label: 'Overview',
slug: 'aws/developer-tools/running-localstack',
},
{
label: 'LocalStack CLI',
slug: 'aws/developer-tools/running-localstack/localstack-cli',
},
{
label: 'lstk CLI',
slug: 'aws/developer-tools/running-localstack/lstk',
Expand All @@ -498,6 +494,10 @@ export default defineConfig({
label: 'LocalStack Desktop',
slug: 'aws/developer-tools/running-localstack/localstack-desktop',
},
{
label: 'Deprecated LocalStack CLI',
slug: 'aws/developer-tools/running-localstack/localstack-cli',
},
],
},
{
Expand Down
50 changes: 28 additions & 22 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/applications/appsync-graphql-apis-for-dynamodb-and-rds-aurora-postgresql/ https://github.com/localstack-samples/sample-appsync-graphql-api 301
/user-guide/aws/cloudfront/ /aws/services/cloudfront/ 301
/applications/note-taking-application-using-aws-sdk-for-javascript/ https://github.com/localstack-samples/sample-notes-app-dynamodb-lambda-apigateway 301
/user-guide/state-management/export-import-state/ /aws/developer-tools/snapshots/export-import-state/ 301
/user-guide/state-management/export-import-state/ /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/references/coverage/coverage_s3control/ /aws/services/s3/ 301
/references/custom-tls-certificates/ /aws/developer-tools/security-testing/custom-tls-certificates/ 301
/references/coverage/coverage_codecommit/ /aws/services/codecommit/ 301
Expand Down Expand Up @@ -134,7 +134,7 @@
/user-guide/aws/s3/ /aws/services/s3/ 301
/user-guide/lambda-tools/vscode-extension/ /aws/connecting/ides/vscode-extension/ 301
/user-guide/chaos-engineering/ /aws/developer-tools/chaos-engineering/ 301
/persistence/supported/ /aws/developer-tools/snapshots/persistence/ 301
/persistence/supported/ /aws/developer-tools/snapshots/service-coverage/ 301
/user-guide/aws/ce/ /aws/services/ce/ 301
/user-guide/aws/kinesisanalyticsv2/ /aws/services/kinesisanalyticsv2/ 301
/user-guide/state-management/cloud-pods/ /aws/developer-tools/snapshots/cloud-pods/ 301
Expand Down Expand Up @@ -194,7 +194,7 @@
/user-guide/web-application/resource-browser/ /aws/connecting/console/resource-browser/ 301
/applications/loan-broker-application-with-aws-step-functions-dynamodb-lambda-sqs-and-sns/ https://github.com/localstack-samples/sample-loan-broker-stepfunctions-lambda 301
/references/coverage/coverage_resource-groups/ /aws/services/resource-groups/ 301
/user-guide/state-management/support/ /aws/developer-tools/snapshots/persistence/ 301
/user-guide/state-management/support/ /aws/developer-tools/snapshots/service-coverage/ 301
/references/coverage/coverage_redshift/ /aws/services/redshift/ 301
/user-guide/integrations/lambdatest-hyperexecute/ /aws/customization/integrations/testing/lambdatest-hyperexecute/ 301
/applications/ /aws/sample-apps/ 301
Expand Down Expand Up @@ -237,7 +237,7 @@
/user-guide/aws/cloudwatch/ /aws/services/cloudwatch/ 301
/user-guide/aws/elasticbeanstalk/ /aws/services/elasticbeanstalk/ 301
/references/coverage/coverage_mediaconvert/ /aws/services/mediaconvert/ 301
/user-guide/state-management/launchpad/ /aws/developer-tools/snapshots/launchpad/ 301
/user-guide/state-management/launchpad/ /aws/developer-tools/snapshots/ 301
/user-guide/ci/codebuild/ /aws/ci-pipelines/codebuild/ 301
/user-guide/aws/iot-data/ /aws/services/iot-data/ 301
/references/coverage/coverage_textract/ /aws/services/textract/ 301
Expand Down Expand Up @@ -379,7 +379,7 @@
/user-guide/aws/stepfunctions/ /aws/services/stepfunctions/ 301
/references/coverage/coverage_elasticache/ /aws/services/elasticache/ 301
/applications/mnist-handwritten-digit-recognition-model-running-on-a-local-sagemaker-endpoint/ https://github.com/localstack-samples/sample-mnist-digit-recognition-sagemaker 301
/user-guide/state-management/pods-cli/ /aws/developer-tools/snapshots/cli-commands/ 301
/user-guide/state-management/pods-cli/ /aws/developer-tools/running-localstack/lstk/#snapshot 301
/user-guide/aws/dynamodbstreams/ /aws/services/dynamodbstreams/ 301
/references/api-key/ /aws/getting-started/auth-token/#how-do-i-activate-older-versions-of-localstack-before-v30/ 301
/references/coverage/coverage_eks/ /aws/services/eks/ 301
Expand Down Expand Up @@ -430,7 +430,7 @@
/applications/appsync-graphql-apis-for-dynamodb-and-rds-aurora-postgresql https://github.com/localstack-samples/sample-appsync-graphql-api 301
/user-guide/aws/cloudfront /aws/services/cloudfront/ 301
/applications/note-taking-application-using-aws-sdk-for-javascript https://github.com/localstack-samples/sample-notes-app-dynamodb-lambda-apigateway 301
/user-guide/state-management/export-import-state /aws/developer-tools/snapshots/export-import-state/ 301
/user-guide/state-management/export-import-state /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/references/coverage/coverage_s3control /aws/services/s3/ 301
/references/custom-tls-certificates /aws/developer-tools/security-testing/custom-tls-certificates/ 301
/references/coverage/coverage_codecommit /aws/services/codecommit/ 301
Expand Down Expand Up @@ -534,7 +534,7 @@
/user-guide/aws/s3 /aws/services/s3/ 301
/user-guide/lambda-tools/vscode-extension /aws/connecting/ides/vscode-extension/ 301
/user-guide/chaos-engineering /aws/developer-tools/chaos-engineering/ 301
/persistence/supported /aws/developer-tools/snapshots/persistence/ 301
/persistence/supported /aws/developer-tools/snapshots/service-coverage/ 301
/user-guide/aws/ce /aws/services/ce/ 301
/user-guide/aws/kinesisanalyticsv2 /aws/services/kinesisanalyticsv2/ 301
/user-guide/state-management/cloud-pods /aws/developer-tools/snapshots/cloud-pods/ 301
Expand Down Expand Up @@ -594,7 +594,7 @@
/user-guide/web-application/resource-browser /aws/connecting/console/resource-browser/ 301
/applications/loan-broker-application-with-aws-step-functions-dynamodb-lambda-sqs-and-sns https://github.com/localstack-samples/sample-loan-broker-stepfunctions-lambda 301
/references/coverage/coverage_resource-groups /aws/services/resource-groups/ 301
/user-guide/state-management/support /aws/developer-tools/snapshots/persistence/ 301
/user-guide/state-management/support /aws/developer-tools/snapshots/service-coverage/ 301
/references/coverage/coverage_redshift /aws/services/redshift/ 301
/user-guide/integrations/lambdatest-hyperexecute /aws/customization/integrations/testing/lambdatest-hyperexecute/ 301
/applications /aws/sample-apps/ 301
Expand Down Expand Up @@ -637,7 +637,7 @@
/user-guide/aws/cloudwatch /aws/services/cloudwatch/ 301
/user-guide/aws/elasticbeanstalk /aws/services/elasticbeanstalk/ 301
/references/coverage/coverage_mediaconvert /aws/services/mediaconvert/ 301
/user-guide/state-management/launchpad /aws/developer-tools/snapshots/launchpad/ 301
/user-guide/state-management/launchpad /aws/developer-tools/snapshots/ 301
/user-guide/ci/codebuild /aws/ci-pipelines/codebuild/ 301
/user-guide/aws/iot-data /aws/services/iot-data/ 301
/references/coverage/coverage_textract /aws/services/textract/ 301
Expand Down Expand Up @@ -779,7 +779,7 @@
/user-guide/aws/stepfunctions /aws/services/stepfunctions/ 301
/references/coverage/coverage_elasticache /aws/services/elasticache/ 301
/applications/mnist-handwritten-digit-recognition-model-running-on-a-local-sagemaker-endpoint https://github.com/localstack-samples/sample-mnist-digit-recognition-sagemaker 301
/user-guide/state-management/pods-cli /aws/developer-tools/snapshots/cli-commands/ 301
/user-guide/state-management/pods-cli /aws/developer-tools/running-localstack/lstk/#snapshot 301
/user-guide/aws/dynamodbstreams /aws/services/dynamodbstreams/ 301
/references/api-key /aws/getting-started/auth-token/#how-do-i-activate-older-versions-of-localstack-before-v30/ 301
/references/coverage/coverage_eks /aws/services/eks/ 301
Expand Down Expand Up @@ -861,13 +861,19 @@
/aws/integrations/aws-native-tools /aws/connecting/ 301
/aws/integrations/infrastructure-as-code/ /aws/connecting/infrastructure-as-code/ 301
/aws/integrations/infrastructure-as-code /aws/connecting/infrastructure-as-code/ 301
/aws/capabilities/state-management/cli-commands /aws/developer-tools/snapshots/cli-commands/ 301
/aws/capabilities/state-management/cli-commands/ /aws/developer-tools/snapshots/cli-commands/ 301
/aws/capabilities/state-management/export-import-state /aws/developer-tools/snapshots/export-import-state/ 301
/aws/capabilities/state-management/export-import-state/ /aws/developer-tools/snapshots/export-import-state/ 301
/aws/capabilities/state-management/cli-commands /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/capabilities/state-management/cli-commands/ /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/capabilities/state-management/export-import-state /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/capabilities/state-management/export-import-state/ /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/capabilities/state-management/ /aws/developer-tools/snapshots/ 301
/aws/capabilities/state-management/launchpad /aws/developer-tools/snapshots/launchpad/ 301
/aws/capabilities/state-management/launchpad/ /aws/developer-tools/snapshots/launchpad/ 301
/aws/developer-tools/snapshots/export-import-state /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/developer-tools/snapshots/export-import-state/ /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/developer-tools/snapshots/cli-commands /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/developer-tools/snapshots/cli-commands/ /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/developer-tools/snapshots/launchpad /aws/developer-tools/snapshots/ 301
/aws/developer-tools/snapshots/launchpad/ /aws/developer-tools/snapshots/ 301
/aws/capabilities/state-management/launchpad /aws/developer-tools/snapshots/ 301
/aws/capabilities/state-management/launchpad/ /aws/developer-tools/snapshots/ 301
/aws/capabilities/state-management/cloud-pods /aws/developer-tools/snapshots/cloud-pods/ 301
/aws/capabilities/state-management/cloud-pods/ /aws/developer-tools/snapshots/cloud-pods/ 301
/aws/capabilities/state-management/persistence /aws/developer-tools/snapshots/persistence/ 301
Expand Down Expand Up @@ -1074,14 +1080,14 @@
/aws/configuration/security-testing/iam-policy-stream /aws/developer-tools/security-testing/iam-policy-stream/ 301
/aws/configuration/security-testing/iam-policy-stream/ /aws/developer-tools/security-testing/iam-policy-stream/ 301
/aws/configuration/state-management/ /aws/developer-tools/snapshots/ 301
/aws/configuration/state-management/cli-commands /aws/developer-tools/snapshots/cli-commands/ 301
/aws/configuration/state-management/cli-commands/ /aws/developer-tools/snapshots/cli-commands/ 301
/aws/configuration/state-management/cli-commands /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/configuration/state-management/cli-commands/ /aws/developer-tools/running-localstack/lstk/#snapshot 301
/aws/configuration/state-management/cloud-pods /aws/developer-tools/snapshots/cloud-pods/ 301
/aws/configuration/state-management/cloud-pods/ /aws/developer-tools/snapshots/cloud-pods/ 301
/aws/configuration/state-management/export-import-state /aws/developer-tools/snapshots/export-import-state/ 301
/aws/configuration/state-management/export-import-state/ /aws/developer-tools/snapshots/export-import-state/ 301
/aws/configuration/state-management/launchpad /aws/developer-tools/snapshots/launchpad/ 301
/aws/configuration/state-management/launchpad/ /aws/developer-tools/snapshots/launchpad/ 301
/aws/configuration/state-management/export-import-state /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/configuration/state-management/export-import-state/ /aws/developer-tools/snapshots/saving-snapshots-locally/ 301
/aws/configuration/state-management/launchpad /aws/developer-tools/snapshots/ 301
/aws/configuration/state-management/launchpad/ /aws/developer-tools/snapshots/ 301
/aws/configuration/state-management/persistence /aws/developer-tools/snapshots/persistence/ 301
/aws/configuration/state-management/persistence/ /aws/developer-tools/snapshots/persistence/ 301
/aws/configuration/testing-utils/ /aws/customization/integrations/localstack-sdks/testing-utils/ 301
Expand Down
Binary file removed public/images/aws/badge-demo.png
Binary file not shown.
Binary file removed public/images/aws/link-generator.png
Binary file not shown.
Binary file removed public/images/aws/ls-not-running.png
Binary file not shown.
Binary file removed public/images/aws/merge-strategies.png
Binary file not shown.
Binary file removed public/images/aws/metadata-load-failed.png
Binary file not shown.
Binary file removed public/images/aws/persistence-pods-remote.png
Binary file not shown.
Binary file added public/images/aws/pods-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/aws/snapshot-merge-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions src/components/SectionCards.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ interface Props {
title?: string;
customTitles?: Record<string, string>;
useDirectFiles?: boolean;
excludeFiles?: string[];
}

const { basePath, title, customTitles = {}, useDirectFiles = false } = Astro.props;
const { basePath, title, customTitles = {}, useDirectFiles = false, excludeFiles = [] } = Astro.props;

// Get sections - either index files from subdirectories or direct files
const allSections = await getCollection('docs', ({ id }) => {
Expand Down Expand Up @@ -49,14 +50,18 @@ const sortedSections = allSections.sort((a, b) => {
return titleA.localeCompare(titleB);
});

const sectionData = sortedSections.map(section => {
const sectionData = sortedSections.flatMap(section => {
// Extract the key name from the section ID
const relativePath = section.id.substring(basePath.length);
const keyName = relativePath.split('/').filter(part => part !== '')[0];

// For direct files, we need to remove the file extension from the key
const cleanKey = useDirectFiles ? keyName.replace(/\.(md|mdx)$/, '') : keyName;


if (excludeFiles.includes(cleanKey)) {
return [];
}

// Use custom title if provided, otherwise fall back to the section title
const sectionTitle = customTitles[cleanKey] || section.data.title || section.data.linkTitle || 'Unknown Section';
const description = section.data.description || `Learn more about ${sectionTitle}`;
Expand Down
Loading