Skip to content

Commit

Permalink
Remove polyfill script
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Jun 26, 2024
1 parent 7f6c74e commit 186fb20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
in the older "1.x" version format. -->
<maven.compiler.source>1.${commons.compiler.release}</maven.compiler.source>
<maven.compiler.target>1.${commons.compiler.release}</maven.compiler.target>
<!-- MathJax configuration also includes the prerequisite polyfill.min.js script.
See the maven-javadoc-plugin plugin. -->
<!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
<geometry.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</geometry.mathjax.url>
<!-- Workaround to avoid duplicating config files. -->
<geometry.parent.dir>${basedir}</geometry.parent.dir>
Expand Down Expand Up @@ -312,7 +311,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} --allow-script-in-comments -header '&lt;script src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script type="text/javascript" async src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<additionalOptions>${doclint.javadoc.qualifier} --allow-script-in-comments -header '&lt;script type="text/javascript" async src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<links>
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-core/javadocs/api-${commons.numbers.version}/</link>
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-quaternion/javadocs/api-${commons.numbers.version}/</link>
Expand Down Expand Up @@ -430,7 +429,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- Enable MathJax -->
<additionalOptions>${doclint.javadoc.qualifier} --allow-script-in-comments -header '&lt;script src="https://polyfill.io/v3/polyfill.min.js?features=es6"&gt;&lt;/script&gt;&lt;script type="text/javascript" async src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<additionalOptions>${doclint.javadoc.qualifier} --allow-script-in-comments -header '&lt;script type="text/javascript" async src="${geometry.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
<links>
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-core/javadocs/api-${commons.numbers.version}/</link>
<link>https://commons.apache.org/proper/commons-numbers/commons-numbers-quaternion/javadocs/api-${commons.numbers.version}/</link>
Expand Down
3 changes: 1 addition & 2 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
<body>
<!-- Custom <head> tag with injected XHTML is supported. -->
<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>]]>

<!--
Workaround to get styles for inline code elements. The current version
Expand Down

0 comments on commit 186fb20

Please sign in to comment.