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

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/activemq-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 72c9f062b Automatic Site Publish by Buildbot
72c9f062b is described below

commit 72c9f062b93fef92313a3fff1da7f012552f3387
Author: buildbot <[email protected]>
AuthorDate: Tue May 27 20:08:11 2025 +0000

    Automatic Site Publish by Buildbot
---
 .../artemis/documentation/2.0.0/address-model.html | 25 ----------------------
 .../documentation/2.40.0/address-model.html        | 19 ----------------
 2 files changed, 44 deletions(-)

diff --git a/output/components/artemis/documentation/2.0.0/address-model.html 
b/output/components/artemis/documentation/2.0.0/address-model.html
index 095b3f029..5e65cfa55 100644
--- a/output/components/artemis/documentation/2.0.0/address-model.html
+++ b/output/components/artemis/documentation/2.0.0/address-model.html
@@ -61,31 +61,6 @@
     
     
     <link rel="prev" href="using-server.html" />
-<script>
-document.addEventListener("DOMContentLoaded", function() {
-    var currentUrl = window.location.href;
-    console.log(currentUrl);
-    if (!currentUrl.includes("latest")) {
-        console.log("=== latest!");
-        var message = document.createElement("div");
-        message.style.margin = "20px";
-        message.style.textAlign = "center";
-        message.style.backgroundColor = "#FFFFE0";
-        message.textContent = "Please be aware that this documentation is 
out-of-date. ";
-
-        // Create a link
-        var link = document.createElement("a");
-        link.href = "../latest/" + 
currentUrl.substring(currentUrl.lastIndexOf('/') + 1);
-        link.textContent = "Here is the latest documentation.";
-
-        message.appendChild(link);
-
-        // Insert the message at the top of the body
-        document.body.insertBefore(message, document.body.firstChild);
-    }
-});
-</script>    
-
         <script>
             document.addEventListener("DOMContentLoaded", function() {
                 const pathSegments = window.location.pathname.split('/');
diff --git a/output/components/artemis/documentation/2.40.0/address-model.html 
b/output/components/artemis/documentation/2.40.0/address-model.html
index 5f73227b8..853dcc194 100644
--- a/output/components/artemis/documentation/2.40.0/address-model.html
+++ b/output/components/artemis/documentation/2.40.0/address-model.html
@@ -10,25 +10,6 @@
 <link rel="stylesheet" href="css/asciidoctor.css">
 <link rel="stylesheet" href="css/font-awesome.css">
 <link rel="stylesheet" href="css/rouge-github.css">
-<script>
-document.addEventListener("DOMContentLoaded", function() {
-    const pathSegments = window.location.pathname.split('/');
-    if (window.location.hostname == "activemq.apache.org" && 
pathSegments[pathSegments.length - 2] != "latest") {
-        var message = document.createElement("div");
-        message.style.margin = "20px";
-        message.style.textAlign = "center";
-        message.style.backgroundColor = "#FFFFE0";
-        message.textContent = "Please be aware that this documentation is out 
of date. ";
-
-        var link = document.createElement("a");
-        link.href = "../latest";
-        link.textContent = "Here is the latest documentation.";
-        message.appendChild(link);
-
-        document.body.insertBefore(message, document.body.firstChild);
-    }
-});
-</script>
     <script>
             document.addEventListener("DOMContentLoaded", function() {
                 const pathSegments = window.location.pathname.split('/');


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to