This is an automated email from the ASF dual-hosted git repository.
gengliang pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new b5bf8475b7b7 [SPARK-51129][DOC] Fix code tab switching in Spark Website
b5bf8475b7b7 is described below
commit b5bf8475b7b7173f46ea5859d617dadce3b24e65
Author: Gengliang Wang <[email protected]>
AuthorDate: Fri Feb 7 14:51:50 2025 -0800
[SPARK-51129][DOC] Fix code tab switching in Spark Website
### What changes were proposed in this pull request?
Fix code tab switching on the Spark website. The issue occurs because the
self-hosted bootstrap.bundle.min.js from [PR
#49823](https://github.com/apache/spark/pull/49823) is version 4.4.1, while the
CDN version is 5.0.2. Upgrading bootstrap.bundle.min.js resolves the problem.
### Why are the changes needed?
Fix Spark website code tab switching
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Local built website and verified.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #49853 from gengliangwang/codeTab.
Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
(cherry picked from commit 717027d86b30032fd9edf338877e9ab966f58874)
Signed-off-by: Gengliang Wang <[email protected]>
---
LICENSE | 2 +-
docs/js/vendor/bootstrap.bundle.min.js | 8 ++++----
docs/js/vendor/bootstrap.bundle.min.js.map | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/LICENSE b/LICENSE
index 3f987cc7cdba..9b1e96a44a58 100644
--- a/LICENSE
+++ b/LICENSE
@@ -214,7 +214,6 @@
common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputSt
core/src/main/java/org/apache/spark/util/collection/TimSort.java
core/src/main/resources/org/apache/spark/ui/static/bootstrap*
core/src/main/resources/org/apache/spark/ui/static/vis*
-docs/js/vendor/bootstrap.js
connector/spark-ganglia-lgpl/src/main/java/com/codahale/metrics/ganglia/GangliaReporter.java
core/src/main/resources/org/apache/spark/ui/static/d3-flamegraph.min.js
core/src/main/resources/org/apache/spark/ui/static/d3-flamegraph.css
@@ -244,6 +243,7 @@
core/src/main/resources/org/apache/spark/ui/static/*dataTables*
core/src/main/resources/org/apache/spark/ui/static/graphlib-dot.min.js
core/src/main/resources/org/apache/spark/ui/static/jquery*
core/src/main/resources/org/apache/spark/ui/static/sorttable.js
+docs/js/vendor/bootstrap*
docs/js/vendor/anchor.min.js
docs/js/vendor/jquery*
docs/js/vendor/modernizer*
diff --git a/docs/js/vendor/bootstrap.bundle.min.js
b/docs/js/vendor/bootstrap.bundle.min.js
index 78c533b4e7ec..68acb7a315ec 100644
--- a/docs/js/vendor/bootstrap.bundle.min.js
+++ b/docs/js/vendor/bootstrap.bundle.min.js
@@ -1,7 +1,7 @@
/*!
- * Bootstrap v4.4.1 (https://getbootstrap.com/)
- * Copyright 2011-2019 The Bootstrap Authors
(https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * Bootstrap v5.0.2 (https://getbootstrap.com/)
+ * Copyright 2011-2021 The Bootstrap Authors
(https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof
module?t(exports,require("jquery")):"function"==typeof
define&&define.amd?define(["exports","jquery"],t):t((e=e||self).bootstrap={},e.jQuery)}(this,function(e,p){"use
strict";function i(e,t){for(var n=0;n<t.length;n++){var
i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in
i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t,n){return
t&&i(e.prototype,t),n&&i(e,n),e}function t(t,e){var n=Object.keys [...]
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof
module?module.exports=e():"function"==typeof
define&&define.amd?define(e):(t="undefined"!=typeof
globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use
strict";const
t={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parent
[...]
//# sourceMappingURL=bootstrap.bundle.min.js.map
\ No newline at end of file
diff --git a/docs/js/vendor/bootstrap.bundle.min.js.map
b/docs/js/vendor/bootstrap.bundle.min.js.map
index 54d2495018b0..7a01d5cd8b64 100644
--- a/docs/js/vendor/bootstrap.bundle.min.js.map
+++ b/docs/js/vendor/bootstrap.bundle.min.js.map
@@ -1 +1 @@
-{"version":3,"sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../node_modules/popper.js/dist/esm/popper.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js"],"names":["TRANSITION_END","transitionEndEmulator","duration","_this","this","cal
[...]
\ No newline at end of file
+{"version":3,"sources":["../../js/src/dom/selector-engine.js","../../js/src/util/index.js","../../js/src/dom/event-handler.js","../../js/src/dom/data.js","../../js/src/base-component.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/dom/manipulator.js","../../js/src/carousel.js","../../js/src/collapse.js","../../node_modules/@popperjs/core/lib/enums.js","../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../node_modules/@popperjs/core/lib/dom-utils/getWi
[...]
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]