You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_indent=get_indent, # simplify indentation in the jinja template.
)
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.
The text was updated successfully, but these errors were encountered:
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 intitle_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.The text was updated successfully, but these errors were encountered: