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: CONTRIBUTING.md
+58-28Lines changed: 58 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -3,59 +3,89 @@
3
3
4
4
## Setup your development environment
5
5
6
-
You need:
7
-
*`Python3.6`: you can install it by following [Python3's documentation](https://www.python.org/downloads/).
8
-
*`curses`: available in standard library of `Python` but it doesn't work out-of-the-box on Windows. See [this](https://www.devdungeon.com/content/curses-windows-python) explanations to install `curses` on Windows.
6
+
You need [all requirements](README#requirements).
9
7
10
8
## Branches
11
9
12
-
* main : stable releases.
10
+
*`main` : stable releases.
11
+
*`dev` : beta releases.
13
12
14
13
To fix a minor problem or add new features create a new branch in this form: `username-dev`.
15
-
Please test your code with `Python3.6` version before **pull request** to be sure not to break compatability.
14
+
Please push on the `dev` branch, any pull request on the `main` branch will be refused.
* Test your code with `Python3.7` to be sure not to break compatability.
21
+
* Format your code according [PEP 8](https://www.python.org/dev/peps/pep-0008/). [PEP8 Check](https://github.com/quentinguidee/actions-pep8) will ensure that your code is correctly formatted .
22
+
* Document your code with [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html) if you add new functionality.
23
+
24
+
If you add a feature that changes the API, notify it explicitly.
25
+
26
+
## Download
27
+
28
+
Download the `dev` branch of the project and install dev release:
29
+
```sh
30
+
git clone -b dev https://github.com/Tim-ats-d/Visual-dialog.git
31
+
cd Visual-dialog
32
+
pip install .
31
33
```
32
34
The list of versions and their changelogs can be found [here](https://github.com/Tim-ats-d/Visual-dialog/releases/).
33
35
34
36
## Repository Structure
35
37
36
38
The following snippet describes Visual-dialog's repository structure.
39
+
This tree does not contain a description of all the files in the repository, only the most relevant ones
37
40
38
41
```text
39
42
.
40
43
├── .github/
41
-
| Contains Github specific files such as actions definitions and issue templates.
44
+
│ Contains Github specific files such as actions definitions and issue templates.
42
45
│
43
46
├── doc/
44
-
| Contains documentation.
47
+
│ Contains the files related to the documentation.
48
+
│ │
49
+
│ ├── source/
50
+
│ │ Contains images used in documentation.
51
+
│ │ │
52
+
│ │ ├── images/
53
+
│ │ │ Contains images used in documentation.
54
+
│ │ │
55
+
│ │ ├── conf.py
56
+
│ │ │ Sphinx's configuration file.
57
+
│ │ │
58
+
│ │ ├── index.rst
59
+
│ │ │ Documentation home page.
60
+
│ │ │
61
+
│ │ └── visualdialog.rst
62
+
│ │ Documentation of all the public classes and methods in Visual-dialog.
45
63
│ │
46
-
│ ├── examples/
47
-
│ │ Contains several examples of how to use Visual-dialog.
64
+
│ ├── make.bat
65
+
│ │ To generate documentation on Windows.
48
66
│ │
49
-
│ └── documentation.md
50
-
│ Documentation of public API (coming soon).
67
+
│ └── Makefile
68
+
│ To generate documentation on GNU/Linux or MacOS.
69
+
│
70
+
├── examples/
71
+
│ Contains several examples of use cases of Visual-dialog.
72
+
│
73
+
├── tests/
74
+
│ Contains tests for debugging libraries.
51
75
│
52
76
├── visualdialog/
53
-
| Source for Visual-dialog's library.
77
+
│ Source for Visual-dialog's library.
78
+
│ │
79
+
│ ├── __init__.py
80
+
│ │
81
+
│ ├── box.py
82
+
│ │ Contains the parent class TextBox which serves as a basis for the implementation of the other classes.
54
83
│ │
55
-
| ├── __init__.py
84
+
│ ├── dialog.py
85
+
│ │ Contains the DialogBox class, which is the main class of the library.
56
86
│ │
57
-
| └── core.py
58
-
| Contains Visual-dialog's core functionnalities.
87
+
│ └── utils.py
88
+
│ Contains the classes and functions used but not related to the libriarie.
59
89
│
60
90
├── LICENSE
61
91
│
@@ -68,5 +98,5 @@ The following snippet describes Visual-dialog's repository structure.
0 commit comments