From f6420f98c2562a1c8d2ba477ceb68ee3d3844bac Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 17 Jun 2023 21:56:26 +1000 Subject: [PATCH] Simplify release notes docs (#5063) --- docs/_includes/release_table.html | 23 +++++++++++++++++------ docs/_includes/release_table_head.html | 13 ------------- docs/_includes/release_table_tail.html | 4 ---- docs/docs/releases/release_notes.md | 18 +----------------- 4 files changed, 18 insertions(+), 40 deletions(-) delete mode 100644 docs/_includes/release_table_head.html delete mode 100644 docs/_includes/release_table_tail.html diff --git a/docs/_includes/release_table.html b/docs/_includes/release_table.html index e96c9cbb42..33dea37fa5 100644 --- a/docs/_includes/release_table.html +++ b/docs/_includes/release_table.html @@ -1,10 +1,18 @@ - - Release {{ prefix }}.x - - +
+
+ + + + + + + + + + + {% for release in config.releases %} -{% if release.prefix == prefix %} -{% endif %} {% endfor %} + +
Release Date GitHub Docker
{% if release.local_path %} @@ -25,5 +33,8 @@ {% endif %}
+
+
diff --git a/docs/_includes/release_table_head.html b/docs/_includes/release_table_head.html deleted file mode 100644 index 984d3527e8..0000000000 --- a/docs/_includes/release_table_head.html +++ /dev/null @@ -1,13 +0,0 @@ - -
-
- - - - - - - - - - diff --git a/docs/_includes/release_table_tail.html b/docs/_includes/release_table_tail.html deleted file mode 100644 index 71a6230544..0000000000 --- a/docs/_includes/release_table_tail.html +++ /dev/null @@ -1,4 +0,0 @@ - -
Release Date GitHub Docker
-
-
diff --git a/docs/docs/releases/release_notes.md b/docs/docs/releases/release_notes.md index 9d1156c672..ae205a7b95 100644 --- a/docs/docs/releases/release_notes.md +++ b/docs/docs/releases/release_notes.md @@ -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