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

commit 1bac9ee51fdb11014a2d4b4fedbf88f3e058bc56
Author: Aaron Radzinski <[email protected]>
AuthorDate: Thu Nov 12 20:14:13 2020 -0800

    WIP.
---
 _layouts/default.html       | 17 +++++------------
 _layouts/documentation.html |  7 +++++++
 _scss/misc.scss             |  2 +-
 blogs.html                  |  2 +-
 index.html                  |  6 +++---
 installation.html           |  6 +++---
 tools/script.html           | 45 +++++++++++++++++++++++++++++++++++++++++++++
 tools/test_framework.html   |  4 ++--
 8 files changed, 67 insertions(+), 22 deletions(-)

diff --git a/_layouts/default.html b/_layouts/default.html
index f36fc93..cd30e99 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -59,7 +59,11 @@ layout: compress
     <link href="//use.fontawesome.com/releases/v5.7.1/css/all.css" 
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
 rel="stylesheet" crossorigin="anonymous">
     <link href="{{ '/ext/syntaxhighlighter/styles/shCoreNLPCraft.css' | 
relative_url }}" rel="stylesheet" type="text/css">
     <link href="{{ '/ext/syntaxhighlighter/styles/shThemeNLPCraft.css' | 
relative_url }}" rel="stylesheet" type="text/css">
-    <link href="//fonts.googleapis.com/css?family=Amatic+SC|Roboto+Mono" 
rel="stylesheet">
+
+    <!-- Google fonts. -->
+    <link rel="preconnect" href="https://fonts.gstatic.com";>
+    <link 
href="//fonts.googleapis.com/css?family=Amatic+SC|Roboto+Mono|Baskervville" 
rel="stylesheet">
+    <link 
href="//fonts.googleapis.com/css2?family=Libre+Baskerville:ital@1&display=swap" 
rel="stylesheet">
 
     <!-- Loading some init libs here. -->
     <script src="{{ '/ext/syntaxhighlighter/scripts/XRegExp.js' | relative_url 
}}" type="text/javascript"></script>
@@ -75,17 +79,6 @@ layout: compress
     <!-- Main CSS. -->
     <link rel="stylesheet" type="text/css" href="{{ '/assets/css/style.css' | 
relative_url }}"/>
 
-    <!-- Typekit fonts. -->
-    <script type="text/javascript" src="//use.typekit.net/pso2adz.js"></script>
-    <script type="text/javascript">
-        try {
-            Typekit.load();
-        }
-        catch(e) {
-            // Ignore.
-        }
-    </script>
-
     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media 
queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
     <!--[if lt IE 9]>
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index c41c7bc..9e10ce1 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -107,6 +107,13 @@ layout: interior
             </li>
             <li class="side-nav-title">Tools</li>
             <li>
+                {% if page.id == "script" %}
+                <a class="active" 
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a>
+                {% else %}
+                <a href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a>
+                {% endif %}
+            </li>
+            <li>
                 {% if page.id == "test_framework" %}
                 <a class="active" href="/tools/test_framework.html">Test 
Framework</a>
                 {% else %}
diff --git a/_scss/misc.scss b/_scss/misc.scss
index 16dbca9..6376d90 100644
--- a/_scss/misc.scss
+++ b/_scss/misc.scss
@@ -44,7 +44,7 @@ body {
 }
 
 .amp {
-    font-family: baskerville, Helvetica, sans-serif;
+    font-family: 'Libre Baskerville', Helvetica, sans-serif !important;
     font-weight: 400 !important;
     font-style: italic;
 }
diff --git a/blogs.html b/blogs.html
index e77b0ea..4206d16 100644
--- a/blogs.html
+++ b/blogs.html
@@ -43,7 +43,7 @@ layout: interior
                     </a>
                 </div>
                 <div class="blog-excerpt">
-                    {{ news.excerpt}}&nbsp;<a target=_ href="{{ news.url 
}}"><i class="fas fa-angle-double-right"></i></a>
+                    <a target=_ href="{{ news.url }}">{{ 
news.excerpt}}&nbsp;<i class="fas fa-angle-double-right"></i></a>
                 </div>
                 <div class="blog-footer">
                     {% if news.avatar_url %}<img class="avatar-img" src="{{ 
news.avatar_url | relative_url}}" alt="">{% endif %}
diff --git a/index.html b/index.html
index 9f0704f..2b0184e 100644
--- a/index.html
+++ b/index.html
@@ -275,7 +275,7 @@ layout: default
             </div>
         </div>
         <div id="news-container" class="row">
