You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/contributing/contributing.rst
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ Support and Contributing
5
5
6
6
Support
7
7
-------
8
-
If you are stuck with a problem using Dedoc, please do get in touch at our `Issues <https://github.com/ispras/dedoc/issues>`_ (recommend)
8
+
If you are stuck with a problem using Dedoc, please use our `Issues <https://github.com/ispras/dedoc/issues>`_ (recommended)
9
9
or `Dedoc Chat <https://t.me/dedoc_chat>`_. The developers are willing to help.
10
10
11
11
You can save time by following this procedure when reporting a problem:
12
12
13
-
* Do try to solve the problem on your own first. Read the documentation, including using the search feature, index and reference documentation.
13
+
* Try to solve the problem on your own first. Read the documentation, including using the search feature, index and reference documentation.
14
14
15
15
* Search the issue archives to see if someone else already had the same problem.
16
16
@@ -23,7 +23,9 @@ Contributing Rules
23
23
24
24
* To add new features to the project repository yourself, you should follow
25
25
the `general contributing rules of github <https://github.com/firstcontributions/first-contributions>`_.
26
-
In your Pull Request, set `develop` as the target branch.
26
+
27
+
.. note::
28
+
In your Pull Request, set `develop` as the target branch.
27
29
28
30
* We recommend using `Pycharm IDE` and `virtualenv` package for development.
29
31
@@ -34,16 +36,17 @@ Contributing Rules
34
36
* We strongly recommend using the already used ML library `torch` in development. For example,
35
37
using `tensorflow` library instead of `torch` is justified only in case of extreme necessity.
36
38
37
-
* If you add new functionality to dedoc, be sure to add python `unitests` to test the added functionality
38
-
(you can add api tests in `tests/api_tests <https://github.com/ispras/dedoc/blob/master/tests/api_tests>`_,
39
-
you can add unit tests in `tests/unit_tests <https://github.com/ispras/dedoc/blob/master/tests/unit_tests>`_).
39
+
* If you add new functionality to dedoc, be sure to add python `unittest` to test the added functionality
40
+
(you can add api tests in `tests/api_tests <https://github.com/ispras/dedoc/blob/master/tests/api_tests>`_
41
+
or unit tests in `tests/unit_tests <https://github.com/ispras/dedoc/blob/master/tests/unit_tests>`_).
40
42
These tests are run automatically in the Continuous Integration pipeline.
43
+
To run tests locally, you can use docker as described in the `README <https://github.com/ispras/dedoc/blob/master/README.md#4-run-container-with-tests>`_.
41
44
42
45
* Before each commit, check the code style using the automatic checker using the `flake8` library.
43
-
Instructions for using flake8 are provided here:ref:using_flake8`.
46
+
Instructions for using flake8 are provided in:ref:`using_flake8`.
44
47
45
48
* We recommend setting up pre-commit for convenience and speeding up development according to the instructions :ref:`using_precommit` .
46
-
This will run a style check of the changed code with each commit.
49
+
This will run a style check of the changed code before each commit.
47
50
48
51
* In case of any change in the online documentation of the project (for example, when adding a new api parameter),
49
52
be sure to check locally that the changed documentation is successfully built and looks as expected.
0 commit comments