nlpcraft-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aradzin...@apache.org
Subject [incubator-nlpcraft-website] branch master updated: WIP.
Date Thu, 29 Jul 2021 16:48:45 GMT
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 6c7e091  WIP.
6c7e091 is described below

commit 6c7e091fd04c724d80d2c07ce892174e3cbba70d
Author: Aaron Radzinski <aradiznski@apache.org>
AuthorDate: Thu Jul 29 09:48:34 2021 -0700

    WIP.
---
 ...er_blog_warn.html => latest-ver-blog-warn.html} |   0
 _includes/left-side-menu.html                      | 162 +++++++++++++++++++++
 _layouts/blog.html                                 |   7 +-
 _layouts/documentation.html                        | 154 +-------------------
 _layouts/release-notes.html                        |   7 +-
 blogs.html                                         |   7 +-
 blogs/composable_named_entities.html               |   2 +-
 blogs/nlpcraft-idl-intent-definition-language.html |   2 +-
 blogs/quick_intro_apache_nlpcraft.html             |   2 +-
 blogs/short_term_memory.html                       |   2 +-
 community.html                                     |   5 +-
 download.html                                      |   8 +-
 12 files changed, 172 insertions(+), 186 deletions(-)

diff --git a/_includes/latest_ver_blog_warn.html b/_includes/latest-ver-blog-warn.html
similarity index 100%
rename from _includes/latest_ver_blog_warn.html
rename to _includes/latest-ver-blog-warn.html
diff --git a/_includes/left-side-menu.html b/_includes/left-side-menu.html
new file mode 100644
index 0000000..33fdcc8
--- /dev/null
+++ b/_includes/left-side-menu.html
@@ -0,0 +1,162 @@
+<!--
+ 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.
+-->
+
+<ul class="side-nav">
+    <li class="side-nav-title">Developer Guide</li>
+    <li>
+        {% if page.id == "overview" %}
+        <a class="active" href="/docs.html">Overview</a>
+        {% else %}
+        <a href="/docs.html">Overview</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "installation" %}
+        <a class="active" href="/installation.html">Installation</a>
+        {% else %}
+        <a href="/installation.html">Installation</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "first_example" %}
+        <a class="active" href="/first-example.html">First Example</a>
+        {% else %}
+        <a href="/first-example.html">First Example</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "data_model" %}
+        <a class="active" href="/data-model.html">Data Model</a>
+        {% else %}
+        <a href="/data-model.html">Data Model</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "intent_matching" %}
+        <a class="active" href="/intent-matching.html">Intent Matching</a>
+        {% else %}
+        <a href="/intent-matching.html">Intent Matching</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "short_term_memory" %}
+        <a class="active" href="/short-term-memory.html">Short-Term Memory</a>
+        {% else %}
+        <a href="/short-term-memory.html">Short-Term Memory</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "rest" %}
+        <a class="active" href="/using-rest.html">REST API</a>
+        {% else %}
+        <a href="/using-rest.html">REST API</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "server_and_probe" %}
+        <a class="active" href="/server-and-probe.html">Server <span class="amp">&amp;</span>
Probe</a>
+        {% else %}
+        <a href="/server-and-probe.html">Server <span class="amp">&amp;</span>
Probe</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "configuration" %}
+        <a class="active" href="/configuration.html">Configuration</a>
+        {% else %}
+        <a href="/configuration.html">Configuration</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "metrics" %}
+        <a class="active" href="/metrics-and-tracing.html">Metrics <span class="amp">&amp;</span>
Tracing</a>
+        {% else %}
+        <a href="/metrics-and-tracing.html">Metrics <span class="amp">&amp;</span>
Tracing</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "integrations" %}
+        <a class="active" href="/integrations.html">Integrations</a>
+        {% else %}
+        <a href="/integrations.html">Integrations</a>
+        {% endif %}
+    </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 %}
+        <a href="/tools/test_framework.html">Test Framework</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "embedded_probe" %}
+        <a class="active" href="/tools/embedded_probe.html">Embedded Probe</a>
+        {% else %}
+        <a href="/tools/embedded_probe.html">Embedded Probe</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "sql_model_gen" %}
+        <a class="active" href="/tools/sql_model_gen.html">SQL Model Generator</a>
+        {% else %}
+        <a href="/tools/sql_model_gen.html">SQL Model Generator</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "syn_tool" %}
+        <a class="active" href="/tools/syn_tool.html">Synonyms Tool</a>
+        {% else %}
+        <a href="/tools/syn_tool.html">Synonyms Tool</a>
+        {% endif %}
+    </li>
+    <li class="side-nav-title">Examples</li>
+    <li>
+        {% if page.id == "alarm_clock" %}
+        <a class="active" href="/examples/alarm_clock.html">Alarm Clock</a>
+        {% else %}
+        <a href="/examples/alarm_clock.html">Alarm Clock</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "light_switch" %}
+        <a class="active" href="/examples/light_switch.html">Light Switch</a>
+        {% else %}
+        <a href="/examples/light_switch.html">Light Switch</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "weather_bot" %}
+        <a class="active" href="/examples/weather_bot.html">Weather Bot</a>
+        {% else %}
+        <a href="/examples/weather_bot.html">Weather Bot</a>
+        {% endif %}
+    </li>
+    <li>
+        {% if page.id == "sql_model" %}
+        <a class="active" href="/examples/sql_model.html">SQL Model</a>
+        {% else %}
+        <a href="/examples/sql_model.html">SQL Model</a>
+        {% endif %}
+    </li>
+</ul>
diff --git a/_layouts/blog.html b/_layouts/blog.html
index e3ff124..e044db5 100644
--- a/_layouts/blog.html
+++ b/_layouts/blog.html
@@ -33,12 +33,7 @@ layout: default
 
         <div class="three-cols-container">
             <div class="col-md-2 first-column">
