Skip to content

Commit

Permalink
update(docs): small fixes on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Sep 27, 2024
1 parent fcf39ac commit 65c7e03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
26 changes: 4 additions & 22 deletions docs/development/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,15 @@

Sur Ubuntu :

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

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

# install project as editable
python -m pip install -e .
```

## Gestion des traductions

```bash
sudo apt install qttools5-dev-tools
```

Mise à jour des textes à traduire :

```bash
pylupdate5 -noobsolete -verbose qtribu/resources/i18n/plugin_translation.pro
```

Une fois les traductions effectuées (dans Qlinguist par exemple), les compiler :

```bash
lrelease qtribu/resources/i18n/*.ts
# install git hooks (pre-commit)
pre-commit install
```
8 changes: 7 additions & 1 deletion docs/development/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
This plugin is using the [qgis-plugin-ci](https://github.com/opengisch/qgis-plugin-ci/) tool to perform packaging operations.
The package command is performing a `git archive` run based on changelog.

```bash
Install additional dependencies:

```sh
python -m pip install -U -r requirements/packaging.txt
```

```sh
# package a specific version
qgis-plugin-ci package 1.3.1
# package latest version
Expand Down

0 comments on commit 65c7e03

Please sign in to comment.