This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 5760673  add docs version handling for console releases, use in 
download and past-releases, move docs to 'latest' and copy docs to older 1.4.0 
subdir to use for prior releases
5760673 is described below

commit 57606736f7ce9a9e1f6e797bf71e72f23e6630ab
Author: Robbie Gemmell <[email protected]>
AuthorDate: Thu Jan 22 12:23:33 2026 +0000

    add docs version handling for console releases, use in download and 
past-releases, move docs to 'latest' and copy docs to older 1.4.0 subdir to use 
for prior releases
---
 _config_subset_excludes.yml                                 |   3 ++-
 scripts/release/create-artemis-console-release-file         |   1 +
 src/.htaccess                                               |   4 ++++
 src/_artemis_console_releases/artemis-console-01-00-00.md   |   1 +
 src/_artemis_console_releases/artemis-console-01-01-00.md   |   1 +
 src/_artemis_console_releases/artemis-console-01-02-01.md   |   1 +
 src/_artemis_console_releases/artemis-console-01-03-00.md   |   1 +
 src/_artemis_console_releases/artemis-console-01-04-00.md   |   1 +
 src/_artemis_console_releases/artemis-console-01-05-00.md   |   1 +
 src/_includes/artemis_console_release.md                    |   9 ++++++++-
 src/_includes/splash.html                                   |   2 +-
 .../documentation/{ => latest}/addresses.png                | Bin
 .../artemis-console/documentation/{ => latest}/browse.png   | Bin
 .../artemis-console/documentation/{ => latest}/browse2.png  | Bin
 .../artemis-console/documentation/{ => latest}/connect.png  | Bin
 .../documentation/{ => latest}/connected.png                | Bin
 .../documentation/{ => latest}/connections.png              | Bin
 .../artemis-console/documentation/{ => latest}/console.md   |   0
 .../documentation/{ => latest}/consumers.png                | Bin
 .../artemis-console/documentation/{ => latest}/deploying.md |   0
 .../artemis-console/documentation/{ => latest}/diagram.png  | Bin
 .../artemis-console/documentation/{ => latest}/index.md     |   0
 .../documentation/{ => latest}/producers.png                | Bin
 .../artemis-console/documentation/{ => latest}/queues.png   | Bin
 .../artemis-console/documentation/{ => latest}/sessions.png | Bin
 .../artemis-console/documentation/{ => latest}/treeview.png | Bin
 .../documentation/{ => latest}/viewmessage.png              | Bin
 .../documentation/{ => version/1.4.0}/addresses.png         | Bin
 .../documentation/{ => version/1.4.0}/browse.png            | Bin
 .../documentation/{ => version/1.4.0}/browse2.png           | Bin
 .../documentation/{ => version/1.4.0}/connect.png           | Bin
 .../documentation/{ => version/1.4.0}/connected.png         | Bin
 .../documentation/{ => version/1.4.0}/connections.png       | Bin
 .../documentation/{ => version/1.4.0}/console.md            |   0
 .../documentation/{ => version/1.4.0}/consumers.png         | Bin
 .../documentation/{ => version/1.4.0}/deploying.md          |   0
 .../documentation/{ => version/1.4.0}/diagram.png           | Bin
 .../documentation/{ => version/1.4.0}/index.md              |   0
 .../documentation/{ => version/1.4.0}/producers.png         | Bin
 .../documentation/{ => version/1.4.0}/queues.png            | Bin
 .../documentation/{ => version/1.4.0}/sessions.png          | Bin
 .../documentation/{ => version/1.4.0}/treeview.png          | Bin
 .../documentation/{ => version/1.4.0}/viewmessage.png       | Bin
 src/components/artemis-console/download/index.md            |   4 +++-
 src/components/artemis-console/index.md                     |   1 +
 src/robots.txt                                              |   1 +
 46 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/_config_subset_excludes.yml b/_config_subset_excludes.yml
