Simplify release notes docs (#5063)

This commit is contained in:
Oliver 2023-06-17 21:56:26 +10:00 committed by GitHub
parent bf707766b6
commit f6420f98c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 40 deletions

View File

@ -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 %}
@ -25,5 +33,8 @@
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
</div>

View File

@ -1,13 +0,0 @@
<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>

View File

@ -1,4 +0,0 @@
</tbody>
</table>
</div>
</div>

View File

@ -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