Skip to content

Commit

Permalink
oca-towncrier: Use correct title level
Browse files Browse the repository at this point in the history
Use of the correct title level when generating the history into md format
  • Loading branch information
lmignon committed Oct 1, 2024
1 parent 1b21617 commit b7cbcc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_towncrier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
"""
Expand Down
2 changes: 1 addition & 1 deletion tools/towncrier-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() %}
Expand Down

0 comments on commit b7cbcc4

Please sign in to comment.