-                <ul class="side-nav">
-                    <li class="side-nav-title">Documentation</li>
-                    <li><a href="/docs.html">Overview</a></li>
-                    <li><a href="/installation.html">Installation</a></li>
-                    <li><a href="/getting-started.html">Getting Started</a></li>
-                </ul>
+                {% include left-side-menu.html %}
             </div>
             <div id="blog" class="col-md-8 second-column">
                 <section id="intro">
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index 74d0301..a6f36ed 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -31,159 +31,7 @@ layout: interior
 
 <div class="row three-cols-container">
     <div class="col-md-2 first-column">
-        <ul class="side-nav">
-            <li class="side-nav-title">Introduction</li>
-            <li>
-                {% if page.id == "overview" %}
-                <a class="active" href="/docs.html">Overview</a>
-                {% else %}
-                <a href="/docs.html">Overview</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "installation" %}
-                <a class="active" href="/installation.html">Installation</a>
-                {% else %}
-                <a href="/installation.html">Installation</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "getting_started" %}
-                <a class="active" href="/getting-started.html">Getting Started</a>
-                {% else %}
-                <a href="/getting-started.html">Getting Started</a>
-                {% endif %}
-            </li>
-            <li class="side-nav-title">Developer Guide</li>
-            <li>
-                {% if page.id == "first_example" %}
-                <a class="active" href="/first-example.html">First Example</a>
-                {% else %}
-                <a href="/first-example.html">First Example</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "data_model" %}
-                <a class="active" href="/data-model.html">Data Model</a>
-                {% else %}
-                <a href="/data-model.html">Data Model</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "intent_matching" %}
-                    <a class="active" href="/intent-matching.html">Intent Matching</a>
-                {% else %}
-                    <a href="/intent-matching.html">Intent Matching</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "short_term_memory" %}
-                <a class="active" href="/short-term-memory.html">Short-Term Memory</a>
-                {% else %}
-                <a href="/short-term-memory.html">Short-Term Memory</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "rest" %}
-                <a class="active" href="/using-rest.html">REST API</a>
-                {% else %}
-                <a href="/using-rest.html">REST API</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "server_and_probe" %}
-                <a class="active" href="/server-and-probe.html">Server <span class="amp">&amp;</span>
Probe</a>
-                {% else %}
-                <a href="/server-and-probe.html">Server <span class="amp">&amp;</span>
Probe</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "configuration" %}
-                <a class="active" href="/configuration.html">Configuration</a>
-                {% else %}
-                <a href="/configuration.html">Configuration</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "metrics" %}
-                <a class="active" href="/metrics-and-tracing.html">Metrics <span
class="amp">&amp;</span> Tracing</a>
-                {% else %}
-                <a href="/metrics-and-tracing.html">Metrics <span class="amp">&amp;</span>
Tracing</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "integrations" %}
-                <a class="active" href="/integrations.html">Integrations</a>
-                {% else %}
-                <a href="/integrations.html">Integrations</a>
-                {% endif %}
-            </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 %}
-                <a href="/tools/test_framework.html">Test Framework</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "embedded_probe" %}
-                <a class="active" href="/tools/embedded_probe.html">Embedded Probe</a>
-                {% else %}
-                <a href="/tools/embedded_probe.html">Embedded Probe</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "sql_model_gen" %}
-                <a class="active" href="/tools/sql_model_gen.html">SQL Model Generator</a>
-                {% else %}
-                <a href="/tools/sql_model_gen.html">SQL Model Generator</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "syn_tool" %}
-                <a class="active" href="/tools/syn_tool.html">Synonyms Tool</a>
-                {% else %}
-                <a href="/tools/syn_tool.html">Synonyms Tool</a>
-                {% endif %}
-            </li>
-            <li class="side-nav-title">Examples</li>
-            <li>
-                {% if page.id == "alarm_clock" %}
-                <a class="active" href="/examples/alarm_clock.html">Alarm Clock</a>
-                {% else %}
-                <a href="/examples/alarm_clock.html">Alarm Clock</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "light_switch" %}
-                <a class="active" href="/examples/light_switch.html">Light Switch</a>
-                {% else %}
-                <a href="/examples/light_switch.html">Light Switch</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "weather_bot" %}
-                <a class="active" href="/examples/weather_bot.html">Weather Bot</a>
-                {% else %}
-                <a href="/examples/weather_bot.html">Weather Bot</a>
-                {% endif %}
-            </li>
-            <li>
-                {% if page.id == "sql_model" %}
-                <a class="active" href="/examples/sql_model.html">SQL Model</a>
-                {% else %}
-                <a href="/examples/sql_model.html">SQL Model</a>
-                {% endif %}
-            </li>
-        </ul>
+        {% include left-side-menu.html %}
     </div>
 
     {{ content }}
