diff options
author | Tzu-ping Chung <uranusjr@gmail.com> | 2021-04-18 07:44:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 07:44:38 +0800 |
commit | cf2c2ccf6fd68140c7b17296b1aeb3a43848fbb2 (patch) | |
tree | f870b1734ebfce4e472ede56d315aecb82f945ad /tools | |
parent | c6ab30aaefa24e53983ca29b38fb67076f008238 (diff) | |
download | pip-cf2c2ccf6fd68140c7b17296b1aeb3a43848fbb2.tar.gz |
Fix changelog misformat (#9817)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/news/template.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/news/template.rst b/tools/news/template.rst index 70d6ab75d..cff0db4f6 100644 --- a/tools/news/template.rst +++ b/tools/news/template.rst @@ -1,6 +1,7 @@ -{{ top_line -}} - -{%- for section in sections %} +{% set underline = "=" %} +{{ top_line }} +{{ underline * top_line|length }} +{% for section in sections %} {% set underline = "-" %} {% if section %} {{ section }} |