You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/05/24 23:09:51 UTC

[incubator-nlpcraft-website] branch master updated: Fix for NLPCRAFT-329.

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

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/master by this push:
     new a301a94  Fix for NLPCRAFT-329.
a301a94 is described below

commit a301a94d4be843b129c90214265edfdeee894d95
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Mon May 24 16:07:53 2021 -0700

    Fix for NLPCRAFT-329.
---
 _data/bin-releases.yml |  24 +++++++++++++++--------
 _data/src-releases.yml |  24 +++++++++++++++--------
 _scss/misc.scss        |   9 +++++++++
 download.html          |  52 +++++++++++++++++++++++++++++++++++++++----------
 images/scala-h16.png   | Bin 0 -> 259 bytes
 5 files changed, 83 insertions(+), 26 deletions(-)

diff --git a/_data/bin-releases.yml b/_data/bin-releases.yml
index 1ad3d0f..622abdc 100644
--- a/_data/bin-releases.yml
+++ b/_data/bin-releases.yml
@@ -17,7 +17,8 @@
 
 - version: 0.7.5
   date: Apr 30, 2021
-  zip_name: apache-nlpcraft-incubating-bin-0.7.5.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.5.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/v0.7.5/apache-nlpcraft-incubating-bin-0.7.5.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/v0.7.5/apache-nlpcraft-incubating-bin-0.7.5.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/v0.7.5/apache-nlpcraft-incubating-bin-0.7.5.zip.asc
@@ -27,7 +28,8 @@
 
 - version: 0.7.4
   date: Jan 31, 2021
-  zip_name: apache-nlpcraft-incubating-bin-0.7.4.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.4.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/v0.7.4/apache-nlpcraft-incubating-bin-0.7.4.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/v0.7.4/apache-nlpcraft-incubating-bin-0.7.4.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/v0.7.4/apache-nlpcraft-incubating-bin-0.7.4.zip.asc
@@ -37,7 +39,8 @@
 
 - version: 0.7.3
   date: Dec 31, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.7.3.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.3.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/v0.7.3/apache-nlpcraft-incubating-bin-0.7.3.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/v0.7.3/apache-nlpcraft-incubating-bin-0.7.3.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/v0.7.3/apache-nlpcraft-incubating-bin-0.7.3.zip.asc
@@ -47,7 +50,8 @@
 
 - version: 0.7.2
   date: Nov 19, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.7.2.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.2.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/v0.7.2/apache-nlpcraft-incubating-bin-0.7.2.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/v0.7.2/apache-nlpcraft-incubating-bin-0.7.2.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/v0.7.2/apache-nlpcraft-incubating-bin-0.7.2.zip.asc
@@ -57,7 +61,8 @@
 
 - version: 0.7.1
   date: Oct 29, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.7.1.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.1.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/v0.7.1/apache-nlpcraft-incubating-bin-0.7.1.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/v0.7.1/apache-nlpcraft-incubating-bin-0.7.1.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/v0.7.1/apache-nlpcraft-incubating-bin-0.7.1.zip.asc
@@ -67,7 +72,8 @@
 
 - version: 0.7.0
   date: Sep 29, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.7.0.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.7.0.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.7.0/apache-nlpcraft-incubating-bin-0.7.0.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.7.0/apache-nlpcraft-incubating-bin-0.7.0.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.7.0/apache-nlpcraft-incubating-bin-0.7.0.zip.asc
@@ -77,7 +83,8 @@
 
 - version: 0.6.2
   date: Jul 19, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.6.2.zip
+  sdk: <i class="fab fa-fw fa-java"></i>8 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.6.2.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.6.2/apache-nlpcraft-incubating-bin-0.6.2.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.6.2/apache-nlpcraft-incubating-bin-0.6.2.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.6.2/apache-nlpcraft-incubating-bin-0.6.2.zip.asc
@@ -87,7 +94,8 @@
 
 - version: 0.5.0
   date: Apr 29, 2020
-  zip_name: apache-nlpcraft-incubating-bin-0.5.0.zip
+  sdk: <i class="fab fa-fw fa-java"></i>8 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-bin-0.5.0.zip
   zip_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.5.0/apache-nlpcraft-incubating-bin-0.5.0.zip
   sha256_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.5.0/apache-nlpcraft-incubating-bin-0.5.0.zip.sha256
   pgp_url: https://github.com/aradzinski/binstore/releases/download/apache-nlpcraft-v0.5.0/apache-nlpcraft-incubating-bin-0.5.0.zip.asc
diff --git a/_data/src-releases.yml b/_data/src-releases.yml
index 1ed0991..37acb4e 100644
--- a/_data/src-releases.yml
+++ b/_data/src-releases.yml
@@ -17,7 +17,8 @@
 
 - version: 0.7.5
   date: Apr 30, 2021
-  zip_name: apache-nlpcraft-incubating-0.7.5.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.5.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.5.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.5.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.5.zip.asc
@@ -26,7 +27,8 @@
 
 - version: 0.7.4
   date: Jan 31, 2021
-  zip_name: apache-nlpcraft-incubating-0.7.4.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.4.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.4.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.4.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.4.zip.asc
@@ -35,7 +37,8 @@
 
 - version: 0.7.3
   date: Dec 31, 2020
-  zip_name: apache-nlpcraft-incubating-0.7.3.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.3.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.3.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.3.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.3.zip.asc
@@ -44,7 +47,8 @@
 
 - version: 0.7.2
   date: Nov 19, 2020
-  zip_name: apache-nlpcraft-incubating-0.7.2.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.2.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.2.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.2.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.2.zip.asc
@@ -53,7 +57,8 @@
 
 - version: 0.7.1
   date: Oct 29, 2020
-  zip_name: apache-nlpcraft-incubating-0.7.1.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.1.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.1.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.1.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.1.zip.asc
@@ -62,7 +67,8 @@
 
 - version: 0.7.0
   date: Sep 29, 2020
-  zip_name: apache-nlpcraft-incubating-0.7.0.zip
+  sdk: <i class="fab fa-fw fa-java"></i>11 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.7.0.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.0.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.0.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.7.0.zip.asc
@@ -71,7 +77,8 @@
 
 - version: 0.6.2
   date: Jul 19, 2020
-  zip_name: apache-nlpcraft-incubating-0.6.2.zip
+  sdk: <i class="fab fa-fw fa-java"></i>8 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.6.2.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.6.2.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.6.2.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.6.2.zip.asc
@@ -80,7 +87,8 @@
   
 - version: 0.5.0
   date: Apr 29, 2020
-  zip_name: apache-nlpcraft-incubating-0.5.0.zip
+  sdk: <i class="fab fa-fw fa-java"></i>8 - <div class="scala-16"></div>2.12
+  zip_name: apache-nlpcraft-0.5.0.zip
   zip_url: https://www.apache.org/dyn/closer.cgi?filename=incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.5.0.zip&action=download
   sha256_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.5.0.zip.sha256
   pgp_url: https://downloads.apache.org/incubator/nlpcraft/nlpcraft/apache-nlpcraft-incubating-0.5.0.zip.asc
diff --git a/_scss/misc.scss b/_scss/misc.scss
index 3fe8820..3b6b7ab 100644
--- a/_scss/misc.scss
+++ b/_scss/misc.scss
@@ -482,3 +482,12 @@ code.script {
     color: #fb51b1;
     background-color: #f3f9ff;
 }
+
+.scala-16 {
+    display: inline-flex;
+    width: 16px;
+    height: 16px;
+    vertical-align: sub;
+    background-image: url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iIzQ0NCIgZD0iTTguNTczIDcuMzA3czE0Ljg1My0xLjQ4NSAxNC [...]
+    background-size: contain;
+}
diff --git a/download.html b/download.html
index 65f2041..c7f2f9a 100644
--- a/download.html
+++ b/download.html
@@ -69,6 +69,7 @@ layout: interior
                 <tr>
                     <th>File Name</th>
                     <th>Version</th>
+                    <th><i class="fab fa-fw fa-java"></i>Java - <img src="/images/scala-logo-h16.png"></th>
                     <th>Release Date</th>
                     <th>Signatures</th>
                     <th></th>
@@ -76,14 +77,29 @@ layout: interior
                 </thead>
                 <tbody>
                 {% for rel in site.data.src-releases %}
-                <tr>
+                <tr style="vertical-align: center">
                     <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
                         <i class="fa fa-fw fa-download"></i> <a href="{{rel.zip_url}}">{{rel.zip_name}}</a>
                         {% unless rel.backward_compatible %}<i class="fas fa-fw fa-bomb"></i>{% endunless %}
                         {% if rel.version == site.latest_version %} <span class="latest">new</span> {% endif %}
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </td>
+                    <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        <nobr>v{{rel.version}}</nobr>
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </td>
+                    <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        <nobr>{{rel.sdk}}</nobr>
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </td>
+                    <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        {{rel.date}}
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
                     </td>
-                    <td>{{rel.version}}</td>
-                    <td>{{rel.date}}</td>
                     <td class="download-sigs">
                         <a href="{{rel.sha256_url}}">SHA256</a>
                         <a href="{{rel.pgp_url}}">PGP</a>
@@ -99,12 +115,12 @@ layout: interior
             </table>
             <div class="bq warn">
                 <p>
-                    <b>NLPCraft v0.7.0+ requires JDK 11</b>
-                </p>
-                <p>
-                    Starting with version <b>0.7.0</b> NLPCraft requires JDK 11 to compile and run. All development
-                    and testing is done on JDK 11 and Scala 2.12. Prior versions only supported JDK 8.
+                    <b>Supported <i class="fab fa-fw fa-java"></i>Java and <span class="scala-16"></span>Scala versions:</b>
                 </p>
+                <ul>
+                    <li>NLPCraft 0.7.0+ requires JDK 11 and Scala 2.12</li>
+                    <li>NLPCraft 0.5.0-0.6.2 requires JDK 8 and Scala 2.12</li>
+                </ul>
             </div>
             <div class="bq info">
                 <p>
@@ -127,6 +143,7 @@ layout: interior
                 <tr>
                     <th>File Name</th>
                     <th>Version</th>
+                    <th><i class="fab fa-fw fa-java"></i>Java - <img src="/images/scala-logo-h16.png"></th>
                     <th>Release Date</th>
                     <th>Signatures</th>
                     <th></th>
@@ -136,12 +153,27 @@ layout: interior
                 {% for rel in site.data.bin-releases %}
                 <tr>
                     <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
                         <i class="fa fa-fw fa-download"></i> <a href="{{rel.zip_url}}">{{rel.zip_name}}</a>
                         {% unless rel.backward_compatible %}<i class="fas fa-fw fa-bomb"></i>{% endunless %}
                         {% if rel.version == site.latest_version %} <span class="latest">new</span> {% endif %}
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </td>
+                    <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        {{rel.version}}
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </td>
+                    <td>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        <nobr>{{rel.sdk}}</nobr>
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
                     </td>
-                    <td>{{rel.version}}</td>
-                    <td>{{rel.date}}</td>
+                    <td><nobr>
+                        {% if rel.version == site.latest_version %} <b> {% endif %}
+                        {{rel.date}}
+                        {% if rel.version == site.latest_version %} </b> {% endif %}
+                    </nobr></td>
                     <td class="download-sigs">
                         <a href="{{rel.sha256_url}}">SHA256</a>
                         <a href="{{rel.pgp_url}}">PGP</a>
diff --git a/images/scala-h16.png b/images/scala-h16.png
new file mode 100644
index 0000000..4d65569
Binary files /dev/null and b/images/scala-h16.png differ