This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new e85a6ca9 Remove polyfill script
e85a6ca9 is described below
commit e85a6ca991e5020e5a677238f2f57ab2f0b19f11
Author: Alex Herbert <[email protected]>
AuthorDate: Wed Jun 26 07:21:14 2024 +0100
Remove polyfill script
---
pom.xml | 7 +++----
src/site/site.xml | 3 +--
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index b85dd97a..1a3759bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,8 +60,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<rng.revapi.version>0.14.7</rng.revapi.version>
<rng.revapi.java.version>0.27.0</rng.revapi.java.version>
- <!-- MathJax configuration also includes the prerequisite polyfill.min.js
script.
- See the maven-javadoc-plugin plugin. -->
+ <!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
<rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}</rng.parent.dir>
@@ -352,7 +351,7 @@
</links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
- <additionalOptions>${doclint.javadoc.qualifier}
${allowscript.javadoc.qualifier} -header '<script
src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script
type="text/javascript" async
src="${rng.mathjax.url}"></script>'</additionalOptions>
+ <additionalOptions>${doclint.javadoc.qualifier}
${allowscript.javadoc.qualifier} -header '<script type="text/javascript"
async src="${rng.mathjax.url}"></script>'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url
-->
<bottom>
@@ -471,7 +470,7 @@
</links>
<failOnWarnings>true</failOnWarnings>
<!-- Enable MathJax -->
- <additionalOptions>${doclint.javadoc.qualifier}
${allowscript.javadoc.qualifier} -header '<script
src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script
type="text/javascript" async
src="${rng.mathjax.url}"></script>'</additionalOptions>
+ <additionalOptions>${doclint.javadoc.qualifier}
${allowscript.javadoc.qualifier} -header '<script type="text/javascript"
async src="${rng.mathjax.url}"></script>'</additionalOptions>
<!-- Fix for JDK 11 javadoc search:
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url
-->
<bottom>
diff --git a/src/site/site.xml b/src/site/site.xml
index 865da8b8..a5e053c7 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -28,8 +28,7 @@
<body>
<head>
- <![CDATA[<script
src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
-<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+ <![CDATA[<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<link rel="stylesheet" href="$relativePath/style/module.css" type="text/css"
/>]]>
</head>