lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [lucenenet-site] branch asf-site updated: Simplifies home page example code (#4)
Date Mon, 14 Oct 2019 15:49:09 GMT
This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/lucenenet-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 8186bef  Simplifies home page example code (#4)
8186bef is described below

commit 8186bef1061e71fad239934357e0a4ddefeffdba
Author: Shannon Deminick <sdeminick@gmail.com>
AuthorDate: Tue Oct 15 02:49:00 2019 +1100

    Simplifies home page example code (#4)
    
    * New build with the correct links for the Improve this Doc button
    
    * updates home page example
---
 contributing/current-status.html |  2 +-
 contributing/documentation.html  |  2 +-
 contributing/index.html          |  2 +-
 contributing/issue-tracker.html  |  2 +-
 contributing/mailing-lists.html  |  2 +-
 contributing/source.html         |  2 +-
 contributing/wiki.html           |  2 +-
 docs.html                        |  2 +-
 download/download.html           |  2 +-
 download/version-2.html          |  2 +-
 download/version-3.html          |  2 +-
 download/version-4.html          |  2 +-
 index.html                       | 19 +++++++++--------
 manifest.json                    | 45 +++++++++++++++++++++++++---------------
 styles/main.css                  | 19 +++++++++++++++++
 styles/site.css                  | 19 +++++++++++++++++
 16 files changed, 88 insertions(+), 38 deletions(-)

diff --git a/contributing/current-status.html b/contributing/current-status.html
index 3c85e10..cf2533a 100644
--- a/contributing/current-status.html
+++ b/contributing/current-status.html
@@ -85,7 +85,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/current-status.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/current-status.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/documentation.html b/contributing/documentation.html
index ca87b0e..d423e12 100644
--- a/contributing/documentation.html
+++ b/contributing/documentation.html
@@ -121,7 +121,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/documentation.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/documentation.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/index.html b/contributing/index.html
index e41cb88..cfbfaaf 100644
--- a/contributing/index.html
+++ b/contributing/index.html
@@ -105,7 +105,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/index.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/index.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/issue-tracker.html b/contributing/issue-tracker.html
index 6bff807..38754a2 100644
--- a/contributing/issue-tracker.html
+++ b/contributing/issue-tracker.html
@@ -83,7 +83,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/issue-tracker.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/issue-tracker.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/mailing-lists.html b/contributing/mailing-lists.html
index e33e7c4..0dce93f 100644
--- a/contributing/mailing-lists.html
+++ b/contributing/mailing-lists.html
@@ -95,7 +95,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/mailing-lists.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/mailing-lists.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/source.html b/contributing/source.html
index 7292548..7d998e3 100644
--- a/contributing/source.html
+++ b/contributing/source.html
@@ -92,7 +92,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/source.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/source.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/contributing/wiki.html b/contributing/wiki.html
index 04b5c2f..4ce0dc5 100644
--- a/contributing/wiki.html
+++ b/contributing/wiki.html
@@ -84,7 +84,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/contributing/wiki.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/contributing/wiki.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/docs.html b/docs.html
index 01f3a06..09cddb0 100644
--- a/docs.html
+++ b/docs.html
@@ -73,7 +73,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/docs.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/docs.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/download/download.html b/download/download.html
index 3c0bbce..38dab57 100644
--- a/download/download.html
+++ b/download/download.html
@@ -91,7 +91,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/download/download.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/download/download.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/download/version-2.html b/download/version-2.html
index 7769095..4337bca 100644
--- a/download/version-2.html
+++ b/download/version-2.html
@@ -92,7 +92,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/download/version-2.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/download/version-2.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/download/version-3.html b/download/version-3.html
index 2c90e48..ea6a6a8 100644
--- a/download/version-3.html
+++ b/download/version-3.html
@@ -121,7 +121,7 @@ are also provided as alternative verification method.</p>
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/download/version-3.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/download/version-3.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/download/version-4.html b/download/version-4.html
index f7ec5a4..34b5e3b 100644
--- a/download/version-4.html
+++ b/download/version-4.html
@@ -132,7 +132,7 @@
               <div class="contribution">
                 <ul class="nav">
                   <li>
-                    <a href="https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/websites/site/download/version-4.md/#L1"
class="contribution-link">Improve this Doc</a>
+                    <a href="https://github.com/apache/lucenenet/blob/master/websites/site/download/version-4.md/#L1"
class="contribution-link">Improve this Doc</a>
                   </li>
                 </ul>
               </div>
diff --git a/index.html b/index.html
index 995e95b..742465c 100644
--- a/index.html
+++ b/index.html
@@ -108,13 +108,14 @@ var writer = new IndexWriter(dir, indexConfig);
 <code class="csharp">var source = new
 {
     Name = "Kermit the Frog",
-    FavouritePhrase = "The quick brown fox jumps over the lazy dog"
+    FavoritePhrase = "The quick brown fox jumps over the lazy dog"
+};
+Document doc = new Document
+{
+    // StringField indexes but doesn't tokenize
+    new StringField("name", source.Name, Field.Store.YES),
+    new TextField("favoritePhrase", source.FavoritePhrase, Field.Store.YES)
 };
-var doc = new Document();
-// StringField indexes but doesn't tokenise
-doc.Add(new StringField("name", source.Name, Field.Store.YES));
-
-doc.Add(new TextField("favouritePhrase", source.FavouritePhrase, Field.Store.YES));
 
 writer.AddDocument(doc);
 writer.Flush(triggerMerge: false, applyAllDeletes: false);
@@ -127,8 +128,8 @@ writer.Flush(triggerMerge: false, applyAllDeletes: false);
 <pre class="clean">
 <code class="csharp">// search with a phrase
 var phrase = new MultiPhraseQuery();
-phrase.Add(new Term("favouritePhrase", "brown"));
-phrase.Add(new Term("favouritePhrase", "fox"));
+phrase.Add(new Term("favoritePhrase", "brown"));
+phrase.Add(new Term("favoritePhrase", "fox"));
 </code>
 </pre>
 </div>                    
@@ -143,7 +144,7 @@ foreach (var hit in hits)
 &nbsp;&nbsp;&nbsp;&nbsp;var foundDoc = searcher.Doc(hit.Doc);
 &nbsp;&nbsp;&nbsp;&nbsp;hit.Score.Dump("Score");
 &nbsp;&nbsp;&nbsp;&nbsp;foundDoc.Get("name").Dump("Name");
-&nbsp;&nbsp;&nbsp;&nbsp;foundDoc.Get("favouritePhrase").Dump("Favourite Phrase");
+&nbsp;&nbsp;&nbsp;&nbsp;foundDoc.Get("favoritePhrase").Dump("Favorite Phrase");
 }
 </code>
 </pre>
diff --git a/manifest.json b/manifest.json
index cdaf30c..fbfaac7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -53,7 +53,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/current-status.html",
-          "hash": "Mpw0HF9b9hC0sYrXg7t8sg=="
+          "hash": "TsGPLdiFDBcyHMFA3PZrrg=="
         }
       },
       "is_incremental": false,
