|
1 | 1 | Contributing |
2 | 2 | ============ |
3 | 3 |
|
4 | | -Accept any contribution you make :) |
| 4 | +We welcome and appreciate any contributions you make to Manim! :) |
5 | 5 |
|
6 | | -- **Contribute to the manim source code**: |
| 6 | +Contributing to the Source Code |
| 7 | +------------------------------- |
7 | 8 |
|
8 | | -Please fork to your own repository and make changes, submit a pull request, and fill in |
9 | | -the motivation for the change following the instructions in the template. We will check |
10 | | -your pull request in detail (this usually takes a while, please be patient) |
| 9 | +- **Fork the repository** to your own GitHub account. |
| 10 | +- Make your changes locally. |
| 11 | +- Submit a **pull request** to the main repository. |
| 12 | +- Fill in the **motivation for your change** following the instructions in the provided template. |
11 | 13 |
|
12 | | -- **Contribute to the documentation**: |
| 14 | +.. note:: |
13 | 15 |
|
14 | | -Also submit a pull request and write down the main changes. |
| 16 | + Pull requests will be reviewed in detail. This process may take some time, so please be patient. |
15 | 17 |
|
16 | | -- **If you find a bug in the code**: |
| 18 | +Contributing to the Documentation |
| 19 | +--------------------------------- |
17 | 20 |
|
18 | | -Please open an issue and fill in the found problem and your environment according |
19 | | -to the template. (But please note that if you think this problem is just a problem |
20 | | -of yourself, rather than a problem of source code, it is recommended that you ask a |
21 | | -question in the `Q&A category <https://github.com/3b1b/manim/discussions/categories/q-a>`_ |
22 | | -of the discussion page) |
| 21 | +- Make edits to the documentation files in your fork. |
| 22 | +- Submit a **pull request** describing the main changes you made. |
23 | 23 |
|
24 | | -- **You are welcome to share the content you made with manim**: |
| 24 | +Reporting Bugs |
| 25 | +-------------- |
25 | 26 |
|
26 | | -Post it in the `show and tell category <https://github.com/3b1b/manim/discussions/categories/show-and-tell>`_ |
27 | | -of the discussion page. |
| 27 | +If you find a bug in the code: |
28 | 28 |
|
29 | | -- **You are also welcome to share some of your suggestions and ideas**: |
| 29 | +1. Open a new **issue** in the repository. |
| 30 | +2. Describe the problem clearly. |
| 31 | +3. Include details about your **environment** (Python version, OS, Manim version, etc.) according to the issue template. |
30 | 32 |
|
31 | | -Post them in the `ideas category <https://github.com/3b1b/manim/discussions/categories/ideas>`_ |
32 | | -of the discussion page. |
| 33 | +.. note:: |
33 | 34 |
|
34 | | -How to build this documentation |
35 | | -------------------------------- |
| 35 | + If you suspect the problem is local to your setup rather than the source code, it is recommended to ask a question in the |
| 36 | + `Q&A category <https://github.com/3b1b/manim/discussions/categories/q-a>`_ of the discussion page. |
| 37 | + |
| 38 | +Sharing Your Work |
| 39 | +----------------- |
| 40 | + |
| 41 | +- You are welcome to share content you created using Manim. |
| 42 | +- Post it in the `Show and Tell category <https://github.com/3b1b/manim/discussions/categories/show-and-tell>`_ of the discussion page. |
| 43 | + |
| 44 | +Sharing Ideas and Suggestions |
| 45 | +----------------------------- |
36 | 46 |
|
37 | | -- Clone the 3b1b/manim repository |
| 47 | +- Suggestions, feature requests, and ideas are encouraged! |
| 48 | +- Post them in the `Ideas category <https://github.com/3b1b/manim/discussions/categories/ideas>`_ of the discussion page. |
| 49 | + |
| 50 | +How to Build the Documentation |
| 51 | +------------------------------ |
| 52 | + |
| 53 | +Follow these steps to build the Manim documentation locally: |
| 54 | + |
| 55 | +1. **Clone the repository** |
38 | 56 |
|
39 | 57 | .. code-block:: sh |
40 | 58 |
|
41 | 59 | git clone https://github.com/3b1b/manim.git |
42 | | - # or your own repo |
43 | | - # git clone https://github.com/<your user name>/manim.git |
| 60 | + # Or clone your own fork |
| 61 | + # git clone https://github.com/<your-username>/manim.git |
44 | 62 | cd manim |
45 | 63 |
|
46 | | -- Install python package dependencies |
| 64 | +2. **Install Python package dependencies** |
47 | 65 |
|
48 | 66 | .. code-block:: sh |
49 | 67 |
|
50 | 68 | pip install -r docs/requirements.txt |
51 | 69 |
|
52 | | -- Go to the ``docs/`` folder and build |
| 70 | +3. **Navigate to the docs folder and build HTML** |
53 | 71 |
|
54 | 72 | .. code-block:: sh |
55 | 73 |
|
56 | 74 | cd docs/ |
57 | 75 | make html |
58 | 76 |
|
59 | | -- The output document is located in ``docs/build/html/`` |
| 77 | +4. **Find the built documentation** |
| 78 | + |
| 79 | + The output HTML files will be located in:: |
| 80 | + |
| 81 | + docs/build/html/ |
0 commit comments