From b7cbcc48294e7beecc417114d22929f73fe15e50 Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (ACSONE)" Date: Tue, 1 Oct 2024 14:48:40 +0200 Subject: [PATCH] oca-towncrier: Use correct title level Use of the correct title level when generating the history into md format --- tests/test_towncrier.py | 2 +- tools/towncrier-template.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_towncrier.py b/tests/test_towncrier.py index 28e2c99f..df93bcd0 100644 --- a/tests/test_towncrier.py +++ b/tests/test_towncrier.py @@ -97,7 +97,7 @@ def test_oca_towncrier_md(tmp_path): """\ ## 14.0.1.0.1 (2021-12-31) - #### Bugfixes + ### Bugfixes - Bugfix description. ([#50](https://github.com/OCA/therepo/issues/50)) """ diff --git a/tools/towncrier-template.md b/tools/towncrier-template.md index 41773757..ce38e183 100644 --- a/tools/towncrier-template.md +++ b/tools/towncrier-template.md @@ -13,7 +13,7 @@ {% if sections[section] %} {% for category, val in definitions.items() if category in sections[section] %} -#### {{ definitions[category]['name'] }} +### {{ definitions[category]['name'] }} {% if definitions[category]['showcontent'] %} {% for text, values in sections[section][category].items() %}