diff --git a/_layouts/release-notes.html b/_layouts/release-notes.html
index 96bebda..9422d5e 100644
--- a/_layouts/release-notes.html
+++ b/_layouts/release-notes.html
@@ -33,12 +33,7 @@ layout: default
 
         <div class="three-cols-container">
             <div class="col-md-2 first-column">
-                <ul class="side-nav">
-                    <li class="side-nav-title">Documentation</li>
-                    <li><a href="/docs.html">Overview</a></li>
-                    <li><a href="/installation.html">Installation</a></li>
-                    <li><a href="/getting-started.html">Getting Started</a></li>
-                </ul>
+                {% include left-side-menu.html %}
             </div>
             <div class="col-md-8 second-column">
                 {{ content }}
diff --git a/blogs.html b/blogs.html
index 97bd459..dcec847 100644
--- a/blogs.html
+++ b/blogs.html
@@ -26,12 +26,7 @@ layout: interior
 
 <div id="blogs" class="three-cols-container">
     <div class="col-md-2 first-column">
-        <ul class="side-nav">
-            <li class="side-nav-title">Documentation</li>
-            <li><a href="/docs.html">Overview</a></li>
-            <li><a href="/installation.html">Installation</a></li>
-            <li><a href="/getting-started.html">Getting Started</a></li>
-        </ul>
+        {% include left-side-menu.html %}
     </div>
     <div class="col-md-8 second-column">
         <div id="blogs-container" class="row">
diff --git a/blogs/composable_named_entities.html b/blogs/composable_named_entities.html
index b6cbf6d..fc10bf3 100644
--- a/blogs/composable_named_entities.html
+++ b/blogs/composable_named_entities.html
@@ -29,7 +29,7 @@ publish_date: January 20, 2021
     <div class="bq info">
         This blog is an English adaptation of Sergey Kamov's <a target=habr href="https://habr.com/ru/post/530878/">blog</a>
written in Russian.
     </div>
