From 34fef8c315d771524c2403aff1b8d2fd20bd7e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Paksy?= Date: Mon, 2 Mar 2026 16:03:54 +0100 Subject: [PATCH] HBASE-29952 Clean up MathJax URI workaround from dev-support/jenkins-scripts/generate-hbase-website.sh Now that the docs (RefGuide) is changed from AsciiDoc to new tech under HBASE-29878, we can get rid of the ugly workaround which replaced the MathJax CDN URI with local one in book.html before staging the website. --- dev-support/jenkins-scripts/generate-hbase-website.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dev-support/jenkins-scripts/generate-hbase-website.sh b/dev-support/jenkins-scripts/generate-hbase-website.sh index 7a5661889a57..2ab7944fc660 100644 --- a/dev-support/jenkins-scripts/generate-hbase-website.sh +++ b/dev-support/jenkins-scripts/generate-hbase-website.sh @@ -191,14 +191,6 @@ else exit $status fi -# Workaround to replace MathJax CDN URI with local one in book.html -# There is no way to influence from where the book.html Asciidoc includes the MathJax.js library. -# https://docs.asciidoctor.org/asciidoctor/latest/stem/mathjax/ -# https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-ref/ -# https://github.com/asciidoctor/asciidoctor/issues/761 -echo "Replace MathJax URI" -sed -i 's,https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/,js/,g' "${component_dir}"/target/site/book.html - # Stage the site echo "Staging HBase site" mvn \