Skip to content

Commit

Permalink
Simplify release notes docs (#5063)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Jun 17, 2023
1 parent bf70776 commit f6420f9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 41 deletions.
23 changes: 17 additions & 6 deletions docs/_includes/release_table.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@

<tr>
<td colspan='2'><b><i>Release {{ prefix }}.x</i></b></td>
<td colspan='2'></td>
</tr>
<div class='md-typeset__scrollwrap'>
<div class='md-typeset__table'>
<table>
<thead>
<tr>
<th><span class='fas fa-clipboard-list'></span> Release</th>
<th><span class='fas fa-calendar-alt'></span> Date</th>
<th><span class='fab fa-github'></span> GitHub</th>
<th><span class='fab fa-docker'></span> Docker</th>
</tr>
</thead>
<tbody>

{% for release in config.releases %}
{% if release.prefix == prefix %}
<tr>
<td>
{% if release.local_path %}
Expand All @@ -25,5 +33,8 @@
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
</div>
13 changes: 0 additions & 13 deletions docs/_includes/release_table_head.html

This file was deleted.

4 changes: 0 additions & 4 deletions docs/_includes/release_table_tail.html

This file was deleted.

20 changes: 2 additions & 18 deletions docs/docs/releases/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,8 @@ The head of the *master* code branch represents the "latest and greatest" workin

## Stable Releases

!!! warning "Release Notes"
Starting from version 0.12.0, release notes are now available only on the [InvenTree GitHub Releases Page](https://github.com/inventree/InvenTree/releases). Release notes for versions prior to 0.12.0 are also tagged below.

{% include "release_table_head.html" %}

{% with prefix="0.11" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.10" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.9" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.8" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.7" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.6" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.5" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.4" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.3" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.2" %}{% include "release_table.html" %}{% endwith %}
{% with prefix="0.1" %}{% include "release_table.html" %}{% endwith %}

{% include "release_table_tail.html" %}

{% include "release_table.html" %}

## Upcoming Features

Expand Down

0 comments on commit f6420f9

Please sign in to comment.