This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git


The following commit(s) were added to refs/heads/master by this push:
     new ead72ed  Upgrade "commons-skin".
ead72ed is described below

commit ead72ed58a5ce5da842e48b51662219b571c3179
Author: Gilles Sadowski <gil...@harfang.homelinux.org>
AuthorDate: Mon Nov 25 23:33:21 2019 +0100

    Upgrade "commons-skin".
---
 src/site/site.xml | 45 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 40 insertions(+), 5 deletions(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index ba6436d..17fd332 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -22,7 +22,20 @@
     <href>/index.html</href>
   </bannerRight>
 
+  <skin>
+    <groupId>org.apache.commons</groupId>
+    <artifactId>commons-skin</artifactId>
+    <version>4.2</version>
+  </skin>
+
   <body>
+    <!-- Custom <head> tag with injected XHTML is supported. -->
+    <head>
+      <![CDATA[<script type="text/javascript" id="MathJax-script" async
+               
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";>
+               </script>]]>
+    </head>
+
     <menu name="Geometry">
       <item name="Overview" href="/index.html"/>
       <item name="Downloads" 
href="https://commons.apache.org/geometry/download_geometry.cgi"/>
@@ -38,11 +51,33 @@
     <menu name="User Guide">
       <item name="Contents" href="/userguide/index.html"/>
     </menu>
+  </body>
 
-    <head>
-      <![CDATA[<script type="text/javascript" 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";>
-      </script>]]>
-    </head>
+  <custom>
+    <!-- Escaping with CDATA is not required. -->
+    <footer>
+      <div class="center">
+        Apache Commons, Apache @project.name@, Apache, the Apache feather
+        logo, and the Apache Commons project logos are trademarks of The Apache
+        Software Foundation.
+        All other marks mentioned may be trademarks or registered
+        trademarks of their respective owners.
+      </div>
+    </footer>
+
+    <!-- Custom properties controlling the commons-skin template. -->
+    <commonsSkin>
+      <!--
+          Convert preformatted source section tags to prettyprint:
+          <div class="source"><pre> to <div class="source"><pre
+          class="prettyprint">
+      -->
+      <prettyPrintSourcePreTags>false</prettyPrintSourcePreTags>
+
+      <!-- Add the "linenums" class to the prettyprint enabled source
+           tags -->
+      <prettyPrintLineNumbersEnabled>false</prettyPrintLineNumbersEnabled>
+    </commonsSkin>
+  </custom>
 
-  </body>
 </project>

Reply via email to