Skip to content

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented Oct 4, 2025

Summary

Changes

Please provide a summary of what's being changed

This PR adds the AWS bootstrap JS file to the docs pages and also updates the base URL for the docs in all occurrences throughout the codebase.

For an easier review, I suggest to focus on the first commit, which adds the bootstrap script.

The second commit is an automated find & replace with the old and new url respectively.

The third commit removes the now outdated analytics script.

The fourth commit updates the Discord badge button with a working image.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #4611


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Oct 4, 2025
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation idempotency This item relates to the Idempotency Utility internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) labels Oct 4, 2025
@pull-request-size pull-request-size bot added the size/L PRs between 100-499 LOC label Oct 4, 2025
@pull-request-size pull-request-size bot added size/XL PRs between 500-999 LOC, often PRs that grown with feedback and removed size/L PRs between 100-499 LOC labels Oct 4, 2025
Copy link

sonarqubecloud bot commented Oct 4, 2025

@dreamorosi dreamorosi requested a review from svozza October 6, 2025 08:39
@leandrodamascena leandrodamascena requested review from sdangol and removed request for leandrodamascena and svozza October 6, 2025 13:11
@leandrodamascena
Copy link
Contributor

leandrodamascena commented Oct 6, 2025

Please review this @sdangol.

### Escape hatch mechanism

You can use `tracer.provider` attribute to access [a subset of the methods provided](https://docs.powertools.aws.dev/lambda/typescript/latest/api/classes/_aws_lambda_powertools_tracer.provider_ProviderService.ProviderService.html) by the [AWS X-Ray SDK](https://docs.aws.amazon.com/xray-sdk-for-nodejs/latest/reference/AWSXRay.html).
You can use `tracer.provider` attribute to access [a subset of the methods provided](https://docs.aws.amazon.com/powertools/typescript/latest/api/classes/_aws_lambda_powertools_tracer.provider_ProviderService.ProviderService.html) by the [AWS X-Ray SDK](https://docs.aws.amazon.com/xray-sdk-for-nodejs/latest/reference/AWSXRay.html).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*
* By default, you can use any of the {@link https://jmespath.org/specification.html | JMESPath built-in functions} as well as the
* {@link https://docs.powertools.aws.dev/lambda/typescript/latest/api/classes/_aws_lambda_powertools_jmespath.PowertoolsFunctions.PowertoolsFunctions.html | custom functions provided}
* {@link https://docs.aws.amazon.com/powertools/typescript/latest/api/classes/_aws_lambda_powertools_jmespath.PowertoolsFunctions.PowertoolsFunctions.html | custom functions provided}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue with url here.

You can customize most of the configuration options of the table, i.e the names of the attributes.
See
the [API documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/api/types/_aws_lambda_powertools_idempotency.types.DynamoDBPersistenceOptions.html)
the [API documentation](https://docs.aws.amazon.com/powertools/typescript/latest/api/types/_aws_lambda_powertools_idempotency.types.DynamoDBPersistenceOptions.html)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Url issue same as above

@dreamorosi dreamorosi requested a review from sthulb October 7, 2025 09:40
@sthulb
Copy link
Contributor

sthulb commented Oct 7, 2025

Do we want to make these URL's versioned instead of using /latest in them?

@dreamorosi
Copy link
Contributor Author

We don't have a process to update them when we release, and they work at the best of my knowledge.

For now I'd leave them like this, so we can get the analytics going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation idempotency This item relates to the Idempotency Utility internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) size/XL PRs between 500-999 LOC, often PRs that grown with feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Add AWS docs bootstrap JavaScript
4 participants