@@ -65,7 +65,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/documentation.html",
-          "hash": "HenDvsUp/1ZS8U9m3qPC9g=="
+          "hash": "S3moP0l0x9B+Wp+XXUNSSQ=="
         }
       },
       "is_incremental": false,
@@ -77,7 +77,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/index.html",
-          "hash": "/e2NczhDhCpMaigb8cKUTw=="
+          "hash": "tzFXnBdEb+J2fLSRccr5oQ=="
         }
       },
       "is_incremental": false,
@@ -89,7 +89,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/issue-tracker.html",
-          "hash": "MnAaqhDSSDlCorb38pId5w=="
+          "hash": "ymunYXN9yB7R+Ui2KDEZxQ=="
         }
       },
       "is_incremental": false,
@@ -101,7 +101,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/mailing-lists.html",
-          "hash": "tcPiQ6yvGDcg8a1p+RCdxg=="
+          "hash": "8hXm7pSUVpjiHePqnpW4Xg=="
         }
       },
       "is_incremental": false,
@@ -113,7 +113,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/source.html",
-          "hash": "dMXa5GGMEzXpswPe4KsAHw=="
+          "hash": "gPJRp25HAtzuv5sOV5RrTw=="
         }
       },
       "is_incremental": false,
@@ -125,7 +125,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/toc.html",
-          "hash": "jQpNWKEh+Nadm1V1Zem4Cg=="
+          "hash": "S6rpztM6ysexbX1hZQUd0A=="
         }
       },
       "is_incremental": false,
@@ -137,7 +137,7 @@
       "output": {
         ".html": {
           "relative_path": "contributing/wiki.html",
-          "hash": "aOVqpkqwxkvgxgL6gcm+DA=="
+          "hash": "TVnkpOaTP5GfvCaCz9xXIw=="
         }
       },
       "is_incremental": false,
@@ -149,7 +149,7 @@
       "output": {
         ".html": {
           "relative_path": "docs.html",
-          "hash": "ANM+noJl0Bsfxm2ZXhI4CA=="
+          "hash": "omSz1JSpCU6mLcyFrLC07g=="
         }
       },
       "is_incremental": false,
@@ -161,7 +161,7 @@
       "output": {
         ".html": {
           "relative_path": "download/download.html",
-          "hash": "Almp6tWYpwYoF4e+lpdJjA=="
+          "hash": "2p9nwpDaA5AW+5n8LVwtZg=="
         }
       },
       "is_incremental": false,
@@ -185,7 +185,7 @@
       "output": {
         ".html": {
           "relative_path": "download/version-2.html",
-          "hash": "CUM+ulNS5++uVIITVsT3Zw=="
+          "hash": "g+fKFRGnEvPtV0veQVAM9w=="
         }
       },
       "is_incremental": false,
@@ -197,7 +197,7 @@
       "output": {
         ".html": {
           "relative_path": "download/version-3.html",
-          "hash": "c2TqOZZaoqvwmukCGHeBAQ=="
+          "hash": "WXErDymTSKWtFMokEbZytw=="
         }
       },
       "is_incremental": false,
@@ -209,7 +209,7 @@
       "output": {
         ".html": {
           "relative_path": "download/version-4.html",
-          "hash": "hGJFhTvnFXe4DxG9c+vbTw=="
+          "hash": "fIYG7A94ssnkx8XkUTkgCw=="
         }
       },
       "is_incremental": false,
@@ -221,7 +221,18 @@
       "output": {
         ".html": {
           "relative_path": "index.html",
-          "hash": "yhochYWTL62fvo8w35FQcg=="
+          "hash": "Y2/Z0WgUJFhWoXrkpek8tQ=="
+        }
+      },
+      "is_incremental": false,
+      "version": ""
+    },
+    {
+      "type": "Resource",
+      "source_relative_path": "lucenetemplate/doap_Lucene_Net.rdf",
+      "output": {
+        "resource": {
+          "relative_path": "doap_Lucene_Net.rdf"
         }
       },
       "is_incremental": false,
@@ -253,13 +264,13 @@
           "details": "Processor TocDocumentProcessor cannot support incremental build because
the processor doesn't implement ISupportIncrementalDocumentProcessor interface.",
           "incrementalPhase": "build"
         },
-        "ResourceDocumentProcessor": {
+        "ConceptualDocumentProcessor": {
           "can_incremental": false,
-          "details": "Processor ResourceDocumentProcessor cannot support incremental build
because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.",
           "incrementalPhase": "build"
         },
-        "ConceptualDocumentProcessor": {
+        "ResourceDocumentProcessor": {
           "can_incremental": false,
+          "details": "Processor ResourceDocumentProcessor cannot support incremental build
because the processor doesn't implement ISupportIncrementalDocumentProcessor interface.",
           "incrementalPhase": "build"
         }
       }
diff --git a/styles/main.css b/styles/main.css
index 812bf28..06e4d9e 100644
--- a/styles/main.css
+++ b/styles/main.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 /* .navbar-inverse {
     background: #4a95da;
     background: rgb(44, 95, 163);
diff --git a/styles/site.css b/styles/site.css
index b4fe7f7..aa5f52a 100644
--- a/styles/site.css
+++ b/styles/site.css
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 /* START From hugo academic css */
 #homepage section {
     font-family: 'Merriweather', serif;


Mime
View raw message