index 48df912..e715811 100644
--- a/_config_subset_excludes.yml
+++ b/_config_subset_excludes.yml
@@ -6,5 +6,6 @@
 exclude: [
 vendor,
 components/artemis/documentation/javadocs/javadoc-latest,
-components/artemis/documentation/previous/
+components/artemis/documentation/previous/,
+components/artemis-console/documentation/version/
 ]
diff --git a/scripts/release/create-artemis-console-release-file 
b/scripts/release/create-artemis-console-release-file
index 708e277..93e957b 100755
--- a/scripts/release/create-artemis-console-release-file
+++ b/scripts/release/create-artemis-console-release-file
@@ -28,6 +28,7 @@ version: {version}
 release_date: {date_string}
 title: Artemis Console {version}
 shortDescription: Bug fix release.
+docs_version: {version}
 ---
 """
 
diff --git a/src/.htaccess b/src/.htaccess
index c9c67a5..97434ff 100644
--- a/src/.htaccess
+++ b/src/.htaccess
@@ -14,3 +14,7 @@ RewriteRule ^components/artemis/documentation/2.40.0(/?.*)$ 
https://%{SERVER_NAM
 RewriteRule ^components/artemis/documentation/2.41.0(/?.*)$ 
https://%{SERVER_NAME}/components/artemis/documentation/previous/2.41.0$1 
[R=301,L]
 RewriteRule ^components/artemis/documentation/2.42.0(/?.*)$ 
https://%{SERVER_NAME}/components/artemis/documentation/previous/2.42.0$1 
[R=301,L]
 RewriteRule ^components/artemis/documentation/2.43.0(/?.*)$ 
https://%{SERVER_NAME}/components/artemis/documentation/previous/2.43.0$1 
[R=301,L]
+RewriteRule ^components/artemis-console/documentation(/?)$ 
https://%{SERVER_NAME}/components/artemis-console/documentation/latest/ 
[R=301,L]
+RewriteRule ^components/artemis-console/documentation/index(.*)$ 
https://%{SERVER_NAME}/components/artemis-console/documentation/latest/ 
[R=301,L]
+RewriteRule ^components/artemis-console/documentation/console(.*)$ 
https://%{SERVER_NAME}/components/artemis-console/documentation/latest/ 
[R=301,L]
+RewriteRule ^components/artemis-console/documentation/deploying(.*)$ 
https://%{SERVER_NAME}/components/artemis-console/documentation/latest/ 
[R=301,L]
diff --git a/src/_artemis_console_releases/artemis-console-01-00-00.md 
b/src/_artemis_console_releases/artemis-console-01-00-00.md
index 45c56bd..0c0b08d 100644
--- a/src/_artemis_console_releases/artemis-console-01-00-00.md
+++ b/src/_artemis_console_releases/artemis-console-01-00-00.md
@@ -3,5 +3,6 @@ version: 1.0.0
 release_date: 2024-10-08
 title: ActiveMQ Artemis Console 1.0.0
 shortDescription: Next generation Artemis Console using Hawtio 4 with React + 
Patternfly.
+docs_version: 1.4.0
 activemq_tlp: true
 ---
diff --git a/src/_artemis_console_releases/artemis-console-01-01-00.md 
b/src/_artemis_console_releases/artemis-console-01-01-00.md
index f066851..f102bee 100644
--- a/src/_artemis_console_releases/artemis-console-01-01-00.md
+++ b/src/_artemis_console_releases/artemis-console-01-01-00.md
@@ -3,5 +3,6 @@ version: 1.1.0
 release_date: 2025-01-22
 title: ActiveMQ Artemis Console 1.1.0
 shortDescription: Update to PF5, various improvements, and bug fixes.
+docs_version: 1.4.0
 activemq_tlp: true
 ---
diff --git a/src/_artemis_console_releases/artemis-console-01-02-01.md 
b/src/_artemis_console_releases/artemis-console-01-02-01.md
index 426b573..e29ac07 100644
--- a/src/_artemis_console_releases/artemis-console-01-02-01.md
+++ b/src/_artemis_console_releases/artemis-console-01-02-01.md
@@ -3,5 +3,6 @@ version: 1.2.1
 release_date: 2025-07-02
 title: ActiveMQ Artemis Console 1.2.1
 shortDescription: Update to HawtIO 4.4.1 and Console usability improvements.
+docs_version: 1.4.0
 activemq_tlp: true
 ---
diff --git a/src/_artemis_console_releases/artemis-console-01-03-00.md 
b/src/_artemis_console_releases/artemis-console-01-03-00.md
index 427d458..7cb793b 100644
--- a/src/_artemis_console_releases/artemis-console-01-03-00.md
+++ b/src/_artemis_console_releases/artemis-console-01-03-00.md
@@ -3,5 +3,6 @@ version: 1.3.0
 release_date: 2025-09-02
 title: ActiveMQ Artemis Console 1.3.0
 shortDescription: HawtIO Upgrade and Bug fix release.
+docs_version: 1.4.0
 activemq_tlp: true
 ---
diff --git a/src/_artemis_console_releases/artemis-console-01-04-00.md 
b/src/_artemis_console_releases/artemis-console-01-04-00.md
index 3e17639..2f5e9b2 100644
--- a/src/_artemis_console_releases/artemis-console-01-04-00.md
+++ b/src/_artemis_console_releases/artemis-console-01-04-00.md
@@ -3,5 +3,6 @@ version: 1.4.0
 release_date: 2025-11-11
 title: Artemis Console 1.4.0
 shortDescription: HawtIO Upgrade and Bug fix release.
+docs_version: 1.4.0
 activemq_tlp: true
 ---
diff --git a/src/_artemis_console_releases/artemis-console-01-05-00.md 
b/src/_artemis_console_releases/artemis-console-01-05-00.md
index c07e69b..5445407 100644
--- a/src/_artemis_console_releases/artemis-console-01-05-00.md
+++ b/src/_artemis_console_releases/artemis-console-01-05-00.md
@@ -3,4 +3,5 @@ version: 1.5.0
 release_date: 2026-01-13
 title: Artemis Console 1.5.0
 shortDescription: Rebranding to Apache Artemis, switch groupId to 
org.apache.artemis, enhancements and bug fixes
+docs_version: 1.5.0
 ---
\ No newline at end of file
diff --git a/src/_includes/artemis_console_release.md 
b/src/_includes/artemis_console_release.md
index 1329f58..ff145a8 100644
--- a/src/_includes/artemis_console_release.md
+++ b/src/_includes/artemis_console_release.md
@@ -1,3 +1,10 @@
+{% if include.latest_docs %}
+  {% assign docs_version = "latest" %}
+  {% assign docs_prefix = "../documentation" %}
+{% else %}
+  {% assign docs_version = include.release.docs_version %}
+  {% assign docs_prefix = "../documentation/version" %}
+{% endif %}
 {% if include.release.activemq_tlp %}
   {% assign project_dir = "activemq" %}
   {% assign component_dir = "activemq-artemis-console" %}
@@ -7,7 +14,7 @@
 {% endif %}
 
 #### Apache Artemis Console {{include.release.version}}  
({{include.release.release_date | date_to_string: "ordinal", "US"}})
-[Release Notes](release-notes-{{include.release.version}}) | 
[Documentation](../documentation/)
+[Release Notes](release-notes-{{include.release.version}}) | 
[Documentation]({{docs_prefix}}/{{docs_version}})
 
 {% if include.is_current_release %}
   {% capture distro_url_base 
%}https://www.apache.org/dyn/closer.lua?filename={{project_dir}}/{{component_dir}}/{{include.release.version}}{%
 endcapture %}
diff --git a/src/_includes/splash.html b/src/_includes/splash.html
index 625292c..25568da 100644
--- a/src/_includes/splash.html
+++ b/src/_includes/splash.html
@@ -6,7 +6,7 @@
           <p style="font-size: 50px">{{ page.project_name }}</p>
           <p style="font-size: 20px">{{ page.project_info }}</p>
           <a style="margin-top: 20px" href="download" class="btn btn-primary 
btn-lg btn-outline-light">Download<i class="fa-download fa btn-icon"></i></a>
-          <a style="margin-top: 20px" href="documentation" class="btn 
btn-primary btn-lg btn-outline-light">Read the Docs<i class="fa-book fa 
btn-icon"></i></a>
+          <a style="margin-top: 20px" href="{{ page.documentation_dir | 
default: 'documentation' }}" class="btn btn-primary btn-lg 
btn-outline-light">Read the Docs<i class="fa-book fa btn-icon"></i></a>
       </div>
       <div class="col-3 align-middle"></div>
     </div>
diff --git a/src/components/artemis-console/documentation/addresses.png 
b/src/components/artemis-console/documentation/latest/addresses.png
similarity index 100%
copy from src/components/artemis-console/documentation/addresses.png
copy to src/components/artemis-console/documentation/latest/addresses.png
diff --git a/src/components/artemis-console/documentation/browse.png 
b/src/components/artemis-console/documentation/latest/browse.png
similarity index 100%
copy from src/components/artemis-console/documentation/browse.png
copy to src/components/artemis-console/documentation/latest/browse.png
diff --git a/src/components/artemis-console/documentation/browse2.png 
b/src/components/artemis-console/documentation/latest/browse2.png
similarity index 100%
copy from src/components/artemis-console/documentation/browse2.png
copy to src/components/artemis-console/documentation/latest/browse2.png
diff --git a/src/components/artemis-console/documentation/connect.png 
b/src/components/artemis-console/documentation/latest/connect.png
similarity index 100%
copy from src/components/artemis-console/documentation/connect.png
copy to src/components/artemis-console/documentation/latest/connect.png
diff --git a/src/components/artemis-console/documentation/connected.png 
b/src/components/artemis-console/documentation/latest/connected.png
similarity index 100%
copy from src/components/artemis-console/documentation/connected.png
copy to src/components/artemis-console/documentation/latest/connected.png
diff --git a/src/components/artemis-console/documentation/connections.png 
b/src/components/artemis-console/documentation/latest/connections.png
similarity index 100%
copy from src/components/artemis-console/documentation/connections.png
copy to src/components/artemis-console/documentation/latest/connections.png
diff --git a/src/components/artemis-console/documentation/console.md 
b/src/components/artemis-console/documentation/latest/console.md
similarity index 100%
copy from src/components/artemis-console/documentation/console.md
copy to src/components/artemis-console/documentation/latest/console.md
diff --git a/src/components/artemis-console/documentation/consumers.png 
b/src/components/artemis-console/documentation/latest/consumers.png
similarity index 100%
copy from src/components/artemis-console/documentation/consumers.png
copy to src/components/artemis-console/documentation/latest/consumers.png
diff --git a/src/components/artemis-console/documentation/deploying.md 
b/src/components/artemis-console/documentation/latest/deploying.md
similarity index 100%
copy from src/components/artemis-console/documentation/deploying.md
copy to src/components/artemis-console/documentation/latest/deploying.md
diff --git a/src/components/artemis-console/documentation/diagram.png 
b/src/components/artemis-console/documentation/latest/diagram.png
similarity index 100%
copy from src/components/artemis-console/documentation/diagram.png
copy to src/components/artemis-console/documentation/latest/diagram.png
diff --git a/src/components/artemis-console/documentation/index.md 
b/src/components/artemis-console/documentation/latest/index.md
similarity index 100%
copy from src/components/artemis-console/documentation/index.md
copy to src/components/artemis-console/documentation/latest/index.md
diff --git a/src/components/artemis-console/documentation/producers.png 
b/src/components/artemis-console/documentation/latest/producers.png
similarity index 100%
copy from src/components/artemis-console/documentation/producers.png
copy to src/components/artemis-console/documentation/latest/producers.png
diff --git a/src/components/artemis-console/documentation/queues.png 
b/src/components/artemis-console/documentation/latest/queues.png
similarity index 100%
copy from src/components/artemis-console/documentation/queues.png
copy to src/components/artemis-console/documentation/latest/queues.png
diff --git a/src/components/artemis-console/documentation/sessions.png 
b/src/components/artemis-console/documentation/latest/sessions.png
similarity index 100%
copy from src/components/artemis-console/documentation/sessions.png
copy to src/components/artemis-console/documentation/latest/sessions.png
diff --git a/src/components/artemis-console/documentation/treeview.png 
b/src/components/artemis-console/documentation/latest/treeview.png
similarity index 100%
copy from src/components/artemis-console/documentation/treeview.png
copy to src/components/artemis-console/documentation/latest/treeview.png
diff --git a/src/components/artemis-console/documentation/viewmessage.png 
b/src/components/artemis-console/documentation/latest/viewmessage.png
similarity index 100%
copy from src/components/artemis-console/documentation/viewmessage.png
copy to src/components/artemis-console/documentation/latest/viewmessage.png
diff --git a/src/components/artemis-console/documentation/addresses.png 
b/src/components/artemis-console/documentation/version/1.4.0/addresses.png
similarity index 100%
rename from src/components/artemis-console/documentation/addresses.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/addresses.png
diff --git a/src/components/artemis-console/documentation/browse.png 
b/src/components/artemis-console/documentation/version/1.4.0/browse.png
similarity index 100%
rename from src/components/artemis-console/documentation/browse.png
rename to src/components/artemis-console/documentation/version/1.4.0/browse.png
diff --git a/src/components/artemis-console/documentation/browse2.png 
b/src/components/artemis-console/documentation/version/1.4.0/browse2.png
similarity index 100%
rename from src/components/artemis-console/documentation/browse2.png
rename to src/components/artemis-console/documentation/version/1.4.0/browse2.png
diff --git a/src/components/artemis-console/documentation/connect.png 
b/src/components/artemis-console/documentation/version/1.4.0/connect.png
similarity index 100%
rename from src/components/artemis-console/documentation/connect.png
rename to src/components/artemis-console/documentation/version/1.4.0/connect.png
diff --git a/src/components/artemis-console/documentation/connected.png 
b/src/components/artemis-console/documentation/version/1.4.0/connected.png
similarity index 100%
rename from src/components/artemis-console/documentation/connected.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/connected.png
diff --git a/src/components/artemis-console/documentation/connections.png 
b/src/components/artemis-console/documentation/version/1.4.0/connections.png
similarity index 100%
rename from src/components/artemis-console/documentation/connections.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/connections.png
diff --git a/src/components/artemis-console/documentation/console.md 
b/src/components/artemis-console/documentation/version/1.4.0/console.md
similarity index 100%
rename from src/components/artemis-console/documentation/console.md
rename to src/components/artemis-console/documentation/version/1.4.0/console.md
diff --git a/src/components/artemis-console/documentation/consumers.png 
b/src/components/artemis-console/documentation/version/1.4.0/consumers.png
similarity index 100%
rename from src/components/artemis-console/documentation/consumers.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/consumers.png
diff --git a/src/components/artemis-console/documentation/deploying.md 
b/src/components/artemis-console/documentation/version/1.4.0/deploying.md
similarity index 100%
rename from src/components/artemis-console/documentation/deploying.md
rename to 
src/components/artemis-console/documentation/version/1.4.0/deploying.md
diff --git a/src/components/artemis-console/documentation/diagram.png 
b/src/components/artemis-console/documentation/version/1.4.0/diagram.png
similarity index 100%
rename from src/components/artemis-console/documentation/diagram.png
rename to src/components/artemis-console/documentation/version/1.4.0/diagram.png
diff --git a/src/components/artemis-console/documentation/index.md 
b/src/components/artemis-console/documentation/version/1.4.0/index.md
similarity index 100%
rename from src/components/artemis-console/documentation/index.md
rename to src/components/artemis-console/documentation/version/1.4.0/index.md
diff --git a/src/components/artemis-console/documentation/producers.png 
b/src/components/artemis-console/documentation/version/1.4.0/producers.png
similarity index 100%
rename from src/components/artemis-console/documentation/producers.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/producers.png
diff --git a/src/components/artemis-console/documentation/queues.png 
b/src/components/artemis-console/documentation/version/1.4.0/queues.png
similarity index 100%
rename from src/components/artemis-console/documentation/queues.png
rename to src/components/artemis-console/documentation/version/1.4.0/queues.png
diff --git a/src/components/artemis-console/documentation/sessions.png 
b/src/components/artemis-console/documentation/version/1.4.0/sessions.png
similarity index 100%
rename from src/components/artemis-console/documentation/sessions.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/sessions.png
diff --git a/src/components/artemis-console/documentation/treeview.png 
b/src/components/artemis-console/documentation/version/1.4.0/treeview.png
similarity index 100%
rename from src/components/artemis-console/documentation/treeview.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/treeview.png
diff --git a/src/components/artemis-console/documentation/viewmessage.png 
b/src/components/artemis-console/documentation/version/1.4.0/viewmessage.png
similarity index 100%
rename from src/components/artemis-console/documentation/viewmessage.png
rename to 
src/components/artemis-console/documentation/version/1.4.0/viewmessage.png
diff --git a/src/components/artemis-console/download/index.md 
b/src/components/artemis-console/download/index.md
index cac5673..300de9e 100644
--- a/src/components/artemis-console/download/index.md
+++ b/src/components/artemis-console/download/index.md
@@ -5,6 +5,7 @@ title-class: page-title-artemis
 type: artemis
 ---
 {% assign reversed_releases = site["artemis_console_releases"] | reverse %}
+{% assign latest_docs = true %}
 {% if reversed_releases.size > 1 %}
 This is the current Artemis Console release. For prior releases, please see 
the <a href="past_releases">past releases</a> page.
 
@@ -14,7 +15,8 @@ It is important to [verify the 
integrity](#verify-the-integrity-of-downloads) of
 {% for current_release_prefix in site.data.current_releases["artemis_console"] 
%}
     {% for release in reversed_releases %}
         {% if release.version contains current_release_prefix %}
-{% include artemis_console_release.md release=release is_current_release=true 
%}
+            {% include artemis_console_release.md release=release 
is_current_release=true latest_docs=latest_docs%}
+            {% assign latest_docs = false %}
             {% break %}
         {% endif %}
     {% endfor %}
diff --git a/src/components/artemis-console/index.md 
b/src/components/artemis-console/index.md
index f81ae82..ed7a0dd 100644
--- a/src/components/artemis-console/index.md
+++ b/src/components/artemis-console/index.md
@@ -4,6 +4,7 @@ project_name: Apache Artemis Console
 project_info: The Next Generation Artemis Console built on HawtIO 4
 project_class: artemis
 project_color: purple
+documentation_dir: documentation/latest/
 ---
 
 Apache Artemis Console is the next generation console for Artemis that is 
built on top of [HawtIO](https://hawt.io/) and written using 
[React](https://react.dev/) and [Patternfly](https://www.patternfly.org/).
diff --git a/src/robots.txt b/src/robots.txt
index b9d2a24..ca03db7 100644
--- a/src/robots.txt
+++ b/src/robots.txt
@@ -1,2 +1,3 @@
 User-agent: *
 Disallow: /components/artemis/documentation/previous/
+Disallow: /components/artemis-console/documentation/version/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to