fix(docs): correct build optimization script and docs#7367
Conversation
The build optimization script was removing the docs directory, which is a dependency of boto3. This change removes the line that removes the docs directory and adds a warning to the documentation to test the build after optimization. Fixes aws-powertools#7361
|
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7367 +/- ##
========================================
Coverage 96.36% 96.36%
========================================
Files 275 275
Lines 13027 13027
Branches 970 970
========================================
Hits 12554 12554
Misses 366 366
Partials 107 107 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
leandrodamascena
left a comment
There was a problem hiding this comment.
Thanks a lot for working on this @Iamrodos! APPROVED!
|
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |



Issue number: closes #7361
Summary
The build optimization script was removing the docs directory, which is a dependency of boto3.
Changes
This change removes the line that removes the docs directory and adds a warning to the documentation to test the build after optimization.
User experience
A copy and paste of the example will no longer break a vendored version of boto3. The prompt that removing directories may have side effects may direct some to perform a test when they may otherwise not, avoiding issues .
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.