| 1 | If you want to contribute to pdfgrep, this file is for you! |
| 2 | |
| 3 | # Contributing |
| 4 | |
| 5 | You don't have to write code to help pdfgrep. Testing, reporting bugs, |
| 6 | writing/fixing documentation or packaging it for distributions is just |
| 7 | as important. If you want to help, just drop me[1] a mail. |
| 8 | |
| 9 | For those who rather get their hands dirty with code, please read the |
| 10 | following sections: |
| 11 | |
| 12 | # Coding Style |
| 13 | |
| 14 | The pdfgrep source is formatted in the classical Linux-kernel style |
| 15 | described in Documentation/CodingStyle in the kernel's source tree. |
| 16 | |
| 17 | In particular this means that we use tabs for indentation. |
| 18 | |
| 19 | The code is written in a C-ish C++, which means we use classes |
| 20 | sparingly and everything is mostly held in a procedural style. |
| 21 | |
| 22 | But: These are just guidelines. If a C++ feature makes sense to you, |
| 23 | use it! If a (minor) violation of the indentation rules makes the code |
| 24 | more readable: do it! |
| 25 | |
| 26 | # Sending Patches |
| 27 | |
| 28 | You can either send your patches directly to me[1], to the mailing-list[2] or |
| 29 | create a pull request on GitLab[3]. |
| 30 | |
| 31 | |
| 32 | Keep on hacking! |
| 33 | |
| 34 | [1]: mailto:[email protected] |
| 35 | [2]: mailto:[email protected] |
| 36 | [3]: https://gitlab.com/pdfgrep/pdfgrep |