Skip to content

Commit c5e7085

Browse files
authored
Merge pull request #151 from Nr18/troubleshooting
docs: add troubleshooting section
2 parents adc6b40 + 32c0984 commit c5e7085

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: CONTRIBUTING.md

+13
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ [email protected] with any additional questions or comments.
6969
## Security issue notifications
7070
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
7171

72+
## Troubleshooting
73+
74+
### API reference documentation
75+
76+
When you are working on the codebase and you use the local API reference documentation to preview your changes, you might see the following message: `Module aws_lambda_powertools not found`.
77+
78+
This happens when:
79+
80+
* You did not install the local dev environment yet
81+
- You can install dev deps with `make dev` command
82+
* The code in the repository is raising an exception while the `pdoc` is scanning the codebase
83+
- Unfortunately, this exception is not shown to you, but if you run, `poetry run pdoc --pdf aws_lambda_powertools`, the exception is shown and you can prevent the exception from being raised
84+
- Once resolved the documentation should load correctly again
7285

7386
## Licensing
7487

0 commit comments

Comments
 (0)