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 cabc281  WIP.
cabc281 is described below

commit cabc281601b066c1599ad1f23d68d1d5c3cbee7e
Author: Aaron Radzinski <aradizn...@apache.org>
AuthorDate: Fri May 7 19:15:30 2021 -0700

    WIP.
---
 Gemfile                     |  1 +
 _layouts/documentation.html |  8 +++++++-
 _scss/three-cols.scss       | 12 ++++++------
 cheat-sheet.html            |  3 ++-
 examples/alarm_clock.html   |  1 +
 examples/light_switch.html  |  1 +
 examples/sql_model.html     |  1 +
 examples/weather_bot.html   |  1 +
 getting-started.html        |  5 ++---
 tools/embedded_probe.html   |  1 +
 tools/script.html           |  3 ++-
 tools/sql_model_gen.html    |  1 +
 tools/syn_tool.html         |  1 +
 tools/test_framework.html   |  1 +
 14 files changed, 28 insertions(+), 12 deletions(-)

diff --git a/Gemfile b/Gemfile
index 1c82245..f4abab7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -21,5 +21,6 @@ source "https://rubygems.org";
 group :jekyll_plugins do
   gem "jekyll-feed", "~> 0.9"
   gem "jekyll-seo-tag", "~> 2.1"
+  gem 'wdm', '>= 0.1.0' if Gem.win_platform?
 end
 
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index d4e87e0..eed8e2c 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -20,7 +20,13 @@ layout: interior
 -->
 
 <h1 class="page-title">
-    <span><i class="fas fa-fw fa-book"></i> {{ page.active_crumb }}</span>
+    <span>
+        {% if page.fa_icon %}
+        <i class="fas fa-fw {{ page.fa_icon }}"></i> {{ page.active_crumb }}
+        {% else %}
+        <i class="fas fa-fw fa-book"></i> {{ page.active_crumb }}
+        {% endif %}
+    </span>
 </h1>
 
 <div class="row three-cols-container">
diff --git a/_scss/three-cols.scss b/_scss/three-cols.scss
index f370de0..0a342b5 100644
--- a/_scss/three-cols.scss
+++ b/_scss/three-cols.scss
@@ -200,14 +200,14 @@ ul.side-nav {
         height: 16px;
         vertical-align: text-top;
     }
+}
 
-    i.fa-download {
-        color: $color-turquoise;
-    }
+i.fa-download {
+    color: $color-turquoise;
+}
 
-    i.fa-magic {
-        color: $color-amethyst;
-    }
+i.fa-magic {
+    color: $color-amethyst;
 }
 
 .page-title {
diff --git a/cheat-sheet.html b/cheat-sheet.html
index ca51274..6fdf21d 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.html
@@ -1,6 +1,7 @@
 ---
-active_crumb: Cheat Sheet <i class="fa fa-fw fa-magic"></i>
+active_crumb: Cheat Sheet
 layout: documentation
+fa_icon: fa-magic
 id: cheat_sheet
 ---
 
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 6b8deb4..7ff3b86 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -2,6 +2,7 @@
 active_crumb: Alarm Clock <code><sub>ex</sub></code>
 layout: documentation
 id: alarm_clock
+fa_icon: fa-cube
 ---
 
 <!--
diff --git a/examples/light_switch.html b/examples/light_switch.html
index df7d798..0b6043d 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -2,6 +2,7 @@
 active_crumb: Light Switch <code><sub>ex</sub></code>
 layout: documentation
 id: light_switch
+fa_icon: fa-cube
 ---
 
 <!--
diff --git a/examples/sql_model.html b/examples/sql_model.html
index 8b7cfcf..e3bdad8 100644
--- a/examples/sql_model.html
+++ b/examples/sql_model.html
@@ -2,6 +2,7 @@
 active_crumb: SQL Model <code><sub>ex</sub></code>
 layout: documentation
 id: sql_model
+fa_icon: fa-cube
 ---
 
 <!--
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index aaacc2d..748b94b 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -2,6 +2,7 @@
 active_crumb: Weather Bot <code><sub>ex</sub></code>
 layout: documentation
 id: weather_bot
+fa_icon: fa-cube
 ---
 
 <!--
diff --git a/getting-started.html b/getting-started.html
index cfe4777..49726f8 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -26,8 +26,7 @@ id: getting_started
         <h2 class="section-title">Getting Started <a href="#"><i 
class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
         <p>
             Lets review how to run NLPCraft <a 
href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples";
 target="github">examples</a>.
-            We will use an example model shipped with NLPCraft along with
-            demonstrating the main components of NLPCraft -
+            We will use an example shipped with NLPCraft along with 
demonstrating the main components of NLPCraft -
             <a href="/server-and-probe.html#probe">data probe</a>,
             <a href="/server-and-probe.html#server">REST server</a>, and
             <a href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> 
script.
@@ -36,7 +35,7 @@ id: getting_started
             We assume the following:
         </p>
         <ul>
-            <li>You <a href="/download.html">downloaded</a> NLPCraft 
{{site.latest_version}} as a ZIP archive.</li>
+            <li>You <a href="/download.html#zip">downloaded</a> NLPCraft 
{{site.latest_version}} as binary release.</li>
             <li>You followed <a href="/installation.html">installation</a> 
instructions.</li>
             <li>You are using MacOS/Linux environment.</li>
         </ul>
diff --git a/tools/embedded_probe.html b/tools/embedded_probe.html
index a41f325..b1a30a9 100644
--- a/tools/embedded_probe.html
+++ b/tools/embedded_probe.html
@@ -2,6 +2,7 @@
 active_crumb: Embedded Probe
 layout: documentation
 id: embedded_probe
+fa_icon: fa-tools
 ---
 
 <!--
diff --git a/tools/script.html b/tools/script.html
index 4986128..3e8636e 100644
--- a/tools/script.html
+++ b/tools/script.html
@@ -1,6 +1,7 @@
 ---
-active_crumb: Management Script
+active_crumb: Command Line
 layout: documentation
+fa_icon: fa-tools
 id: script
 ---
 
diff --git a/tools/sql_model_gen.html b/tools/sql_model_gen.html
index 3a717a7..03ffd10 100644
--- a/tools/sql_model_gen.html
+++ b/tools/sql_model_gen.html
@@ -2,6 +2,7 @@
 active_crumb: SQL Model Generator
 layout: documentation
 id: sql_model_gen
+fa_icon: fa-tools
 ---
 
 <!--
diff --git a/tools/syn_tool.html b/tools/syn_tool.html
index 2b02ba9..04d2a66 100644
--- a/tools/syn_tool.html
+++ b/tools/syn_tool.html
@@ -2,6 +2,7 @@
 active_crumb: Synonyms Tool
 layout: documentation
 id: syn_tool
+fa_icon: fa-tools
 ---
 
 <!--
diff --git a/tools/test_framework.html b/tools/test_framework.html
index 54a7aef..168e5f9 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -2,6 +2,7 @@
 active_crumb: Test Framework
 layout: documentation
 id: test_framework
+fa_icon: fa-tools
 ---
 
 <!--

Reply via email to