generate_changelog.commits.generate_commit_context
generate_commit_context#
- generate_changelog.commits.generate_commit_context(commit, config, version_metadata_func)[source]#
Create the renderable context for this commit.
The summary and body are processed through their pipelines, and a category is assigned.
- Parameters:
commit (
Commit
) – The original commit dataconfig (
Configuration
) – The configuration to useversion_metadata_func (
Optional
[Callable
]) – An optional callable to set version metadata while processing
- Return type:
- Returns:
The render-able commit context