-    {% include latest_ver_blog_warn.html %}
+    {% include latest-ver-blog-warn.html %}
     <p>
         Most of the NLP tasks start with the basic challenge - how to find or detect something
in the text. Whether
         you are designing a search engine, conversational interface or some sort of classificator
you will likely
diff --git a/blogs/nlpcraft-idl-intent-definition-language.html b/blogs/nlpcraft-idl-intent-definition-language.html
index d6f625e..ee0e277 100644
--- a/blogs/nlpcraft-idl-intent-definition-language.html
+++ b/blogs/nlpcraft-idl-intent-definition-language.html
@@ -29,7 +29,7 @@ publish_date: June 3, 2021
     <div class="bq info">
         This blog is an English adaptation of Sergey Kamov's <a target=habr href="https://habr.com/ru/post/559716">blog</a>
written in Russian.
     </div>
-    {% include latest_ver_blog_warn.html %}
+    {% include latest-ver-blog-warn.html %}
     <p>
         This article is a second part of the article <a target=habr href="https://habr.com/ru/post/534034/">Проектируем
интенты с Apache NLPCraft</a>
         <img alt="" style="vertical-align: baseline" src="/images/ru-flag-16.png">
and contains a detailed description of
diff --git a/blogs/quick_intro_apache_nlpcraft.html b/blogs/quick_intro_apache_nlpcraft.html
index cfade05..6ff05be 100644
--- a/blogs/quick_intro_apache_nlpcraft.html
+++ b/blogs/quick_intro_apache_nlpcraft.html
@@ -36,7 +36,7 @@ publish_date: November 16, 2020
         unambiguously straightforward - provide an efficient & highly productive API
to develop advanced NLP-based
         interfaces for modern applications.
     </p>
-    {% include latest_ver_blog_warn.html %}
+    {% include latest-ver-blog-warn.html %}
 </section>
 <section>
     <h2 class="section-title">Overview <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2>
diff --git a/blogs/short_term_memory.html b/blogs/short_term_memory.html
index 3ef977c..36d8b3e 100644
--- a/blogs/short_term_memory.html
+++ b/blogs/short_term_memory.html
@@ -26,7 +26,7 @@ publish_date: July 26, 2019
 -->
 
 <section>
-    {% include latest_ver_blog_warn.html %}
+    {% include latest-ver-blog-warn.html %}
     <p>
         In this blog, I'll try to give a high-level overview of STM - Short-Term Memory,
a technique used to
         maintain conversational context in NLPCraft. Maintaining the proper conversation
context - remembering
diff --git a/community.html b/community.html
index 43f8434..a8d8b95 100644
--- a/community.html
+++ b/community.html
@@ -27,10 +27,6 @@ layout: interior
 <div id="community" class="three-cols-container">
     <div class="col-md-2 first-column">
         <ul class="side-nav">
-            <li class="side-nav-title">Introduction</li>
-            <li><a href="/docs.html">Overview</a></li>
-            <li><a href="/installation.html">Installation</a></li>
-            <li><a href="/getting-started.html">Getting Started</a></li>
             <li class="side-nav-title"><!--suppress CheckImageSize -->
                 <img src="/images/asf_logo-h36.png" alt=""></li>
             <li><a target="asf" href="https://www.apache.org/">Foundation</a></li>
@@ -39,6 +35,7 @@ layout: interior
             <li><a target="asf" href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
             <li><a target="asf" href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
         </ul>
+        {% include left-side-menu.html %}
     </div>
     <div class="col-md-8 second-column">
         <section id="start">
diff --git a/download.html b/download.html
index 84843d8..04f649d 100644
--- a/download.html
+++ b/download.html
@@ -26,13 +26,7 @@ layout: interior
 
 <div id="downloads" class="three-cols-container">
     <div class="col-md-2 first-column">
-        <ul class="side-nav">
-            <li class="side-nav-title">Introduction</li>
-            <li><a href="/docs.html">Overview</a></li>
-            <li><a href="/installation.html">Installation</a></li>
-            <li><a href="/getting-started.html">Getting Started</a></li>
-            <li><a href="/integrations.html">Integrations</a></li>
-        </ul>
+        {% include left-side-menu.html %}
     </div>
     <div class="col-md-8 second-column">
         <section id="prerequisites">

Mime
View raw message