| 1 | # Contributing to PDF::Reuse |
| 2 | |
| 3 | Thank you for considering contributing to PDF::Reuse! |
| 4 | |
| 5 | ## How to Contribute |
| 6 | |
| 7 | 1. **Report Bugs** - Open an issue at https://github.com/cnighswonger/PDF-Reuse/issues |
| 8 | 2. **Submit Patches** - Fork the repo, create a branch, and submit a pull request |
| 9 | 3. **Improve Documentation** - Corrections and clarifications are always welcome |
| 10 | |
| 11 | ## Development Setup |
| 12 | |
| 13 | ```bash |
| 14 | git clone https://github.com/cnighswonger/PDF-Reuse.git |
| 15 | cd PDF-Reuse |
| 16 | perl Makefile.PL |
| 17 | make |
| 18 | make test |
| 19 | ``` |
| 20 | |
| 21 | ## Pull Request Guidelines |
| 22 | |
| 23 | - Include tests for bug fixes and new features |
| 24 | - Ensure all existing tests pass (`make test`) |
| 25 | - Keep changes focused - one fix or feature per PR |
| 26 | - Update the Changes file with a brief description |
| 27 | |
| 28 | ## Code Style |
| 29 | |
| 30 | - Follow existing code conventions in the module |
| 31 | - Use `strict` and `warnings` |
| 32 | - Test with Perl 5.24+ (minimum supported is 5.006, but modern Perl is preferred for development) |
| 33 | |
| 34 | ## License |
| 35 | |
| 36 | By contributing, you agree that your contributions will be licensed under the |
| 37 | same terms as the module itself (the Perl 5 license). |