docs: add more structure to Towncrier change log

This commit is contained in:
Gary Gale
2025-01-18 11:40:48 +00:00
parent 5ca866301f
commit 6353cbb20a
2 changed files with 30 additions and 0 deletions

View File

@@ -88,6 +88,36 @@ template = "changelog.d/changelog_template.jinja"
title_format = "## [{version}](https://github.com/long2ice/fastapi-cache/tree/{version}) - {project_date}" title_format = "## [{version}](https://github.com/long2ice/fastapi-cache/tree/{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/long2ice/fastapi-cache/issues/{issue})" issue_format = "[#{issue}](https://github.com/long2ice/fastapi-cache/issues/{issue})"
[[tool.towncrier.type]]
directory = 'feature'
name = 'New Features'
showcontent = true
[[tool.towncrier.type]]
directory = 'removed'
name = 'Deprecated/Removed Features'
showcontent = true
[[tool.towncrier.type]]
directory = 'fix'
name = 'Bug Fixes'
showcontent = true
[[tool.towncrier.type]]
directory = 'build'
name = 'Build Changes'
showcontent = true
[[tool.towncrier.type]]
directory = 'doc'
name = 'Documentation'
showcontent = true
[[tool.towncrier.type]]
directory = 'misc'
name = 'Everything Else'
showcontent = true
[tool.pyright] [tool.pyright]
strict = ["fastapi_cache", "tests"] strict = ["fastapi_cache", "tests"]
pythonVersion = "3.8" pythonVersion = "3.8"