Skip to content

Commit

Permalink
fix: template nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Sep 30, 2022
1 parent 49f8344 commit afe364c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions changelog/_template.rst.jinja
Original file line number Diff line number Diff line change
@@ -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] %}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}`"

Expand Down

0 comments on commit afe364c

Please sign in to comment.