Skip to content

Commit

Permalink
code: Compact towncrier config
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Oct 17, 2023
1 parent 3fc8d22 commit a8ec075
Showing 1 changed file with 11 additions and 39 deletions.
50 changes: 11 additions & 39 deletions code/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,14 @@ title_format = "v{version} - {project_date}"
issue_format = "`#{issue} <https://github.com/swyddfa/esbonio/issues/{issue}>`_"
underlines = ["-", "^", "\""]

[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true

[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true

[[tool.towncrier.type]]
directory = "fix"
name = "Fixes"
showcontent = true

[[tool.towncrier.type]]
directory = "doc"
name = "Docs"
showcontent = true

[[tool.towncrier.type]]
directory = "enhancement"
name = "Enhancements"
showcontent = true

[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true

[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = true

[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
type = [
{ name = "Breaking Changes", directory = "breaking", showcontent = true },
{ name = "Features", directory = "feature", showcontent = true },
{ name = "Enhancements", directory = "enhancement", showcontent = true },
{ name = "API Changes", directory = "api", showcontent = true },
{ name = "Fixes", directory = "fix", showcontent = true },
{ name = "Docs", directory = "doc", showcontent = true },
{ name = "Deprecated", directory = "deprecated", showcontent = true },
{ name = "Misc", directory = "misc", showcontent = true },
{ name = "Removed", directory = "removed", showcontent = true },
]

0 comments on commit a8ec075

Please sign in to comment.