-            {% for news in site.data.news %}
+            {% for news in site.data.news limit:3%}
             <div class="col-4">
                 <div class="news-title">
                     <a href="{{ news.url }}" target=_>
@@ -283,12 +283,12 @@ layout: default
                     </a>
                 </div>
                 <div class="news-excerpt">
-                    {{ news.excerpt}}&nbsp;<a target=_ href="{{ news.url 
}}"><i class="fas fa-angle-double-right"></i></a>
+                    <a target=news href="{{ news.url }}">{{ 
news.excerpt}}&nbsp;<i class="fas fa-angle-double-right"></i></a>
                 </div>
                 <div class="news-footer">
                     {% if news.avatar_url %}<img class="avatar-img" src="{{ 
news.avatar_url | relative_url}}" alt="">{% endif %}
                     {% if news.pub_logo_url %}<img class="pub-logo-img" 
src="{{ news.pub_logo_url | relative_url}}" alt="">{% endif %}
-                    {% if news.medium_id %}<a class="news-author text-nowrap " 
target="news" href="https://medium.com/@{{ news.medium_id}}">{{ news.author 
}}</a>{% endif %}
+                    {% if news.author %}{{ news.author }}{% endif %}
                     {% if news.linkedin_id %}<a target="linkedin" 
href="https://www.linkedin.com/in/{{ news.linkedin_id}}/"><i class="fab fa-fw 
fa-linkedin"></i></a>{% endif %}
                     {% if news.medium_id %}<a target="medium" 
href="https://medium.com/@{{ news.medium_id}}"><i class="fab fa-fw 
fa-medium"></i></a>{% endif %}
                     {% if news.twitter_id %}<a target="twitter" 
href="https://twitter.com/{{ news.twitter_id}}"><i class="fab fa-fw 
fa-twitter"></i></a>{% endif %}
diff --git a/installation.html b/installation.html
index 8e171f7..cb589ce 100644
--- a/installation.html
+++ b/installation.html
@@ -34,9 +34,9 @@ id: installation
         </ul>
     </section>
     <section id="clean">
-        <h2 class="section-title">Clean</h2>
+        <h2 class="section-title">Reset Database</h2>
         <p>
-            For releases marked with <i class="fas fa-fw fa-bomb"></i> you 
need to clean our existing database. If you are
+            For releases marked with <i class="fas fa-fw fa-bomb"></i> you 
need to reset the existing database. If you are
             using the Apache Ignite storage (default configuration for 
NLPCraft) you can accomplish this by
             removing <code>${USER_HOME}/.nlpcraft/ignite</code> folder.
         </p>
@@ -83,7 +83,7 @@ id: installation
     <ul class="side-nav">
         <li class="side-nav-title">On This Page</li>
         <li><a href="#install">Installation</a></li>
-        <li><a href="#clean">Clean</a></li>
+        <li><a href="#clean">Reset Database</a></li>
         <li><a href="#config">External Config</a></li>
         <li><a href="#ignite">Apache Ignite</a></li>
         {% include quick-links.html %}
diff --git a/tools/script.html b/tools/script.html
new file mode 100644
index 0000000..4af6376
--- /dev/null
+++ b/tools/script.html
@@ -0,0 +1,45 @@
+---
+active_crumb: Management Script
+layout: documentation
+id: script
+---
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<div class="col-md-8 second-column">
+    <section id="overview">
+        <h2 class="section-title">Overview</h2>
+    </section>
+    <section id="usage">
+        <h2 class="section-title">Usage</h2>
+    </section>
+</div>
+<div class="col-md-2 third-column">
+    <ul class="side-nav">
+        <li class="side-nav-title">On This Page</li>
+        <li><a href="#overview">Overview</a></li>
+        <li><a href="#usage">Usage</a></li>
+        {% include quick-links.html %}
+    </ul>
+</div>
+
+
+
+
+
+
diff --git a/tools/test_framework.html b/tools/test_framework.html
index c4e6875..4ea31ea 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -66,8 +66,8 @@ id: test_framework
                     <li>
                         <a
                             target="javadoc"
-                            
href="/apis/latest/org/apache/nlpcraft/model/tools/test/NCTestClientResult.html">
-                            NCTestClientResult
+                            
href="/apis/latest/org/apache/nlpcraft/model/tools/test/NCTestResult.html">
+                            NCTestResult
                         </a> - result holder of the test sentence processing.
                     </li>
                     <li>

Reply via email to