From afe364c85729b508fab631df1129fb0940b7efee Mon Sep 17 00:00:00 2001 From: onerandomusername Date: Fri, 30 Sep 2022 15:32:50 -0400 Subject: [PATCH] fix: template nonsense --- changelog/_template.rst.jinja | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog/_template.rst.jinja b/changelog/_template.rst.jinja index 09b245d33a..59573c36ed 100644 --- a/changelog/_template.rst.jinja +++ b/changelog/_template.rst.jinja @@ -1,7 +1,7 @@ .. _vp{{ versiondata.version.replace(".", "p") }}: -{{ top_line }} -{{ top_underline * top_line|length }} +{{ "v" + versiondata.version }} +{{ top_underline * ((versiondata.version)|length + 1) }} {% for section, _ in sections.items() %} {% set underline = underlines[0] %} diff --git a/pyproject.toml b/pyproject.toml index d42673a7c1..93b23c7bab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ template = "changelog/_template.rst.jinja" package = "disnake" filename = "docs/whats_new.rst" directory = "changelog/" -title_format = "v{version}" +title_format = false underlines = "-~" issue_format = ":issue:`{issue}`"