-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing trailers in template #108
Comments
Hi, thanks for your interest in Gitchangelog and your time to report this. Indeed, the README doesn't cover access to custom trailers. I'll keep this thread open until this is fixed. Meanwhile, you can use: As a quick documentation how to use them. Knowing that template data can access directly commit object through https://github.com/vaab/gitchangelog/blob/master/src/gitchangelog/gitchangelog.py#L1600 As you see, I'm afraid that all that is not documented properly. I hope that this is helping you getting access to what you need. |
Hi, I really appreciate your help! Unfortunately, this does not solve my issue, since trailers we're working with contain spaces in the key, e.g. Thanks again for a very helpful post and project! |
Thanks for your feedback on this particular use case. I'll keep this issue open to keep track of a feature allowing access to trailer keys more traditionally (simple dict). |
Hi, the doc says it is possible to use trailers. However, can custom trailers really be accessed from the templates? I didn't manage to make it work and it doesn't seem like this is supported. Should the doc be updated? Thanks!
The text was updated successfully, but these errors were encountered: