You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/05/02 21:36:24 UTC

[incubator-nlpcraft-website] branch master updated: Fixing example links.

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 052342c  Fixing example links.
052342c is described below

commit 052342ca468caa5f3ee8dc59b5bef484afbc8343
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Sun May 2 14:36:13 2021 -0700

    Fixing example links.
---
 README.md                  | 2 +-
 _includes/quick-links.html | 2 +-
 data-model.html            | 2 +-
 examples/alarm_clock.html  | 2 +-
 examples/light_switch.html | 2 +-
 examples/sql_model.html    | 4 ++--
 examples/weather_bot.html  | 2 +-
 getting-started.html       | 2 +-
 index.html                 | 2 +-
 tools/sql_model_gen.html   | 2 +-
 tools/test_framework.html  | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/README.md b/README.md
index 34f46d9..10fa136 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ This repo is for the Apache NLPCraft [website](https://nlpcraft.apache.org/).
 NLPCraft is free and easy to use, it securely works with any private data source, and has no hardware or software 
 lock-in:
 
- * View & run [examples](https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples)
+ * View & run [examples](https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples)
  * Latest [Javadoc](https://github.com/apache/incubator-nlpcraft/apis/latest/index.html) and [REST APIs](https://nlpcraft.apache.org/using-rest.html)
  * Download & Maven/Grape/Gradle/SBT [instructions](https://nlpcraft.apache.org/download.html)
  * File a bug or improvement in [JIRA](https://issues.apache.org/jira/projects/NLPCRAFT)
diff --git a/_includes/quick-links.html b/_includes/quick-links.html
index 85baf50..3e06cc0 100644
--- a/_includes/quick-links.html
+++ b/_includes/quick-links.html
@@ -17,7 +17,7 @@
 
 <li class="side-nav-title">Quick Links</li>
 <li>
-    <i class="fab fa-fw fa-github mr-2"></i><a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples">Examples</a>
+    <i class="fab fa-fw fa-github mr-2"></i><a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples">Examples</a>
 </li>
 <li>
     <i class="fab fa-fw fa-java mr-2"></i><a target="_" href="/apis/latest/index.html">Javadoc</a>
diff --git a/data-model.html b/data-model.html
index 8c8d34d..93ad47e 100644
--- a/data-model.html
+++ b/data-model.html
@@ -399,7 +399,7 @@ public class AlarmModel extends NCModelFileAdapter {
             configuration you need to use <a target="javadoc" href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
             adapter when creating your data model. Here are JSON and YAML sample templates and you can find more details in
             <a target="javadoc" href="/apis/latest/org/apache/nlpcraft/model/NCModel.html">NCModel</a> Javadoc and in
-            <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples">examples</a>.
+            <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples">examples</a>.
         </p>
 
         <nav>
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 5f4f66e..6b8deb4 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -32,7 +32,7 @@ id: alarm_clock
         </p>
         <p>
             Complexity: <span class="complexity-one-star"><i class="fas fa-star"></i> <i class="far fa-star"></i> <i class="far fa-star"></i></span><br/>
-            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/alarm">GitHub</a>
+            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/alarm">GitHub</a>
         </p>
     </section>
     <section id="new_project">
diff --git a/examples/light_switch.html b/examples/light_switch.html
index 3c0ef51..df7d798 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -32,7 +32,7 @@ id: light_switch
         </p>
         <p>
             Complexity: <span class="complexity-one-star"><i class="fas fa-star"></i> <i class="far fa-star"></i> <i class="far fa-star"></i></span><br/>
-            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/lightswitch">GitHub</a>
+            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/lightswitch">GitHub</a>
         </p>
     </section>
     <section id="new_project">
diff --git a/examples/sql_model.html b/examples/sql_model.html
index 1fa88f3..8b7cfcf 100644
--- a/examples/sql_model.html
+++ b/examples/sql_model.html
@@ -36,7 +36,7 @@ id: sql_model
         </p>
         <p>
             Complexity: <span class="complexity-three-star"><i class="fas fa-gem"></i> <i class="fas fa-gem"></i> <i class="fas fa-gem"></i></span><br/>
-            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql">GitHub</a>
+            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/sql">GitHub</a>
         </p>
     </section>
     <section id="background">
@@ -80,7 +80,7 @@ id: sql_model
         <div class="bq info">
             <b>Source Code</b>
             <p>
-                Due to size of this example the entire source code for it can be found on <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql">GitHub</a>.
+                Due to size of this example the entire source code for it can be found on <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/sql">GitHub</a>.
             </p>
         </div>
     </section>
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index ddc916a..aaacc2d 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -31,7 +31,7 @@ id: weather_bot
         </p>
         <p>
             Complexity: <span class="complexity-two-star"><i class="fas fa-square"></i> <i class="fas fa-square"></i> <i class="far fa-square"></i></span><br/>
-            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/weather">GitHub</a>
+            Source code: <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/weather">GitHub</a>
         </p>
     </section>
     <section id="new_project">
diff --git a/getting-started.html b/getting-started.html
index 463bb0c..cfe4777 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -25,7 +25,7 @@ id: getting_started
     <section 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/src/main/scala/org/apache/nlpcraft/examples" target="github">examples</a>.
+            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 -
             <a href="/server-and-probe.html#probe">data probe</a>,
diff --git a/index.html b/index.html
index c4274c5..8c944bc 100644
--- a/index.html
+++ b/index.html
@@ -86,7 +86,7 @@ layout: default
                         <div class="gh-btn">
                             <a
                                 class="github-button"
-                                href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples"
+                                href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples"
                                 aria-label="NLPCraft examples on GitHub">Examples</a>
                         </div>
                         <a target=_ href="https://gitter.im/apache-nlpcraft/community"><img alt="Gitter" src="https://badges.gitter.im/apache-nlpcraft/community.svg"></a>
diff --git a/tools/sql_model_gen.html b/tools/sql_model_gen.html
index b330d2d..3a717a7 100644
--- a/tools/sql_model_gen.html
+++ b/tools/sql_model_gen.html
@@ -120,7 +120,7 @@ id: sql_model_gen
     <section id="examples">
         <h2 class="section-title">Examples <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
         <p>
-            SQL model generator is used by <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql">SQL Model</a> example. This example comes with two YAML models:
+            SQL model generator is used by <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples/sql">SQL Model</a> example. This example comes with two YAML models:
         </p>
         <ul>
             <li><code>sql_model_init.yaml</code> - original generated model straight out of the SQL model generator.</li>
diff --git a/tools/test_framework.html b/tools/test_framework.html
index b4bb6d4..54a7aef 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -243,7 +243,7 @@ public class AlarmModel extends NCModelFileAdapter {
     <section id="examples">
         <h2 class="section-title">Examples <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
         <p>
-            All <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/apache/nlpcraft/examples">examples</a>
+            All <a target="github" href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft-examples">examples</a>
             shipped with NLPCraft come with instructions on how to auto-validate their models.
         </p>
     </section>