Skip to content

Make whitespace between releases configurable #552

@iliakur

Description

@iliakur

Status Quo

towncrier build will generate the following example changelog entry

<!-- towncrier release notes start -->

## <New Release>

### Changed

- Something changed


## Old Release

Notice how there are 2 newlines between Something changed and ## Old Release.

It may be useful in some contexts to customize it. For instance I'm on a team that prefers not to have the second newline between releases.

I think the most flexible solution would be to add a configuration field called something like release_separator. It could have a default value of either \n or \n\n depending on what we consider as an integral part of one release section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions