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 e7d0b7f WIP.
e7d0b7f is described below
commit e7d0b7fcf5b0b57ab9302ba4971211789453c793
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sun Nov 29 12:23:55 2020 -0800
WIP.
---
_data/news.yml | 2 +-
_layouts/default.html | 2 +-
_scss/misc.scss | 3 ++-
_scss/sh.scss | 2 +-
_scss/three-cols.scss | 4 ++--
data-model.html | 8 ++++----
examples/alarm_clock.html | 5 ++++-
examples/light_switch.html | 5 ++++-
examples/weather_bot.html | 5 ++++-
images/alarm-clock-test.png | Bin 0 -> 14068 bytes
images/light-switch-test.png | Bin 0 -> 41381 bytes
images/weather-bot-test.png | Bin 0 -> 66026 bytes
relnotes/release-notes-0.7.2.html | 1 +
tools/script.html | 13 +++++++++----
14 files changed, 33 insertions(+), 17 deletions(-)
diff --git a/_data/news.yml b/_data/news.yml
index 7e97d56..e4b0cc2 100644
--- a/_data/news.yml
+++ b/_data/news.yml
@@ -17,7 +17,7 @@
- title: 📢 Apache NLPCraft 0.7.2 Released
url: /relnotes/release-notes-0.7.2.html
- excerpt: Download NLPCraft 0.7.2. Over 11 tickets fixed 💪
+ excerpt: Download NLPCraft 0.7.2. Over 11 tickets fixed 💪 First full public
release of the new <code>nlpcraft.{sh|cmd}</code> management utility.
publish_date: November 19, 2020
avatar_url: images/nlpcraft_logo.png
twitter_id: apachenlpcraft
diff --git a/_layouts/default.html b/_layouts/default.html
index cd30e99..5a12d02 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -103,7 +103,7 @@ layout: compress
<a class="nav-link" href="/index.html#features">Features</a>
</li>
<li class="nav-item">
- <a class="nav-link" href="/docs.html">Docs</a>
+ <a class="nav-link" href="/docs.html">Docs <span
class="amp">&</span> Tutorials</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/download.html">Downloads <i
class="fas fa-download"></i></a>
diff --git a/_scss/misc.scss b/_scss/misc.scss
index 78d5b2c..c75584e 100644
--- a/_scss/misc.scss
+++ b/_scss/misc.scss
@@ -265,6 +265,7 @@ $bq-success-border-color: $brand-success;
margin: 20px 0;
padding: 15px 20px;
border-left: 3px solid #eee;
+ border-radius: 6px;
& > p,
& > ul {
@@ -349,7 +350,7 @@ a[target=javadoc] {
pre.console {
border: 1px solid #dedede;
- border-radius: 4px;
+ border-radius: 6px;
padding: 25px 30px 0 30px;
}
diff --git a/_scss/sh.scss b/_scss/sh.scss
index a9125be..2158038 100644
--- a/_scss/sh.scss
+++ b/_scss/sh.scss
@@ -18,9 +18,9 @@
.syntaxhighlighter {
padding: 15px 0;
font-size: 95% !important;
- border-radius: 2px !important;
overflow-y: hidden !important;
overflow-x: auto !important;
+ border-radius: 6px !important;
.toolbar {
display: none;
diff --git a/_scss/three-cols.scss b/_scss/three-cols.scss
index 759d076..e18d5fa 100644
--- a/_scss/three-cols.scss
+++ b/_scss/three-cols.scss
@@ -89,7 +89,7 @@
img {
display: block;
border: 1px solid #dfdfdf;
- border-radius: 4px;
+ border-radius: 6px;
padding: 30px;
}
@@ -105,7 +105,7 @@
img {
display: block;
- border-radius: 4px;
+ border-radius: 6px;
padding: 0;
border: none;
}
diff --git a/data-model.html b/data-model.html
index 04598a8..695530f 100644
--- a/data-model.html
+++ b/data-model.html
@@ -51,8 +51,8 @@ id: data_model
</p>
<nav>
<div class="nav nav-tabs" role="tablist">
- <a class="nav-item nav-link active" data-toggle="tab"
href="#scala-model-ex" role="tab" aria-controls="nav-home"
aria-selected="true">LightSwitchModel.scala</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#java-model-ex" role="tab" aria-controls="nav-home"
aria-selected="true">AlarmModel.java</a>
+ <a class="nav-item nav-link active" data-toggle="tab"
href="#scala-model-ex" role="tab" aria-controls="nav-home"
aria-selected="true"><code>LightSwitchModel.scala</code></a>
+ <a class="nav-item nav-link" data-toggle="tab"
href="#java-model-ex" role="tab" aria-controls="nav-home"
aria-selected="true"><code>AlarmModel.java</code></a>
</div>
</nav>
<div class="tab-content">
@@ -232,8 +232,8 @@ public class AlarmModel extends NCModelFileAdapter {
</p>
<p>
Note that in this architecture the user-defined data model is
fully isolated from the REST server accepting
- user calls. Users never access data probes and hence user data
models directly. Typically REST server
- should be deployed in DMZ and only ingress connectivity is
necessary between REST server and the data probes.
+ user calls. Users never access data probes and hence data
models directly. Typically REST server
+ should be deployed in DMZ and only <em>ingress connectivity is
required</em> from the REST server to data probes.
</p>
</div>
</section>
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 6eac9d9..669d35f 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -395,7 +395,10 @@ public class AlarmModel extends NCModelFileAdapter {
</p>
</div>
<p>
- Start this Runtime Configuration and you should be getting
standard log in the output console.
+ Start this Runtime Configuration and you should be getting
standard log in the output console:
+ </p>
+ <p>
+ <img alt="" class="non-fluid-img"
src="/images/alarm-clock-test.png">
</p>
</section>
<section>
diff --git a/examples/light_switch.html b/examples/light_switch.html
index ae3828d..2864fff 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -357,7 +357,10 @@ class LightSwitchModel extends
NCModelFileAdapter("org/apache/nlpcraft/examples/
</p>
</div>
<p>
- Start this Runtime Configuration and you should be getting
standard log in the output console.
+ Start this Runtime Configuration and you should be getting
standard log in the output console:
+ </p>
+ <p>
+ <img alt="" class="non-fluid-img"
src="/images/light-switch-test.png">
</p>
</section>
<section>
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index 21e2b3d..842abbf 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -504,7 +504,10 @@ public class WeatherModel extends NCModelFileAdapter {
</p>
</div>
<p>
- Start this Runtime Configuration and you should be getting
standard log in the output console.
+ Start this Runtime Configuration and you should be getting
standard log in the output console:
+ </p>
+ <p>
+ <img alt="" class="non-fluid-img"
src="/images/weather-bot-test.png">
</p>
</section>
<section>
diff --git a/images/alarm-clock-test.png b/images/alarm-clock-test.png
new file mode 100644
index 0000000..fb108e0
Binary files /dev/null and b/images/alarm-clock-test.png differ
diff --git a/images/light-switch-test.png b/images/light-switch-test.png
new file mode 100644
index 0000000..0fe9fdb
Binary files /dev/null and b/images/light-switch-test.png differ
diff --git a/images/weather-bot-test.png b/images/weather-bot-test.png
new file mode 100644
index 0000000..cadd514
Binary files /dev/null and b/images/weather-bot-test.png differ
diff --git a/relnotes/release-notes-0.7.2.html
b/relnotes/release-notes-0.7.2.html
index 835b199..74cbc20 100644
--- a/relnotes/release-notes-0.7.2.html
+++ b/relnotes/release-notes-0.7.2.html
@@ -24,6 +24,7 @@ layout: release-notes
<h2 class="section-title">Overview</h2>
<p>
<a href="/download.html">NLPCraft 0.7.2</a> brings about several
important bug fixes.
+ First full public release of the new <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> management utility.
</p>
</section>
<section id="new">
diff --git a/tools/script.html b/tools/script.html
index c7d6d72..6d351f7 100644
--- a/tools/script.html
+++ b/tools/script.html
@@ -92,9 +92,8 @@ id: script
<img class="non-fluid-img" alt="" src="/images/cli7.png">
</p>
<p>
- Hit <span class="keyboard">Tab</span> key anytime for
auto-suggestion and auto-completion for
- commands and their parameters while in REPL mode, use <span
class="keyboard">↑</span> and
- <span class="keyboard">↓</span> keys to scroll through command
history:
+ Use <span class="keyboard">Tab</span> key anytime for command
auto-suggestion and auto-completion.<br/>
+ Use <span class="keyboard">↑</span> and <span
class="keyboard">↓</span> keys to scroll through command history.
</p>
<p>
<img class="non-fluid-img" alt="" src="/images/cli8.png">
@@ -110,6 +109,12 @@ id: script
command with a <code>$</code> symbol. For example:
</p>
<pre class="brush: plain">
+ > $git pull
+ </pre>
+ <p style="margin-left: 20px">
+ Runs <code>git pull</code> command in the current directory.
+ </p>
+ <pre class="brush: plain">
> $mvn clean package
</pre>
<p style="margin-left: 20px">
@@ -122,7 +127,7 @@ id: script
Runs Windows <code>dir</code> command in the current directory
using a separate shell.
</p>
<p>
- Note that <em>stdin</em>, <em>stderr</em> and <em>stdout</em> will
be redirected into running <code>bin/nlpcraft.{sh|cmd}</code> script.
+ Note that <em>stdin</em>, <em>stderr</em> and <em>stdout</em> of
the new process will inherit from running <code>bin/nlpcraft.{sh|cmd}</code>
script process.
Running OS commands makes the most sense in REPL mode where you
don't want to lose a session context while
executing external OS commands. Technically, however, external OS
commands can be executed from command line mode
as well.