Skip to content

Commit 65c7e03

Browse files
committed
update(docs): small fixes on documentation
1 parent fcf39ac commit 65c7e03

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

docs/development/environment.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,15 @@
22

33
Sur Ubuntu :
44

5-
```bash
5+
```sh
66
# create virtual environment linking to system packages (for pyqgis)
7-
python3.8 -m venv .venv --system-site-packages
7+
python3 -m venv .venv --system-site-packages
88
source .venv/bin/activate
99

1010
# bump dependencies inside venv
1111
python -m pip install -U pip setuptools wheel
1212
python -m pip install -U -r requirements/development.txt
1313

14-
# install project as editable
15-
python -m pip install -e .
16-
```
17-
18-
## Gestion des traductions
19-
20-
```bash
21-
sudo apt install qttools5-dev-tools
22-
```
23-
24-
Mise à jour des textes à traduire :
25-
26-
```bash
27-
pylupdate5 -noobsolete -verbose qtribu/resources/i18n/plugin_translation.pro
28-
```
29-
30-
Une fois les traductions effectuées (dans Qlinguist par exemple), les compiler :
31-
32-
```bash
33-
lrelease qtribu/resources/i18n/*.ts
14+
# install git hooks (pre-commit)
15+
pre-commit install
3416
```

docs/development/packaging.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
This plugin is using the [qgis-plugin-ci](https://github.com/opengisch/qgis-plugin-ci/) tool to perform packaging operations.
66
The package command is performing a `git archive` run based on changelog.
77

8-
```bash
8+
Install additional dependencies:
9+
10+
```sh
11+
python -m pip install -U -r requirements/packaging.txt
12+
```
13+
14+
```sh
915
# package a specific version
1016
qgis-plugin-ci package 1.3.1
1117
# package latest version

0 commit comments

Comments
 (0)