Variables available in templates
hynek opened this issue · comments
This is a bit of a two part problem:
Firstly: I can't find any docs on what variables are available in changelog templates and what they mean. I would say that would belong somewhere into https://towncrier.readthedocs.io/en/latest/customization/index.html and the data is available here:
towncrier/src/towncrier/_builder.py
Lines 310 to 318 in 9554985
Secondly: after reading that and finding what I needed (versiondata
), it seems a bummer that variables that work in title_format
don't work in templates. Since I want to write a smart template that does certain things if the versions is "UNRELEASED", I want to set my title myself. I think there should be symmetry here.