You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2020/05/25 14:16:53 UTC

[commons-statistics] branch master updated (1f6ef78 -> 2935a6d)

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

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


    from 1f6ef78  Specialized exception message when passing an invalid probability value.
     new 0d5a2a2  Typos (web site).
     new 2935a6d  Rewrite MathJax URL in Javadoc configuration (POM).

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                      |  8 ++++++--
 src/site/xdoc/developers.xml | 12 ++++++------
 src/site/xdoc/index.xml      |  4 ++--
 3 files changed, 14 insertions(+), 10 deletions(-)


[commons-statistics] 01/02: Typos (web site).

Posted by er...@apache.org.
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-statistics.git

commit 0d5a2a29593b912df307fba5083b5105dac32edf
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Mon May 25 16:11:06 2020 +0200

    Typos (web site).
---
 src/site/xdoc/developers.xml | 12 ++++++------
 src/site/xdoc/index.xml      |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/site/xdoc/developers.xml b/src/site/xdoc/developers.xml
index 9a4fe41..e86258c 100644
--- a/src/site/xdoc/developers.xml
+++ b/src/site/xdoc/developers.xml
@@ -47,9 +47,9 @@
               under the heading "Repository Checkout" on the
               <a href="https://gitbox.apache.org/">Git at the ASF page</a>.
               The git url for the current development sources of Commons Statistics
-              is <source>http://gitbox.apache.org/repos/asf/commons-rng.git</source>
+              is <source>http://gitbox.apache.org/repos/asf/commons-statistics.git</source>
               for anonymous read-only access and
-              <source>https://apacheid@gitbox.apache.org/repos/asf/commons-rng.git</source>
+              <source>https://apacheid@gitbox.apache.org/repos/asf/commons-statistics.git</source>
               (where apacheid should be replaced by each committer Apache ID) for committers
               read-write access.
             </li>
@@ -69,7 +69,7 @@
             </li>
             <li>
               Have a look at the new features that users and developers have requested
-              on the <a href="http://wiki.apache.org/commons/RngWishList">
+              on the <a href="http://wiki.apache.org/commons/StatisticsWishList">
               Statistics Wish List Wiki Page.</a>
             </li>
             <li>
@@ -90,7 +90,7 @@
               for submitting bugs and search the database to
               determine if an issue exists or has already been dealt with.        
               <p>
-                See the <a href="https://commons.apache.org/rng/issue-tracking.html">
+                See the <a href="https://commons.apache.org/statistics/issue-tracking.html">
                 Commons Statistics Issue Tracking Page</a>
                 for more information on how to
                 search for or submit bugs or enhancement requests.
@@ -129,7 +129,7 @@
             </ul></li>
             <li>Assuming a generally favorable response to the idea on commons-dev,
             the next step is to add an entry to the 
-            <a href="http://wiki.apache.org/commons/RngWishList">Statistics Wish
+            <a href="http://wiki.apache.org/commons/StatisticsWishList">Statistics Wish
             List</a> corresponding to the idea.  Include a reference to the
             discussion thread. </li>
             <li>Create a JIRA ticket using the the feature title as the short
@@ -190,7 +190,7 @@
             terms used in component documentation <i>must</i> be provided.
           </li>
           <li>
-            Commons rng javadoc generation supports embedded LaTeX formulas via the
+            Commons Statistics javadoc generation supports embedded LaTeX formulas via the
             <a href="http://www.mathjax.org">MathJax</a> javascript display engine.
             To embed mathematical expressions formatted in LaTeX in javadoc, simply surround
             the expression to be formatted with either <code>\(</code> and <code>\)</code>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index b90b49d..0fbbbc7 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -20,7 +20,7 @@
 <document>
 
   <properties>
-    <title>Commons RNG</title>
+    <title>Commons Statistics</title>
   </properties>
 
   <body>
@@ -33,7 +33,7 @@
       <subsection name="Releases">
         <p>
           Download the
-          <a href="https://commons.apache.org/rng/download_statistics.cgi">
+          <a href="https://commons.apache.org/statistics/download_statistics.cgi">
             latest release</a> of Apache Commons Statistics.
         </p>
       </subsection>


[commons-statistics] 02/02: Rewrite MathJax URL in Javadoc configuration (POM).

Posted by er...@apache.org.
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-statistics.git

commit 2935a6db18f1da2c6f04888e853f416a47854ead
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Mon May 25 16:16:04 2020 +0200

    Rewrite MathJax URL in Javadoc configuration (POM).
---
 pom.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8e82837..5af67c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,10 @@
     <statistics.commons.rng.version>1.3</statistics.commons.rng.version>
     <statistics.commons.numbers.version>1.0-SNAPSHOT</statistics.commons.numbers.version> <!-- XXX -->
     <statistics.commons.math3.version>3.6.1</statistics.commons.math3.version>
+    <statistics.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</statistics.mathjax.url>
+
+    <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
+    <doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier>
   </properties>
 
   <dependencyManagement>
@@ -328,7 +332,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${rng.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" async src="${statistics.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
           <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>
@@ -452,7 +456,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalOptions>-Xdoclint:all --allow-script-in-comments -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${rng.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
+          <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" async src="${statistics.mathjax.url}"&gt;&lt;/script&gt;'</additionalOptions>
           <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>