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 e979f7313 Automatic Site Publish by Buildbot
e979f7313 is described below
commit e979f731386f61d0df7a8538ce777fa137ef668f
Author: buildbot <[email protected]>
AuthorDate: Tue May 20 14:59:34 2025 +0000
Automatic Site Publish by Buildbot
---
.../artemis/documentation/2.0.0/address-model.html | 25 +++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
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 abb94a7b3..238911d33 100644
--- a/output/components/artemis/documentation/2.0.0/address-model.html
+++ b/output/components/artemis/documentation/2.0.0/address-model.html
@@ -61,7 +61,30 @@
<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>
</head>
<body>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact