From 6353cbb20a4a13b42fd77d6dfa3b9620d490cc6d Mon Sep 17 00:00:00 2001 From: Gary Gale Date: Sat, 18 Jan 2025 11:40:48 +0000 Subject: [PATCH] docs: add more structure to Towncrier change log --- changelog.d/{172.feature.md => 172.build.md} | 0 pyproject.toml | 30 ++++++++++++++++++++ 2 files changed, 30 insertions(+) rename changelog.d/{172.feature.md => 172.build.md} (100%) diff --git a/changelog.d/172.feature.md b/changelog.d/172.build.md similarity index 100% rename from changelog.d/172.feature.md rename to changelog.d/172.build.md diff --git a/pyproject.toml b/pyproject.toml index 0e4132f..d75afe2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,6 +88,36 @@ template = "changelog.d/changelog_template.jinja" title_format = "## [{version}](https://github.com/long2ice/fastapi-cache/tree/{version}) - {project_date}" 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] strict = ["fastapi_cache", "tests"] pythonVersion = "3.8"