Skip to content

Commit

Permalink
Merge pull request #5 from nginx/update-OSS-docs
Browse files Browse the repository at this point in the history
fix: fix template line breaks
  • Loading branch information
Jcahilltorre authored Mar 14, 2024
2 parents c01edbd + 071cb80 commit 2be2edb
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions source/template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,80 +22,84 @@ See the list of supported Operating Systems and architectures in the [Technical

This release introduces the following new features:

{% for feature in change['changes']['🚀 Features'] %}- {{ feature }}{% endfor %}{% endif %}
{% for feature in change['changes']['🚀 Features'] %}- {{ feature }}
{% endfor %}{% endif %}
{% if change['changes']['🐛 Bug Fixes'] %}
### 🐛 Bug Fixes

In this release we have resolved the following issues:

{% for fix in change['changes']['🐛 Bug Fixes'] %}- {{ fix }}{% endfor %}{% endif %}
{% for fix in change['changes']['🐛 Bug Fixes'] %}- {{ fix }}
{% endfor %}{% endif %}
{% if change['changes']['📝 Documentation'] %}
### 📝 Documentation

We have made the following updates to the documentation:

{% for doc in change['changes']['📝 Documentation'] %}- {{ doc }}{% endfor %}{% endif %}
{% for doc in change['changes']['📝 Documentation'] %}- {{ doc }}
{% endfor %}{% endif %}
{% if change['changes']['⬇️ Dependencies'] %}
### ⬇️ Dependencies

We have introduced the following changes to the dependencies:

{% for dep in change['changes']['⬆️ Dependencies'] %}- {{ dep }}{% endfor %}{% endif %}
{% for dep in change['changes']['⬆️ Dependencies'] %}- {{ dep }}
{% endfor %}{% endif %}
{% if change['changes']['🔨 Maintenance'] %}
### 🔨 Maintenance

We have made the following maintenance-related minor changes:

{% for maint in change['changes']['🔨 Maintenance'] %}- {{ maint }}{% endfor %}{% endif %}
{% for maint in change['changes']['🔨 Maintenance'] %}- {{ maint }}
{% endfor %}{% endif %}
---
{% endfor %}
{% else %}
{% if all_changes %}
# Release [{{ change['release_version'] }}](https//github.com/nginx/agent/releases/tag/{{ change['release_version'] }})
{% if change['changes']['🌟 Highlights'] %}
### 🌟 Highlights
{% for highlight in change['changes']['🌟 Highlights'] %}
- {{ highlight }}
{% endfor %}{% endif %}
{% if change['changes']['🚀 Features'] %}
### 🚀 Features

This release introduces the following new features:

{% for feature in change['changes']['🚀 Features'] %}
- {{ feature }}
{% endfor %}
{% endif %}
{% endfor %}{% endif %}
{% if change['changes']['🐛 Bug Fixes'] %}
### 🐛 Bug Fixes

In this release we have resolved the following issues:

{% for fix in change['changes']['🐛 Bug Fixes'] %}
- {{ fix }}
{% endfor %}
{% endif %}
{% endfor %}{% endif %}
{% if change['changes']['📝 Documentation'] %}
### 📝 Documentation

We have made the following updates to the documentation:

{% for doc in change['changes']['📝 Documentation'] %}
- {{ doc }}
{% endfor %}
{% endif %}
{% endfor %}{% endif %}
{% if change['changes']['⬇️ Dependencies'] %}
### ⬇️ Dependencies

We have introduced the following changes to the dependencies:

{% for dep in change['changes']['⬆️ Dependencies'] %}
- {{ dep }}
{% endfor %}
{% endif %}
{% endfor %}{% endif %}
{% if change['changes']['🔨 Maintenance'] %}
### 🔨 Maintenance

We have made the following maintenance-related minor changes:

{% for maint in change['changes']['🔨 Maintenance'] %}
- {{ maint }}
{% endfor %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}{% endif %}
{% endif %}{% endif %}

0 comments on commit 2be2edb

Please sign in to comment.