-
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 Logger code snippets in separate files #1220
Comments
Here:
|
Please correct the path So for acceptance we have the 17 named code snippets : #1220 (comment) and the location Is that ok @dreamorosi ? |
Yes, that's okay. Corrected. |
|
What were you searching in the docs?
Currently the code snippets in the documentation under the Logger'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/logger/
How can we improve?
The code snippets should be extracted to their own separate files, placed under
docs/snippets/logger
.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/logger/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: