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 60150bf WIP.
60150bf is described below
commit 60150bf7852f1150d197ab43edc632e0a8e55c41
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Sat Apr 18 22:09:15 2020 -0700
WIP.
---
.asf.yaml | 1 -
_data/bin-releases.yml | 2 +-
docs.html | 2 +-
download.html | 85 ++++++++++++++++---------------------------------
images/swagger.png | Bin 0 -> 11447 bytes
index.html | 14 ++++----
6 files changed, 36 insertions(+), 68 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index f705d35..7b66621 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,7 +42,6 @@ jenkins:
staging:
profile: ~
whoami: web-staging
-
publish:
whoami: web-site
diff --git a/_data/bin-releases.yml b/_data/bin-releases.yml
index d914c72..9b156f6 100644
--- a/_data/bin-releases.yml
+++ b/_data/bin-releases.yml
@@ -22,6 +22,6 @@
sha256_url:
https://github.com/apache/incubator-nlpcraft/releases/download/0.5.0/apache-nlpcraft-0.5.0.zip.sha256
pgp_url:
https://github.com/apache/incubator-nlpcraft/releases/download/0.5.0/apache-nlpcraft-0.5.0.zip.sig
github_link: https://github.com/apache/incubator-nlpcraft/tree/0.5.0
- dockerhub_link: https://hub.docker.com/r/nlpcraftserver/server
+# dockerhub_link: https://hub.docker.com/r/nlpcraftserver/server
backward_compatible: yes
diff --git a/docs.html b/docs.html
index d0440d0..85e2c39 100644
--- a/docs.html
+++ b/docs.html
@@ -65,7 +65,7 @@ id: overview
<p>
Typically, declarative portion of the model will be stored in a
separate JSON or YAML file
for simpler modifications. There are no practical limitation on
how complex or simple a model
- can be, or what other tools it can use. Most data models will also
use <a href="/intent-matching.html">intent-based matching</a>
+ can be, or what other tools it can use. Data models use <a
href="/intent-matching.html">intent-based matching</a>
provided by NLPCraft out-of-the-box.
</p>
<p>
diff --git a/download.html b/download.html
index ae68e36..d12fdcd 100644
--- a/download.html
+++ b/download.html
@@ -43,6 +43,14 @@ layout: interior
<li>
<a target=_new
href="https://www.oracle.com/technetwork/java/javase/downloads/index.html">Java
SE Runtime Environment</a>
(JRE) or <a target=_new
href="https://openjdk.java.net/">OpenJDK</a> ver. 8 or later installed.
+ <ul>
+ <li>
+ Java 8 and Scala 2.11 are required to build
NLPCraft (Java 11 is NOT supported).
+ </li>
+ <li>
+ For runtime Java 8 or later is supported.
+ </li>
+ </ul>
</li>
<li>
Latest versions of <a target=_
href="https://git-scm.com/downloads">Git</a> and
@@ -177,101 +185,64 @@ layout: interior
To build binaries from the source release download the <a
href="#src">source release</a> and run
the following commands:
</p>
- <pre class="brush: plain, highlight: [2,3,6]">
- # Unpack the source package.
+ <b>Unpack the source package:</b>
+ <pre class="brush: plain">
$ unzip -q apache-nlpcraft-{{site.latest_version}}-src.zip
$ cd apache-nlpcraft-{{site.latest_version}}-src
-
- # Build NLPCraft.
+ </pre>
+ <b>Build NLPCraft:</b>
+ <pre class="brush: plain">
$ mvn clean package -DskipTests
</pre>
+ <p>
+ Built JARs and Javadoc will be located in <code>target</code>
sub-folder.
+ </p>
</section>
<section id="verification">
<h2 class="section-title">Release Verification</h2>
<p>
We highly recommend to verify the integrity and authenticity
of the ZIP archive by comparing cryptographic
- signatures.
- </p>
- <div class="bq warn">
- <p>
- <b>NOTE:</b> <code>MD5</code> and <code>SHA1</code>
signatures provided only for
- rare backward compatibility as they are not
cryptographically strong and generally
- not recommended. In most cases you should only trust to
<code>PGP</code> or <code>SHA256</code>
- signatures.
- </p>
- </div>
- <p>
- Following instructions assume binary release on Mac OS/Linux
environment but the verification steps are
- similar for Windows. Note that you can also verify signatures
online at
- <a target=_ href="https://md5file.com/calculator">File Hash
Online Calculator</a> or
- <a target=_ href="http://onlinemd5.com/">Online MD5</a>.
+ signatures.Following instructions assume binary release on Mac
OS/Linux environment but the verification steps are
+ similar for Windows.
</p>
<h3 class="section-title">Mac OS</h3>
<nav>
<div class="nav nav-tabs" role="tablist">
- <a class="nav-item nav-link active" data-toggle="tab"
href="#nav-macos-md5" role="tab" aria-controls="nav-home"
aria-selected="true">MD5</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-macos-sha1" role="tab" aria-controls="nav-home"
aria-selected="true">SHA1</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-macos-sha256" role="tab" aria-controls="nav-home"
aria-selected="true">SHA256</a>
+ <a class="nav-item nav-link active" data-toggle="tab"
href="#nav-macos-sha256" role="tab" aria-controls="nav-home"
aria-selected="true">SHA256</a>
<a class="nav-item nav-link" data-toggle="tab"
href="#nav-macos-pgp" role="tab" aria-controls="nav-home"
aria-selected="true">PGP</a>
</div>
</nav>
<div class="tab-content">
- <div class="tab-pane fade show active" id="nav-macos-md5"
role="tabpanel">
- <pre class="brush: plain">
- # Run these two commands and compare generated hashes:
- $ openssl dgst -md5
apache-nlpcraft-{{site.latest_version}}.zip
- $ cat apache-nlpcraft-{{site.latest_version}}.zip.md5
- </pre>
- </div>
- <div class="tab-pane fade show" id="nav-macos-sha256"
role="tabpanel">
- <pre class="brush: plain">
+ <div class="tab-pane fade show active" id="nav-macos-sha256"
role="tabpanel">
+ <pre class="brush: plain, highlight: [2,3]">
# Run these two commands and compare generated hashes:
$ openssl dgst -sha256
apache-nlpcraft-{{site.latest_version}}.zip
$ cat apache-nlpcraft-{{site.latest_version}}.zip.sha256
</pre>
</div>
- <div class="tab-pane fade show" id="nav-macos-sha1"
role="tabpanel">
- <pre class="brush: plain">
- # Run these two commands and compare generated hashes:
- $ openssl dgst -sha1
apache-nlpcraft-{{site.latest_version}}.zip
- $ cat apache-nlpcraft-{{site.latest_version}}.zip.sha1
- </pre>
- </div>
<div class="tab-pane fade show" id="nav-macos-pgp"
role="tabpanel">
- <pre class="brush: plain">
+ <pre class="brush: plain, highlight: [2]">
# NOTE: make sure to have GPGTools (gpgtools.org)
installed.
- $ gpg --verify
apache-nlpcraft-{{site.latest_version}}.zip.sig
apache-nlpcraft-{{site.latest_version}}.zip
+ $ gpg --verify
apache-nlpcraft-{{site.latest_version}}.zip.asc
apache-nlpcraft-{{site.latest_version}}.zip
</pre>
</div>
</div>
<h3 class="section-title">Linux</h3>
<nav>
<div class="nav nav-tabs" role="tablist">
- <a class="nav-item nav-link active" data-toggle="tab"
href="#nav-linux-md5" role="tab" aria-controls="nav-home"
aria-selected="true">MD5</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-linux-sha1" role="tab" aria-controls="nav-home"
aria-selected="true">SHA1</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-linux-sha256" role="tab" aria-controls="nav-home"
aria-selected="true">SHA256</a>
+ <a class="nav-item nav-link active" data-toggle="tab"
href="#nav-linux-sha256" role="tab" aria-controls="nav-home"
aria-selected="true">SHA256</a>
<a class="nav-item nav-link" data-toggle="tab"
href="#nav-linux-pgp" role="tab" aria-controls="nav-home"
aria-selected="true">PGP</a>
</div>
</nav>
<div class="tab-content">
- <div class="tab-pane fade show active" id="nav-linux-md5"
role="tabpanel">
- <pre class="brush: plain">
- $ md5sum --check
apache-nlpcraft-{{site.latest_version}}.zip.md5
- </pre>
- </div>
- <div class="tab-pane fade show" id="nav-linux-sha256"
role="tabpanel">
- <pre class="brush: plain">
+ <div class="tab-pane fade show active" id="nav-linux-sha256"
role="tabpanel">
+ <pre class="brush: plain, highlight: [1]">
$ sha256sum --check
apache-nlpcraft-{{site.latest_version}}.zip.sha256
</pre>
</div>
- <div class="tab-pane fade show" id="nav-linux-sha1"
role="tabpanel">
- <pre class="brush: plain">
- $ sha1sum --check
apache-nlpcraft-{{site.latest_version}}.zip.sha1
- </pre>
- </div>
<div class="tab-pane fade show" id="nav-linux-pgp"
role="tabpanel">
- <pre class="brush: plain">
- $ gpg --verify
apache-nlpcraft-{{site.latest_version}}.zip.sig
apache-nlpcraft-{{site.latest_version}}.zip
+ <pre class="brush: plain, highlight: [1]">
+ $ gpg --verify
apache-nlpcraft-{{site.latest_version}}.zip.asc
apache-nlpcraft-{{site.latest_version}}.zip
</pre>
</div>
</div>
diff --git a/images/swagger.png b/images/swagger.png
new file mode 100644
index 0000000..e35ad5d
Binary files /dev/null and b/images/swagger.png differ
diff --git a/index.html b/index.html
index d5db18e..81cfd84 100644
--- a/index.html
+++ b/index.html
@@ -95,12 +95,12 @@ layout: default
<img alt="" class="quick-link-img" src="{{
'images/java.png' | relative_url }}">
<span>Latest </span>
<!-- TODO: fix package name for javadoc.io image.
-->
- <a target="_"
href="https://javadoc.io/doc/org.apache.nlpcraft/nlpcraft"><img
src="https://javadoc.io/badge/org.nlpcraft/nlpcraft.svg" alt="Javadocs"></a>
+ <a target="_"
href="https://javadoc.io/doc/org.apache.nlpcraft/nlpcraft"><img
src="https://javadoc.io/badge/org.apache.nlpcraft/nlpcraft.svg"
alt="Javadocs"></a>
</a>
</div>
<div class="quick-link">
- <a href="https://nlpcraft.docs.apiary.io"
target="apiary">
- <img alt="" class="quick-link-img" src="{{
'images/apiary.svg' | relative_url }}">
+ <a
href="https://github.com/apache/incubator-nlpcraft/blob/master/openapi/nlpcraft_swagger.yml"
target="github">
+ <img alt="" class="quick-link-img" src="{{
'images/swagger.png' | relative_url }}">
<span>REST API</span>
</a>
</div>
@@ -270,11 +270,9 @@ layout: default
<a href="https://incubator.apache.org/" target=_><img
src="{{ 'images/apache_incubator.png' | relative_url}}" height="64px"
alt=""></a>
</p>
<p align="center" style="font-size: 100%; margin: 0 20%">
- Apache NLPCraft licensed under <a target=_
href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, version
2.0</a> is an effort undergoing incubation at The Apache Software Foundation
(ASF), sponsored by
- the <a href="https://incubator.apache.org/"
target=_>Apache Incubator</a>. Incubation is required of all newly accepted
projects until a further review indicates
- that the infrastructure, communications, and decision
making process have stabilized in a manner consistent
- with other successful ASF projects. While incubation
status is not necessarily a reflection of the
- completeness or stability of the code, it does indicate
that the project has yet to be fully endorsed by the ASF.
+ Apache NLPCraft licensed under <a target=_
href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, version
2.0</a> is
+ an effort undergoing incubation at The Apache Software
Foundation, sponsored by
+ the <a href="https://incubator.apache.org/"
target=_>Apache Incubator</a>.
</p>
</div>
</div>