mirror of https://github.com/escalate/hugo-split-theme.git

Adrian Föder
06.07.2024 86e9dd8bd976041a31c607458fbe0ac6a81d7503
docs: add contributing notes

This adds a CONTRIBUTING.md file following
the GitHub conventions and explains how
to format commit messages and how to use
the tests / Makefile.
1 files added
1 files modified
17 ■■■■■ changed files
CONTRIBUTING.md 15 ●●●●● patch | view | raw | blame | history
README.md 2 ●●● patch | view | raw | blame | history
CONTRIBUTING.md
New file
@@ -0,0 +1,15 @@
# How to contribute to Split
## Pull requests
Please follow the [Conventional Commits 1.0.0 specification](https://www.conventionalcommits.org/en/v1.0.0/) to format your commit message. One commit per change is preferred.
## Testing
There are two test sites under [`tests/exampleSiteWithImage`](./tests/exampleSiteWithImage) and [`tests/exampleSiteWithVideo`](tests/exampleSiteWithVideo). Please adjust those accordingly
to the changes you have made resp. check if your change didn't introduce any [regressions](https://en.wikipedia.org/wiki/Regression_testing).
You can run these using the [`Makefile`](./Makefile) found at the root of this repository:
`$ make hugo-server-example-site-with-image`\
`$ make hugo-server-example-site-with-video`
README.md
@@ -210,7 +210,7 @@
## Contributing
Did you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/escalate/hugo-split-theme/issues) to let me know. Or make directly a [pull request](https://github.com/escalate/hugo-split-theme/pulls).
Did you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/escalate/hugo-split-theme/issues) to let me know. Or make directly a [pull request](https://github.com/escalate/hugo-split-theme/pulls). See also the [Contributing](./CONTRIBUTING.md) notes.
## License