powertools-lambda-python icon indicating copy to clipboard operation
powertools-lambda-python copied to clipboard

Maintenance: Refactor and split documentation snippets to standalone python files

Open heitorlessa opened this issue 4 years ago • 2 comments

Summary

We should refactor documentation snippets to improve the value new and existing customers get from them. Code snippets should be run as-is and provide what's necessary to demonstrate an utility's feature value - it might need to make an external API call to a fake API, raise Exceptions, etc.

Example of a recent work part of ~152 doc snippets refactoring: https://awslabs.github.io/aws-lambda-powertools-python/latest/core/event_handler/api_gateway/#api-gateway-rest-api

Tasks:

  • [x] #1367
  • [x] #1368
  • [x] #1369
  • [x] #1370
  • [x] #1371
  • [x] #1372
  • [x] #1373
  • [x] #1374
  • [x] #1453
  • [x] #1163

Why is this needed?

Besides improving customer value, it helps us lint and enforce consistency across the documentation.

Which area does this relate to?

Middleware factory, Parameters, Batch processing, Validation, Parser, Idempotency, Feature flags, JMESPath functions

Solution

No response

Acknowledgment

heitorlessa avatar Jul 25 '22 08:07 heitorlessa

Hi @heitorlessa. Please add this issue #1453 to the task list.

leandrodamascena avatar Aug 15 '22 11:08 leandrodamascena

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Jan 22 '25 12:01 github-actions[bot]