From 93e5e6050649afe2b035ec98fb68b5636a421574 Mon Sep 17 00:00:00 2001 From: Richard Summerhayes Date: Mon, 25 Nov 2024 15:24:48 -0800 Subject: [PATCH 1/3] Add pendo back to the docs site --- .../js/vendor/js.cookie.min.js | 2 + .../partials/footer-scripts-supplemental.hbs | 86 ++++++++++++++++++- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 docs/supplemental_ui/js/vendor/js.cookie.min.js diff --git a/docs/supplemental_ui/js/vendor/js.cookie.min.js b/docs/supplemental_ui/js/vendor/js.cookie.min.js new file mode 100644 index 000000000..90a767223 --- /dev/null +++ b/docs/supplemental_ui/js/vendor/js.cookie.min.js @@ -0,0 +1,2 @@ +/*! js-cookie v3.0.1 | MIT */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t + \ No newline at end of file From 78cddd253282a5b1a10a64652dc133ac836bc951 Mon Sep 17 00:00:00 2001 From: Richard Summerhayes Date: Mon, 25 Nov 2024 15:27:06 -0800 Subject: [PATCH 2/3] doc.akka not docs.akka --- .../partials/footer-scripts-supplemental.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs b/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs index dd1341635..3487aabc1 100644 --- a/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs +++ b/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs @@ -12,11 +12,11 @@ switch (hostname) { case "localhost": return "localhost"; - case "docs.akka.dev": + case "doc.akka.dev": return "dev"; - case "docs.akka.st": + case "doc.akka.st": return "staging"; - case "docs.akka.io": + case "doc.akka.io": return "prod"; default: if (hostname.includes("akka.work")) { @@ -32,11 +32,11 @@ switch (hostname) { case "localhost": return "localhost"; - case "docs.akka.dev": + case "doc.akka.dev": return ".akka.dev"; - case "docs.akka.st": + case "doc.akka.st": return ".akka.st"; - case "docs.akka.io": + case "doc.akka.io": return ".akka.io"; default: if (hostname.includes("akka.work")) { From dc8956c735188942638f70515933568710a7fe62 Mon Sep 17 00:00:00 2001 From: Richard Summerhayes Date: Tue, 10 Dec 2024 10:57:58 -0800 Subject: [PATCH 3/3] remove un-needed environments --- .../partials/footer-scripts-supplemental.hbs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs b/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs index 3487aabc1..47ea07cd6 100644 --- a/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs +++ b/docs/supplemental_ui/partials/footer-scripts-supplemental.hbs @@ -12,10 +12,6 @@ switch (hostname) { case "localhost": return "localhost"; - case "doc.akka.dev": - return "dev"; - case "doc.akka.st": - return "staging"; case "doc.akka.io": return "prod"; default: @@ -32,10 +28,6 @@ switch (hostname) { case "localhost": return "localhost"; - case "doc.akka.dev": - return ".akka.dev"; - case "doc.akka.st": - return ".akka.st"; case "doc.akka.io": return ".akka.io"; default: