diff --git a/pyproject.toml b/pyproject.toml index d42673a7c1..14510a3cc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,35 +33,29 @@ title_format = "v{version}" underlines = "-~" issue_format = ":issue:`{issue}`" - [[tool.towncrier.type]] - directory = "breaking" - name = "Breaking Changes" - showcontent = true - - [[tool.towncrier.type]] - directory = "deprecate" - name = "Deprecations" - showcontent = true - - [[tool.towncrier.type]] - directory = "feature" - name = "New Features" - showcontent = true - - [[tool.towncrier.type]] - directory = "bugfix" - name = "Bug Fixes" - showcontent = true - - [[tool.towncrier.type]] - directory = "doc" - name = "Documentation" - showcontent = true - - [[tool.towncrier.type]] - directory = "misc" - name = "Miscellaneous" - showcontent = true +[tool.towncrier.fragment.breaking] +name = "Breaking Changes" +showcontent = true + +[tool.towncrier.fragment.deprecate] +name = "Deprecations" +showcontent = true + +[tool.towncrier.fragment.feature] +name = "New Features" +showcontent = true + +[tool.towncrier.fragment.bugfix] +name = "Bug Fixes" +showcontent = true + +[tool.towncrier.fragment.doc] +name = "Documentation" +showcontent = true + +[tool.towncrier.fragment.misc] +name = "Miscellaneous" +showcontent = true [tool.slotscheck] diff --git a/requirements/requirements_docs.txt b/requirements/requirements_docs.txt index 49c911cf92..3d67f42461 100644 --- a/requirements/requirements_docs.txt +++ b/requirements/requirements_docs.txt @@ -3,5 +3,5 @@ sphinx~=5.1.1 sphinxcontrib-trio~=1.1.2 sphinx-hoverxref==1.1.3 sphinx-autobuild~=2021.3 -sphinxcontrib-towncrier==0.2.1a0 -towncrier==21.9.0 +sphinxcontrib-towncrier==0.3.0a0 +towncrier==22.8.0