| 1 |
Contributing |
| 2 |
============ |
| 3 |
|
| 4 |
.. _contributor-communication: |
| 5 |
|
| 6 |
Communication |
| 7 |
------------- |
| 8 |
|
| 9 |
pyglet communication occurs mostly in our `Discord server <https://discord.gg/QXyegWe>`_. |
| 10 |
|
| 11 |
Issue Tracker |
| 12 |
------------- |
| 13 |
|
| 14 |
You can use the `issue tracker <https://github.com/pyglet/pyglet/issues>`_ |
| 15 |
to report any bug or compatibility issue. If your issue is more complex than what can be |
| 16 |
covered in a ticket, also consider joining the `Discord server <https://discord.gg/QXyegWe>`_. |
| 17 |
|
| 18 |
Getting the latest development version |
| 19 |
-------------------------------------- |
| 20 |
|
| 21 |
The repository can be found `here <https://github.com/pyglet/pyglet>`_; |
| 22 |
it hosts the source, documentation, examples, and development tools. You can |
| 23 |
get the latest version of the code using: |
| 24 |
|
| 25 |
.. code-block:: bash |
| 26 |
|
| 27 |
# clone over https |
| 28 |
git clone https://github.com/pyglet/pyglet.git |
| 29 |
|
| 30 |
# or clone over ssh |
| 31 |
git clone [email protected]:pyglet/pyglet.git |
| 32 |
|
| 33 |
Contributing to the source |
| 34 |
-------------------------- |
| 35 |
|
| 36 |
If you want to contribute to pyglet, we suggest the following: |
| 37 |
|
| 38 |
* Fork the `official repository <https://github.com/pyglet/pyglet/fork>`_ |
| 39 |
* Apply your changes to your fork |
| 40 |
* Submit a `pull request <https://github.com/pyglet/pyglet/pulls>`_ |
| 41 |
describing the changes you have made |
| 42 |
* Alternatively, you can create a patch and submit it to the issue tracker. |
| 43 |
|
| 44 |
Contributing to the documentation |
| 45 |
--------------------------------- |
| 46 |
|
| 47 |
When asking to include your code in the repository, check that you have |
| 48 |
addressed its respective documentation, both within the code and the API |
| 49 |
documentation. It is very important to all of us that the documentation matches |
| 50 |
the latest code and vice-versa. |
| 51 |
|
| 52 |
Consequently, an error in the documentation, either because it is hard to |
| 53 |
understand or because it doesn't match the code, is a bug that deserves to |
| 54 |
be reported on a ticket. |
| 55 |
|
| 56 |
A good way to start contributing to a component of pyglet is by its |
| 57 |
documentation. When studying the code you are going to work with, also read |
| 58 |
the associated docs. If you don't understand the code with the help of the |
| 59 |
docs, it is a sign that the docs should be improved. |
| 60 |
|
| 61 |
Contact |
| 62 |
------- |
| 63 |
|
| 64 |
pyglet is developed by many individual volunteers, and there is no central |
| 65 |
point of contact. If you have a question about developing with pyglet, or you |
| 66 |
wish to contribute, please join the `Discord server <https://discord.gg/QXyegWe>`_. |
| 67 |
|
| 68 |
|
| 69 |
For legal issues, please contact |
| 70 |
`Alex Holkner <mailto:[email protected]>`_. |