-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: extract Tracer code snippets in separate files #1219
Labels
completed
This item is complete and has been merged/shipped
documentation
Improvements or additions to documentation
Comments
dreamorosi
added
documentation
Improvements or additions to documentation
triage
This item has not been triaged by a maintainer, please wait
help-wanted
We would really appreciate some support from community for this one
confirmed
The scope is clear, ready for implementation
and removed
triage
This item has not been triaged by a maintainer, please wait
labels
Jan 10, 2023
dreamorosi
moved this from Backlog
to Working on it
in AWS Lambda Powertools for TypeScript
Jan 11, 2023
Hey Niko, I have assigned the issue to you. I think these names could work:
Notes:
If you have any question please let me know, thanks! |
1 task
niko-achilles
added a commit
to niko-achilles/aws-lambda-powertools-typescript
that referenced
this issue
Jan 11, 2023
13 tasks
dreamorosi
pushed a commit
that referenced
this issue
Jan 12, 2023
* docs(tracer): extract Tracer code snippets in separate files #1219 * fix(docs): code snippet captureMethodDecorator.ts and code snippet disableCaptureResponseMethod.ts
13 tasks
github-project-automation
bot
moved this from Working on it
to Coming soon
in AWS Lambda Powertools for TypeScript
Jan 12, 2023
dreamorosi
added
completed
This item is complete and has been merged/shipped
and removed
help-wanted
We would really appreciate some support from community for this one
confirmed
The scope is clear, ready for implementation
labels
Jan 12, 2023
|
github-actions
bot
added
the
pending-release
This item has been merged and will be released soon
label
Jan 13, 2023
dreamorosi
removed
the
pending-release
This item has been merged and will be released soon
label
Jan 13, 2023
dreamorosi
moved this from Coming soon
to Shipped
in AWS Lambda Powertools for TypeScript
Jan 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
completed
This item is complete and has been merged/shipped
documentation
Improvements or additions to documentation
What were you searching in the docs?
Currently the code snippets in the documentation under the Tracer's section are hardcoded as part of the page's markdown.
This authoring experience, which doesn't provide linting, is error prone, which causes issues in the docs and in turns to users.
This issue is part of a larger effort being tracked at #729.
Is this related to an existing documentation section?
https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/tracer/
How can we improve?
The code snippets should be extracted to their own separate files, placed under
docs/snippets/tracer
.So for instance, the first snippet that currently reads:
would be replaced with:
And the content should be placed in its own file at the path:
docs/snippets/tracer/basicUsage.ts
.This applies to all TypeScript code snippets of the page.
Got a suggestion in mind?
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: