CL-R04/norms/rules/std-keep-a-changelog/CL-R04.md
Every release has a footnote link to a comparison
SHOULDobservessensoractive
Every release has a footnote link to a comparison
Why: A footnote leads from a section to the changes in the code themselves: a reader sees the difference between versions in one click.
Enforcer: checks/cl04_links.ts
At the bottom of the changelog, every release and Unreleased has a footnote: [1.2.0]: https://…/compare/v1.1.0...v1.2.0, [unreleased]: https://…/compare/v1.2.0...HEAD. The norm observes: not every project has web code hosting.
Why. A footnote leads from a section to the changes in the code themselves: a reader sees the difference between versions in one click.
How to fix. Add the footnotes at the bottom of the changelog.
Run. From the project root: shtuk run std-keep-a-changelog links. A violation is a line with the file and the line number. In enforce mode the exit code is 1, in observe and warn it is 0. Settings: /norms/standards/keep-a-changelog.md.
The enforcer is the links check of the std-keep-a-changelog package.
The package Standard: Keep a Changelog puts this page at
/norms/rules/std-keep-a-changelog/CL-R04.md.Source text