Closed
Description
Description of the improvement
Summary of the proposal
Code examples should be extracted to allow for validation / linting to help prevent errors.
How, where did you look for information
See
- Papercuts priorization before we consider v2 powertools-lambda-python#1009
- Docs: Move code snippets into dedicated python files add formatting and linting, fixing any outstanding errors powertools-lambda-python#1064
Missing or unclear documentation
Improvement
- Extract examples into the
docs/
folder, to allow for mkdocs to automatically pick it up - Add autoformatter and linting against these examples
- See python pr as an example: fix(docs): extract code snippets into dedicated python files and fix examples powertools-lambda-python#1065
Related existing documentation
Related issues, RFCs
Example of documentation examples with errors in them: