doc: extract Commit Convention section (#518)

This commit is contained in:
NAHO 2024-08-23 21:31:39 +02:00 committed by GitHub
parent 825490bb5e
commit 9b5a65b681
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View file

@ -45,7 +45,6 @@ in pkgs.stdenvNoCC.mkDerivation {
cp ${../README.md} src/README.md
cp ${../gnome.png} src/gnome.png
cp ${../kde.png} src/kde.png
cp ${../CONTRIBUTING.md} src/contributing.md
# mdBook doesn't support this Markdown extension yet
substituteInPlace **/*.md \

View file

@ -13,7 +13,7 @@
# Contributing
- [Contributing](contributing.md)
- [Commit Convention](commit_convention.md)
- [Adding modules](modules.md)
- [Testbeds](testbeds.md)
- [Style guide](styling.md)

View file

@ -1,6 +1,4 @@
# Contributing to Stylix
## Commit messages
# Commit Convention
To keep things consistent, commit messages should follow a format
[similar to Nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions):
@ -31,7 +29,7 @@ punctuation.
Most commits to `master` will also include a pull request number in brackets
after the summary. GitHub adds this automatically when creating a squash merge.
### Old commits
## Old commits
Commits before 2024 did not follow any particular format.
Some have emojis from [GitMoji](https://gitmoji.dev).