-
Notifications
You must be signed in to change notification settings - Fork 154
Docs: extract Tracer code snippets in separate files #1219
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
Labels
completed
This item is complete and has been merged/shipped
documentation
Improvements or additions to documentation
Comments
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
|
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: