Skip to content

Commit f3d63dd

Browse files
authored
Merge pull request #240 from MightyCreak/docs/change-devs-setup-structure
docs: improve devs setup structure
2 parents debf4d0 + 53783b8 commit f3d63dd

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Translation: add 'nl' in LINGUAS (@hugok79)
1616
- Update pypi packages (@MightyCreak)
1717
- Add pre-commit git hooks to run linters (@MightyCreak)
18+
- Docs: improve devs setup structure (@MightyCreak)
1819

1920
### Fixed
2021

docs/developers/developers-setup.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ Diffuse depends on these projects:
1010
* Meson
1111
* Flatpak and Flatpak builder (Linux only)
1212

13-
### Install git hooks (optional)
14-
15-
There is a pre-commit git hook that runs some linters on the source code before committing.
16-
17-
To install the git hooks (for the repository only), run this command:
18-
19-
```sh
20-
git config --local core.hooksPath ./.githooks
21-
```
22-
23-
## Install the dependencies
24-
2513
### Install the system dependencies
2614

2715
It's a bit difficult to get the command lines for all the systems, but these
@@ -72,6 +60,16 @@ For developer tools, run this one instead (it includes requirements.txt):
7260
pip3 install -r requirements.dev.txt
7361
```
7462

63+
### Install git hooks (optional)
64+
65+
There is a pre-commit git hook that runs some linters on the source code before committing.
66+
67+
To install the git hooks (for the repository only), run this command:
68+
69+
```sh
70+
git config --local core.hooksPath ./.githooks
71+
```
72+
7573
## Setup
7674

7775
### Setup on Linux using Flatpak

0 commit comments

Comments
 (0)