1. Use [towncrier][1] to generate release notes/CHANGELOG instead of
auto-generating it from git commit messages.
2. Move release scripts into a Justfile.
3. Only regenerate the top-level README file when making a release,
don't force it to be up to date in between releases.
Point 3 helps prevent documentation for unreleased changes from being
shown to users on GitHub, which may otherwise be confusing.
[1]: https://towncrier.readthedocs.io/en/stable/index.html#
I have these hooks enabled on many of my projects, but for some reason
forgot them here which led to the issue described in
https://github.com/zoni/obsidian-export/pull/181
This should help prevent that from happening again.
No need to depend on a third-party hook repository when each of these
checks is easily defined and run through system commands.
This also allows us to actually run tests, which is current unsupported
(https://github.com/doublify/pre-commit-rust/pull/19)
This removes mdBook in favor of a flat docs folder generating a single
`README.md` in the repository root.
Installation and usage instructions have also been expanded slightly.