Author: wangwei
Date: Sun Apr 21 13:56:42 2019
New Revision: 1857911

URL: http://svn.apache.org/viewvc?rev=1857911&view=rev
Log:
update the docs by jenkins for commit 4a6aa64

Added:
    incubator/singa/site/trunk/en/_static/fonts/Inconsolata.ttf   (with props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.eot   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.ttf   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff2   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.eot   
(with props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.ttf   
(with props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff   
(with props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff2   
(with props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.eot   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.ttf   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff2   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.eot   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.ttf   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff2   (with 
props)
    incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot  
 (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf  
 (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff 
  (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
   (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
   (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
   (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
   (with props)
    
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
   (with props)
    incubator/singa/site/trunk/en/_static/language_data.js
    incubator/singa/site/trunk/zh/_static/fonts/Inconsolata.ttf   (with props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bold.eot   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bold.ttf   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bold.woff   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bold.woff2   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bolditalic.eot   
(with props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bolditalic.ttf   
(with props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bolditalic.woff   
(with props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-bolditalic.woff2   
(with props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-italic.eot   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-italic.ttf   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-italic.woff   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-italic.woff2   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-regular.eot   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-regular.ttf   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-regular.woff   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/Lato/lato-regular.woff2   (with 
props)
    incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot  
 (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf  
 (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff 
  (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
   (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
   (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
   (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
   (with props)
    
incubator/singa/site/trunk/zh/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
   (with props)
    incubator/singa/site/trunk/zh/_static/language_data.js
Modified:
    incubator/singa/site/trunk/en/.buildinfo
    incubator/singa/site/trunk/en/_static/basic.css
    incubator/singa/site/trunk/en/_static/css/badge_only.css
    incubator/singa/site/trunk/en/_static/css/theme.css
    incubator/singa/site/trunk/en/_static/doctools.js
    incubator/singa/site/trunk/en/_static/documentation_options.js
    incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Bold.ttf
    incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Regular.ttf
    incubator/singa/site/trunk/en/_static/js/theme.js
    incubator/singa/site/trunk/en/_static/searchtools.js
    incubator/singa/site/trunk/en/community/issue-tracking.html
    incubator/singa/site/trunk/en/community/mail-lists.html
    incubator/singa/site/trunk/en/community/source-repository.html
    incubator/singa/site/trunk/en/community/team-list.html
    incubator/singa/site/trunk/en/develop/contribute-code.html
    incubator/singa/site/trunk/en/develop/contribute-docs.html
    incubator/singa/site/trunk/en/develop/how-contribute.html
    incubator/singa/site/trunk/en/develop/how-to-release.html
    incubator/singa/site/trunk/en/develop/schedule.html
    incubator/singa/site/trunk/en/docs.html
    incubator/singa/site/trunk/en/docs/autograd.html
    incubator/singa/site/trunk/en/docs/cnn.html
    incubator/singa/site/trunk/en/docs/converter.html
    incubator/singa/site/trunk/en/docs/data.html
    incubator/singa/site/trunk/en/docs/dependencies.html
    incubator/singa/site/trunk/en/docs/device.html
    incubator/singa/site/trunk/en/docs/docker.html
    incubator/singa/site/trunk/en/docs/image_tool.html
    incubator/singa/site/trunk/en/docs/index.html
    incubator/singa/site/trunk/en/docs/initializer.html
    incubator/singa/site/trunk/en/docs/install_macos1013.html
    incubator/singa/site/trunk/en/docs/install_win.html
    incubator/singa/site/trunk/en/docs/installation.html
    incubator/singa/site/trunk/en/docs/layer.html
    incubator/singa/site/trunk/en/docs/loss.html
    incubator/singa/site/trunk/en/docs/metric.html
    incubator/singa/site/trunk/en/docs/model_zoo/caffe/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/char-rnn/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/cifar10/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/examples/caffe/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/examples/char-rnn/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/examples/cifar10/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/alexnet/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/densenet/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/googlenet/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/inception/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/resnet/README.html
    
incubator/singa/site/trunk/en/docs/model_zoo/examples/imagenet/vgg/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/examples/index.html
    incubator/singa/site/trunk/en/docs/model_zoo/examples/mnist/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/alexnet/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/densenet/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/googlenet/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/inception/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/resnet/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/imagenet/vgg/README.html
    incubator/singa/site/trunk/en/docs/model_zoo/index.html
    incubator/singa/site/trunk/en/docs/model_zoo/mnist/README.html
    incubator/singa/site/trunk/en/docs/net.html
    incubator/singa/site/trunk/en/docs/neural-net.html
    incubator/singa/site/trunk/en/docs/notebook/README.html
    incubator/singa/site/trunk/en/docs/optimizer.html
    incubator/singa/site/trunk/en/docs/security.html
    incubator/singa/site/trunk/en/docs/snapshot.html
    incubator/singa/site/trunk/en/docs/software_stack.html
    incubator/singa/site/trunk/en/docs/tensor.html
    incubator/singa/site/trunk/en/docs/utils.html
    incubator/singa/site/trunk/en/downloads.html
    incubator/singa/site/trunk/en/genindex.html
    incubator/singa/site/trunk/en/index.html
    incubator/singa/site/trunk/en/objects.inv
    incubator/singa/site/trunk/en/py-modindex.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.1.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.2.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_0.3.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_1.0.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_1.1.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_1.2.0.html
    incubator/singa/site/trunk/en/releases/RELEASE_NOTES_2.0.0.html
    incubator/singa/site/trunk/en/search.html
    incubator/singa/site/trunk/en/searchindex.js
    incubator/singa/site/trunk/zh/.buildinfo
    incubator/singa/site/trunk/zh/_static/basic.css
    incubator/singa/site/trunk/zh/_static/css/badge_only.css
    incubator/singa/site/trunk/zh/_static/css/theme.css
    incubator/singa/site/trunk/zh/_static/doctools.js
    incubator/singa/site/trunk/zh/_static/documentation_options.js
    incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Bold.ttf
    incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Regular.ttf
    incubator/singa/site/trunk/zh/_static/js/theme.js
    incubator/singa/site/trunk/zh/_static/searchtools.js
    incubator/singa/site/trunk/zh/community/issue-tracking.html
    incubator/singa/site/trunk/zh/community/mail-lists.html
    incubator/singa/site/trunk/zh/community/source-repository.html
    incubator/singa/site/trunk/zh/community/team-list.html
    incubator/singa/site/trunk/zh/develop/contribute-code.html
    incubator/singa/site/trunk/zh/develop/how-contribute.html
    incubator/singa/site/trunk/zh/develop/schedule.html
    incubator/singa/site/trunk/zh/docs.html
    incubator/singa/site/trunk/zh/docs/data.html
    incubator/singa/site/trunk/zh/docs/device.html
    incubator/singa/site/trunk/zh/docs/image_tool.html
    incubator/singa/site/trunk/zh/docs/index.html
    incubator/singa/site/trunk/zh/docs/initializer.html
    incubator/singa/site/trunk/zh/docs/install_macos1013.html
    incubator/singa/site/trunk/zh/docs/install_win.html
    incubator/singa/site/trunk/zh/docs/installation.html
    incubator/singa/site/trunk/zh/docs/layer.html
    incubator/singa/site/trunk/zh/docs/loss.html
    incubator/singa/site/trunk/zh/docs/metric.html
    incubator/singa/site/trunk/zh/docs/model_zoo/char-rnn/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/cifar10/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/alexnet/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/densenet/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/googlenet/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/inception/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/resnet/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/imagenet/vgg/README.html
    incubator/singa/site/trunk/zh/docs/model_zoo/index.html
    incubator/singa/site/trunk/zh/docs/model_zoo/mnist/README.html
    incubator/singa/site/trunk/zh/docs/net.html
    incubator/singa/site/trunk/zh/docs/optimizer.html
    incubator/singa/site/trunk/zh/docs/snapshot.html
    incubator/singa/site/trunk/zh/docs/software_stack.html
    incubator/singa/site/trunk/zh/docs/tensor.html
    incubator/singa/site/trunk/zh/docs/utils.html
    incubator/singa/site/trunk/zh/downloads.html
    incubator/singa/site/trunk/zh/genindex.html
    incubator/singa/site/trunk/zh/index.html
    incubator/singa/site/trunk/zh/search.html
    incubator/singa/site/trunk/zh/searchindex.js

Modified: incubator/singa/site/trunk/en/.buildinfo
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/.buildinfo?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/.buildinfo (original)
+++ incubator/singa/site/trunk/en/.buildinfo Sun Apr 21 13:56:42 2019
@@ -1,4 +1,4 @@
 # Sphinx build info version 1
 # This file hashes the configuration used when building these files. When it 
is not found, a full rebuild will be done.
-config: 0987bc70c27c8725489b483394845970
+config: 1499d409d023c2775f8afadba5faaacb
 tags: 645f666f9bcd5a90fca523b33c5a78b7

Modified: incubator/singa/site/trunk/en/_static/basic.css
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/basic.css?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/basic.css (original)
+++ incubator/singa/site/trunk/en/_static/basic.css Sun Apr 21 13:56:42 2019
@@ -4,7 +4,7 @@
  *
  * Sphinx stylesheet -- basic theme.
  *
- * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -81,6 +81,10 @@ div.sphinxsidebar input {
     font-size: 1em;
 }
 
+div.sphinxsidebar #searchbox form.search {
+    overflow: hidden;
+}
+
 div.sphinxsidebar #searchbox input[type="text"] {
     float: left;
     width: 80%;
@@ -227,6 +231,16 @@ a.headerlink {
     visibility: hidden;
 }
 
+a.brackets:before,
+span.brackets > a:before{
+    content: "[";
+}
+
+a.brackets:after,
+span.brackets > a:after {
+    content: "]";
+}
+
 h1:hover > a.headerlink,
 h2:hover > a.headerlink,
 h3:hover > a.headerlink,
@@ -387,6 +401,16 @@ table.citation td {
     border-bottom: none;
 }
 
+th > p:first-child,
+td > p:first-child {
+    margin-top: 0px;
+}
+
+th > p:last-child,
+td > p:last-child {
+    margin-bottom: 0px;
+}
+
 /* -- figures --------------------------------------------------------------- 
*/
 
 div.figure {
@@ -427,6 +451,13 @@ table.field-list td, table.field-list th
     hyphens: manual;
 }
 
+/* -- hlist styles ---------------------------------------------------------- 
*/
+
+table.hlist td {
+    vertical-align: top;
+}
+
+
 /* -- other body styles ----------------------------------------------------- 
*/
 
 ol.arabic {
@@ -449,11 +480,57 @@ ol.upperroman {
     list-style: upper-roman;
 }
 
+li > p:first-child {
+    margin-top: 0px;
+}
+
+li > p:last-child {
+    margin-bottom: 0px;
+}
+
+dl.footnote > dt,
+dl.citation > dt {
+    float: left;
+}
+
+dl.footnote > dd,
+dl.citation > dd {
+    margin-bottom: 0em;
+}
+
+dl.footnote > dd:after,
+dl.citation > dd:after {
+    content: "";
+    clear: both;
+}
+
+dl.field-list {
+    display: flex;
+    flex-wrap: wrap;
+}
+
+dl.field-list > dt {
+    flex-basis: 20%;
+    font-weight: bold;
+    word-break: break-word;
+}
+
+dl.field-list > dt:after {
+    content: ":";
+}
+
+dl.field-list > dd {
+    flex-basis: 70%;
+    padding-left: 1em;
+    margin-left: 0em;
+    margin-bottom: 0em;
+}
+
 dl {
     margin-bottom: 15px;
 }
 
-dd p {
+dd > p:first-child {
     margin-top: 0px;
 }
 
@@ -526,6 +603,12 @@ dl.glossary dt {
     font-style: oblique;
 }
 
+.classifier:before {
+    font-style: normal;
+    margin: 0.5em;
+    content: ":";
+}
+
 abbr, acronym {
     border-bottom: dotted 1px;
     cursor: help;

Modified: incubator/singa/site/trunk/en/_static/css/badge_only.css
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/css/badge_only.css?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/css/badge_only.css (original)
+++ incubator/singa/site/trunk/en/_static/css/badge_only.css Sun Apr 21 
13:56:42 2019
@@ -1 +1 @@
-.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix")
 format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") 
format("woff"),url("../fonts/fontawesome-webfont.ttf") 
format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") 
format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a
 .fa{display:inline-block;text-decoration:inherit}li 
.fa{display:inline-block}li .fa-large:before,li 
.fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas
 li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li 
.fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.ic
 
on-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica
 Neue",Arial,sans-serif;z-index:400}.rst-versions 
a{color:#2980B9;text-decoration:none}.rst-versions 
.rst-badge-small{display:none}.rst-versions 
.rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions
 .rst-current-version:before,.rst-versions 
.rst-current-version:after{display:table;content:""}.rst-versions 
.rst-current-version:after{clear:both}.rst-versions .rst-current-version 
.fa{color:#fcfcfc}.rst-versions 
 .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version 
.icon-book{float:left}.rst-versions 
.rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions
 
.rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%}.rst-versions.shift-up
 .rst-other-versions{display:block}.rst-versions 
.rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions
 .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 
0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions 
dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd 
a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge
 .icon-book{float:none}.rst-versions.rst-badge 
.fa-book{float:none}.rst-versions.rst-badge.shift-up 
.rst-current-version{text-ali
 gn:right}.rst-versions.rst-badge.shift-up .rst-current-version 
.fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version 
.icon-book{float:left}.rst-versions.rst-badge 
.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 
6px;display:block;text-align:center}@media screen and (max-width: 
768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}
+.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix")
 format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") 
format("woff"),url("../fonts/fontawesome-webfont.ttf") 
format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") 
format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a
 .fa{display:inline-block;text-decoration:inherit}li 
.fa{display:inline-block}li .fa-large:before,li 
.fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas
 li .fa{width:.8em}ul.fas li .fa-large:before,ul.fas li 
.fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.ic
 
on-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica
 Neue",Arial,sans-serif;z-index:400}.rst-versions 
a{color:#2980B9;text-decoration:none}.rst-versions 
.rst-badge-small{display:none}.rst-versions 
.rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions
 .rst-current-version:before,.rst-versions 
.rst-current-version:after{display:table;content:""}.rst-versions 
.rst-current-version:after{clear:both}.rst-versions .rst-current-version 
.fa{color:#fcfcfc}.rst-versions 
 .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version 
.icon-book{float:left}.rst-versions 
.rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions
 
.rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up
 .rst-other-versions{display:block}.rst-versions 
.rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions
 .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 
0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions 
dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd 
a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge
 .icon-book{float:none}.rst-versions.rst-badge 
.fa-book{float:none}.rst-versions.rst-badge.shift
 -up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up 
.rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up 
.rst-current-version .icon-book{float:left}.rst-versions.rst-badge 
.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 
6px;display:block;text-align:center}@media screen and (max-width: 
768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}

Modified: incubator/singa/site/trunk/en/_static/css/theme.css
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/css/theme.css?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/css/theme.css (original)
+++ incubator/singa/site/trunk/en/_static/css/theme.css Sun Apr 21 13:56:42 2019
@@ -1,4 +1,6 @@
-*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px
 
dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content
 tt,.rst-content 
code,kbd,samp{font-family:monospace,serif;_font-family:"courier 
new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;
 
vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-de
 
coration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em
 0;background:#ccc;color:#000;padding:.2em 
0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir
 br{display:none}.hidden{display:none 
!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 
0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media
 print{html,body,section{background:none !important}*{box-shadow:
 none !important;text-shadow:none !important;filter:none 
!important;-ms-filter:none !important}a,a:visited{text-decoration:underline}.ir 
a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%
 !important}@page{margin:.5cm}p,h2,.rst-content .toctree-wrapper 
p.caption,h3{orphans:3;widows:3}h2,.rst-content .toctree-wrapper 
p.caption,h3{page-break-after:avoid}}.fa:before,.wy-menu-vertical li 
span.toctree-expand:before,.wy-menu-vertical li.on a 
span.toctree-expand:before,.wy-menu-vertical li.current>a 
span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content 
h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 
.headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 
.headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt 
.headerlink:before,.rst-content p.caption .headerlink:before,.rst-con
 tent table>caption .headerlink:before,.rst-content tt.download 
span:first-child:before,.rst-content code.download 
span:first-child:before,.icon:before,.wy-dropdown 
.caret:before,.wy-inline-validate.wy-inline-validate-success 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-info 
.wy-input-context:before,.wy-alert,.rst-content .note,.rst-content 
.attention,.rst-content .caution,.rst-content .danger,.rst-content 
.error,.rst-content .hint,.rst-content .important,.rst-content 
.tip,.rst-content .warning,.rst-content .seealso,.rst-content 
.admonition-todo,.rst-content 
.admonition,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],inp
 ut[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical li.on 
a,.wy-menu-vertical li.current>a,.wy-side-nav-search>a,.wy-side-nav-search 
.wy-dropdown>a,.wy-nav-top 
a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*!
+/* sphinx_rtd_theme version 0.4.3 | MIT license */
+/* Built 20190212 16:02 */
+*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px
 
dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content
 tt,.rst-content 
code,kbd,samp{font-family:monospace,serif;_font-family:"courier 
new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertic
 
al-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decorati
 
on,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em
 0;background:#ccc;color:#000;padding:.2em 
0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir
 br{display:none}.hidden{display:none 
!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 
0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media
 print{html,body,section{background:none !important}*{box-shadow:none !
 important;text-shadow:none !important;filter:none !important;-ms-filter:none 
!important}a,a:visited{text-decoration:underline}.ir 
a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%
 !important}@page{margin:.5cm}p,h2,.rst-content .toctree-wrapper 
p.caption,h3{orphans:3;widows:3}h2,.rst-content .toctree-wrapper 
p.caption,h3{page-break-after:avoid}}.fa:before,.wy-menu-vertical li 
span.toctree-expand:before,.wy-menu-vertical li.on a 
span.toctree-expand:before,.wy-menu-vertical li.current>a 
span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content 
h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 
.headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 
.headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt 
.headerlink:before,.rst-content p.caption .headerlink:before,.rst-content t
 able>caption .headerlink:before,.rst-content .code-block-caption 
.headerlink:before,.rst-content tt.download 
span:first-child:before,.rst-content code.download 
span:first-child:before,.icon:before,.wy-dropdown 
.caret:before,.wy-inline-validate.wy-inline-validate-success 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning 
.wy-input-context:before,.wy-inline-validate.wy-inline-validate-info 
.wy-input-context:before,.wy-alert,.rst-content .note,.rst-content 
.attention,.rst-content .caution,.rst-content .danger,.rst-content 
.error,.rst-content .hint,.rst-content .important,.rst-content 
.tip,.rst-content .warning,.rst-content .seealso,.rst-content 
.admonition-todo,.rst-content 
.admonition,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"]
 
,input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical
 li.on a,.wy-menu-vertical 
li.current>a,.wy-side-nav-search>a,.wy-side-nav-search 
.wy-dropdown>a,.wy-nav-top 
a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*!
  *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT 
License)

[... 3 lines stripped ...]
Modified: incubator/singa/site/trunk/en/_static/doctools.js
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/doctools.js?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/doctools.js (original)
+++ incubator/singa/site/trunk/en/_static/doctools.js Sun Apr 21 13:56:42 2019
@@ -4,7 +4,7 @@
  *
  * Sphinx JavaScript utilities for all documentation.
  *
- * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -87,14 +87,13 @@ jQuery.fn.highlightText = function(text,
           node.nextSibling));
         node.nodeValue = val.substr(0, pos);
         if (isInSVG) {
-          var bbox = span.getBBox();
           var rect = document.createElementNS("http://www.w3.org/2000/svg";, 
"rect");
-                 rect.x.baseVal.value = bbox.x;
+          var bbox = node.parentElement.getBBox();
+          rect.x.baseVal.value = bbox.x;
           rect.y.baseVal.value = bbox.y;
           rect.width.baseVal.value = bbox.width;
           rect.height.baseVal.value = bbox.height;
           rect.setAttribute('class', className);
-          var parentOfText = node.parentNode.parentNode;
           addItems.push({
               "parent": node.parentNode,
               "target": rect});
@@ -150,7 +149,9 @@ var Documentation = {
     this.fixFirefoxAnchorBug();
     this.highlightSearchWords();
     this.initIndexTable();
-    
+    if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) {
+      this.initOnKeyListeners();
+    }
   },
 
   /**
@@ -310,4 +311,4 @@ _ = Documentation.gettext;
 
 $(document).ready(function() {
   Documentation.init();
-});
\ No newline at end of file
+});

Modified: incubator/singa/site/trunk/en/_static/documentation_options.js
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/documentation_options.js?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/documentation_options.js (original)
+++ incubator/singa/site/trunk/en/_static/documentation_options.js Sun Apr 21 
13:56:42 2019
@@ -1,9 +1,10 @@
 var DOCUMENTATION_OPTIONS = {
-    URL_ROOT: '',
+    URL_ROOT: 
document.getElementById("documentation_options").getAttribute('data-url_root'),
     VERSION: '1.1.0',
     LANGUAGE: 'None',
     COLLAPSE_INDEX: false,
     FILE_SUFFIX: '.html',
     HAS_SOURCE: true,
-    SOURCELINK_SUFFIX: '.txt'
+    SOURCELINK_SUFFIX: '.txt',
+    NAVIGATION_WITH_KEYS: false
 };
\ No newline at end of file

Modified: incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Bold.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Bold.ttf?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Regular.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Regular.ttf?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
Binary files - no diff available.

Added: incubator/singa/site/trunk/en/_static/fonts/Inconsolata.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Inconsolata.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Inconsolata.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bold.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/Lato/lato-bolditalic.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-italic.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato/lato-regular.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2?rev=1857911&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/singa/site/trunk/en/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/singa/site/trunk/en/_static/js/theme.js
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/js/theme.js?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/js/theme.js (original)
+++ incubator/singa/site/trunk/en/_static/js/theme.js Sun Apr 21 13:56:42 2019
@@ -1 +1,3 @@
-require=function r(s,a,l){function c(i,n){if(!a[i]){if(!s[i]){var 
e="function"==typeof require&&require;if(!n&&e)return e(i,!0);if(u)return 
u(i,!0);var t=new Error("Cannot find module '"+i+"'");throw 
t.code="MODULE_NOT_FOUND",t}var 
o=a[i]={exports:{}};s[i][0].call(o.exports,function(n){var e=s[i][1][n];return 
c(e||n)},o,o.exports,r,s,a,l)}return a[i].exports}for(var u="function"==typeof 
require&&require,n=0;n<l.length;n++)c(l[n]);return 
c}({"sphinx-rtd-theme":[function(n,e,i){var jQuery="undefined"!=typeof 
window?window.jQuery:n("jquery");e.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(e){var
 i=this;"undefined"==typeof 
withStickNav&&(e=!0),i.isRunning||(i.isRunning=!0,jQuery(function(n){i.init(n),i.reset(),i.win.on("hashchange",i.reset),e&&i.win.on("scroll",function(){i.linkScroll||i.winScroll||(i.winScroll=!0,requestAnimationFrame(function(){i.onScroll()}))}),i.win.on("resize",
 
function(){i.winResize||(i.winResize=!0,requestAnimationFrame(function(){i.onResize()}))}),i.onResize()}))},enableSticky:function(){this.enable(!0)},init:function(i){i(document);var
 
t=this;this.navBar=i("div.wy-side-scroll:first"),this.win=i(window),i(document).on("click","[data-toggle='wy-nav-top']",function(){i("[data-toggle='wy-nav-shift']").toggleClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift")}).on("click",".wy-menu-vertical
 .current ul li a",function(){var 
n=i(this);i("[data-toggle='wy-nav-shift']").removeClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift"),t.toggleCurrent(n),t.hashChange()}).on("click","[data-toggle='rst-current-version']",function(){i("[data-toggle='rst-versions']").toggleClass("shift-up")}),i("table.docutils:not(.field-list,.footnote,.citation)").wrap("<div
 class='wy-table-responsive'></div>"),i("table.docutils.footnote").wrap("<div 
class='wy-table-responsive 
footnote'></div>"),i("table.docutils.citation").wrap("<div cl
 ass='wy-table-responsive citation'></div>"),i(".wy-menu-vertical 
ul").not(".simple").siblings("a").each(function(){var e=i(this);expand=i('<span 
class="toctree-expand"></span>'),expand.on("click",function(n){return 
t.toggleCurrent(e),n.stopPropagation(),!1}),e.prepend(expand)})},reset:function(){var
 n=encodeURI(window.location.hash)||"#";try{var 
e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var 
t=$('.document 
[id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}0<i.length&&($(".wy-menu-vertical
 
.current").removeClass("current"),i.addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l1").parent().addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l2").addClass("current"),i.closest("li.toctree-l3").addClass("current"),i.closest("li.toctree-l4").addClass("current"))}catch(o){console.log("Error
 expanding nav for anch
 or",o)}},onScroll:function(){this.winScroll=!1;var 
n=this.win.scrollTop(),e=n+this.winHeight,i=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(i),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(n){var
 
e=n.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find(">
 ul 
li.current").removeClass("current"),e.toggleClass("current")}},"undefined"!=typeof
 
window&&(window.SphinxRtdTheme={Navigation:e.exports.ThemeNav,StickyNav:e.exports.ThemeNav}),function(){for(var
 
r=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[
 
n[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n,e){var
 i=(new 
Date).getTime(),t=Math.max(0,16-(i-r)),o=window.setTimeout(function(){n(i+t)},t);return
 
r=i+t,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}()},{jquery:"jquery"}]},{},["sphinx-rtd-theme"]);
\ No newline at end of file
+/* sphinx_rtd_theme version 0.4.3 | MIT license */
+/* Built 20190212 16:02 */
+require=function r(s,a,l){function c(e,n){if(!a[e]){if(!s[e]){var 
i="function"==typeof require&&require;if(!n&&i)return i(e,!0);if(u)return 
u(e,!0);var t=new Error("Cannot find module '"+e+"'");throw 
t.code="MODULE_NOT_FOUND",t}var 
o=a[e]={exports:{}};s[e][0].call(o.exports,function(n){return 
c(s[e][1][n]||n)},o,o.exports,r,s,a,l)}return a[e].exports}for(var 
u="function"==typeof require&&require,n=0;n<l.length;n++)c(l[n]);return 
c}({"sphinx-rtd-theme":[function(n,e,i){var jQuery="undefined"!=typeof 
window?window.jQuery:n("jquery");e.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(e){var
 i=this;void 
0===e&&(e=!0),i.isRunning||(i.isRunning=!0,jQuery(function(n){i.init(n),i.reset(),i.win.on("hashchange",i.reset),e&&i.win.on("scroll",function(){i.linkScroll||i.winScroll||(i.winScroll=!0,requestAnimationFrame(function(){i.onScroll()}))}),i.win.on("resize",function(){i.winResize||(i.win
 
Resize=!0,requestAnimationFrame(function(){i.onResize()}))}),i.onResize()}))},enableSticky:function(){this.enable(!0)},init:function(i){i(document);var
 
t=this;this.navBar=i("div.wy-side-scroll:first"),this.win=i(window),i(document).on("click","[data-toggle='wy-nav-top']",function(){i("[data-toggle='wy-nav-shift']").toggleClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift")}).on("click",".wy-menu-vertical
 .current ul li a",function(){var 
n=i(this);i("[data-toggle='wy-nav-shift']").removeClass("shift"),i("[data-toggle='rst-versions']").toggleClass("shift"),t.toggleCurrent(n),t.hashChange()}).on("click","[data-toggle='rst-current-version']",function(){i("[data-toggle='rst-versions']").toggleClass("shift-up")}),i("table.docutils:not(.field-list,.footnote,.citation)").wrap("<div
 class='wy-table-responsive'></div>"),i("table.docutils.footnote").wrap("<div 
class='wy-table-responsive 
footnote'></div>"),i("table.docutils.citation").wrap("<div 
class='wy-table-responsive citat
 ion'></div>"),i(".wy-menu-vertical 
ul").not(".simple").siblings("a").each(function(){var e=i(this);expand=i('<span 
class="toctree-expand"></span>'),expand.on("click",function(n){return 
t.toggleCurrent(e),n.stopPropagation(),!1}),e.prepend(expand)})},reset:function(){var
 n=encodeURI(window.location.hash)||"#";try{var 
e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var 
t=$('.document 
[id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}0<i.length&&($(".wy-menu-vertical
 
.current").removeClass("current"),i.addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l1").parent().addClass("current"),i.closest("li.toctree-l1").addClass("current"),i.closest("li.toctree-l2").addClass("current"),i.closest("li.toctree-l3").addClass("current"),i.closest("li.toctree-l4").addClass("current"),i[0].scrollIntoView())}catch(o){console.log("Error
 expanding nav for anchor",o)}}
 ,onScroll:function(){this.winScroll=!1;var 
n=this.win.scrollTop(),e=n+this.winHeight,i=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(i),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(n){var
 
e=n.closest("li");e.siblings("li.current").removeClass("current"),e.siblings().find("li.current").removeClass("current"),e.find(">
 ul 
li.current").removeClass("current"),e.toggleClass("current")}},"undefined"!=typeof
 
window&&(window.SphinxRtdTheme={Navigation:e.exports.ThemeNav,StickyNav:e.exports.ThemeNav}),function(){for(var
 
r=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[n[e]+"Ca
 
ncelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n,e){var
 i=(new 
Date).getTime(),t=Math.max(0,16-(i-r)),o=window.setTimeout(function(){n(i+t)},t);return
 
r=i+t,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(n){clearTimeout(n)})}()},{jquery:"jquery"}]},{},["sphinx-rtd-theme"]);
\ No newline at end of file

Added: incubator/singa/site/trunk/en/_static/language_data.js
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/language_data.js?rev=1857911&view=auto
==============================================================================
--- incubator/singa/site/trunk/en/_static/language_data.js (added)
+++ incubator/singa/site/trunk/en/_static/language_data.js Sun Apr 21 13:56:42 
2019
@@ -0,0 +1,297 @@
+/*
+ * language_data.js
+ * ~~~~~~~~~~~~~~~~
+ *
+ * This script contains the language-specific data used by searchtools.js,
+ * namely the list of stopwords, stemmer, scorer and splitter.
+ *
+ * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+
+var stopwords = 
["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
+
+
+/* Non-minified version JS is _stemmer.js if file is provided */ 
+/**
+ * Porter Stemmer
+ */
+var Stemmer = function() {
+
+  var step2list = {
+    ational: 'ate',
+    tional: 'tion',
+    enci: 'ence',
+    anci: 'ance',
+    izer: 'ize',
+    bli: 'ble',
+    alli: 'al',
+    entli: 'ent',
+    eli: 'e',
+    ousli: 'ous',
+    ization: 'ize',
+    ation: 'ate',
+    ator: 'ate',
+    alism: 'al',
+    iveness: 'ive',
+    fulness: 'ful',
+    ousness: 'ous',
+    aliti: 'al',
+    iviti: 'ive',
+    biliti: 'ble',
+    logi: 'log'
+  };
+
+  var step3list = {
+    icate: 'ic',
+    ative: '',
+    alize: 'al',
+    iciti: 'ic',
+    ical: 'ic',
+    ful: '',
+    ness: ''
+  };
+
+  var c = "[^aeiou]";          // consonant
+  var v = "[aeiouy]";          // vowel
+  var C = c + "[^aeiouy]*";    // consonant sequence
+  var V = v + "[aeiou]*";      // vowel sequence
+
+  var mgr0 = "^(" + C + ")?" + V + C;                      // [C]VC... is m>0
+  var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$";    // [C]VC[V] is m=1
+  var mgr1 = "^(" + C + ")?" + V + C + V + C;              // [C]VCVC... is m>1
+  var s_v   = "^(" + C + ")?" + v;                         // vowel in stem
+
+  this.stemWord = function (w) {
+    var stem;
+    var suffix;
+    var firstch;
+    var origword = w;
+
+    if (w.length < 3)
+      return w;
+
+    var re;
+    var re2;
+    var re3;
+    var re4;
+
+    firstch = w.substr(0,1);
+    if (firstch == "y")
+      w = firstch.toUpperCase() + w.substr(1);
+
+    // Step 1a
+    re = /^(.+?)(ss|i)es$/;
+    re2 = /^(.+?)([^s])s$/;
+
+    if (re.test(w))
+      w = w.replace(re,"$1$2");
+    else if (re2.test(w))
+      w = w.replace(re2,"$1$2");
+
+    // Step 1b
+    re = /^(.+?)eed$/;
+    re2 = /^(.+?)(ed|ing)$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      re = new RegExp(mgr0);
+      if (re.test(fp[1])) {
+        re = /.$/;
+        w = w.replace(re,"");
+      }
+    }
+    else if (re2.test(w)) {
+      var fp = re2.exec(w);
+      stem = fp[1];
+      re2 = new RegExp(s_v);
+      if (re2.test(stem)) {
+        w = stem;
+        re2 = /(at|bl|iz)$/;
+        re3 = new RegExp("([^aeiouylsz])\\1$");
+        re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+        if (re2.test(w))
+          w = w + "e";
+        else if (re3.test(w)) {
+          re = /.$/;
+          w = w.replace(re,"");
+        }
+        else if (re4.test(w))
+          w = w + "e";
+      }
+    }
+
+    // Step 1c
+    re = /^(.+?)y$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      stem = fp[1];
+      re = new RegExp(s_v);
+      if (re.test(stem))
+        w = stem + "i";
+    }
+
+    // Step 2
+    re = 
/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      stem = fp[1];
+      suffix = fp[2];
+      re = new RegExp(mgr0);
+      if (re.test(stem))
+        w = stem + step2list[suffix];
+    }
+
+    // Step 3
+    re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      stem = fp[1];
+      suffix = fp[2];
+      re = new RegExp(mgr0);
+      if (re.test(stem))
+        w = stem + step3list[suffix];
+    }
+
+    // Step 4
+    re = 
/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
+    re2 = /^(.+?)(s|t)(ion)$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      stem = fp[1];
+      re = new RegExp(mgr1);
+      if (re.test(stem))
+        w = stem;
+    }
+    else if (re2.test(w)) {
+      var fp = re2.exec(w);
+      stem = fp[1] + fp[2];
+      re2 = new RegExp(mgr1);
+      if (re2.test(stem))
+        w = stem;
+    }
+
+    // Step 5
+    re = /^(.+?)e$/;
+    if (re.test(w)) {
+      var fp = re.exec(w);
+      stem = fp[1];
+      re = new RegExp(mgr1);
+      re2 = new RegExp(meq1);
+      re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+      if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
+        w = stem;
+    }
+    re = /ll$/;
+    re2 = new RegExp(mgr1);
+    if (re.test(w) && re2.test(w)) {
+      re = /.$/;
+      w = w.replace(re,"");
+    }
+
+    // and turn initial Y back to y
+    if (firstch == "y")
+      w = firstch.toLowerCase() + w.substr(1);
+    return w;
+  }
+}
+
+
+
+
+
+var splitChars = (function() {
+    var result = {};
+    var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 
1014, 1648,
+         1748, 1809, 2416, 2473, 2481, 2526, 2601, 2609, 2612, 2615, 2653, 
2702,
+         2706, 2729, 2737, 2740, 2857, 2865, 2868, 2910, 2928, 2948, 2961, 
2971,
+         2973, 3085, 3089, 3113, 3124, 3213, 3217, 3241, 3252, 3295, 3341, 
3345,
+         3369, 3506, 3516, 3633, 3715, 3721, 3736, 3744, 3748, 3750, 3756, 
3761,
+         3781, 3912, 4239, 4347, 4681, 4695, 4697, 4745, 4785, 4799, 4801, 
4823,
+         4881, 5760, 5901, 5997, 6313, 7405, 8024, 8026, 8028, 8030, 8117, 
8125,
+         8133, 8181, 8468, 8485, 8487, 8489, 8494, 8527, 11311, 11359, 11687, 
11695,
+         11703, 11711, 11719, 11727, 11735, 12448, 12539, 43010, 43014, 43019, 
43587,
+         43696, 43713, 64286, 64297, 64311, 64317, 64319, 64322, 64325, 65141];
+    var i, j, start, end;
+    for (i = 0; i < singles.length; i++) {
+        result[singles[i]] = true;
+    }
+    var ranges = [[0, 47], [58, 64], [91, 94], [123, 169], [171, 177], [182, 
184], [706, 709],
+         [722, 735], [741, 747], [751, 879], [888, 889], [894, 901], [1154, 
1161],
+         [1318, 1328], [1367, 1368], [1370, 1376], [1416, 1487], [1515, 1519], 
[1523, 1568],
+         [1611, 1631], [1642, 1645], [1750, 1764], [1767, 1773], [1789, 1790], 
[1792, 1807],
+         [1840, 1868], [1958, 1968], [1970, 1983], [2027, 2035], [2038, 2041], 
[2043, 2047],
+         [2070, 2073], [2075, 2083], [2085, 2087], [2089, 2307], [2362, 2364], 
[2366, 2383],
+         [2385, 2391], [2402, 2405], [2419, 2424], [2432, 2436], [2445, 2446], 
[2449, 2450],
+         [2483, 2485], [2490, 2492], [2494, 2509], [2511, 2523], [2530, 2533], 
[2546, 2547],
+         [2554, 2564], [2571, 2574], [2577, 2578], [2618, 2648], [2655, 2661], 
[2672, 2673],
+         [2677, 2692], [2746, 2748], [2750, 2767], [2769, 2783], [2786, 2789], 
[2800, 2820],
+         [2829, 2830], [2833, 2834], [2874, 2876], [2878, 2907], [2914, 2917], 
[2930, 2946],
+         [2955, 2957], [2966, 2968], [2976, 2978], [2981, 2983], [2987, 2989], 
[3002, 3023],
+         [3025, 3045], [3059, 3076], [3130, 3132], [3134, 3159], [3162, 3167], 
[3170, 3173],
+         [3184, 3191], [3199, 3204], [3258, 3260], [3262, 3293], [3298, 3301], 
[3312, 3332],
+         [3386, 3388], [3390, 3423], [3426, 3429], [3446, 3449], [3456, 3460], 
[3479, 3481],
+         [3518, 3519], [3527, 3584], [3636, 3647], [3655, 3663], [3674, 3712], 
[3717, 3718],
+         [3723, 3724], [3726, 3731], [3752, 3753], [3764, 3772], [3774, 3775], 
[3783, 3791],
+         [3802, 3803], [3806, 3839], [3841, 3871], [3892, 3903], [3949, 3975], 
[3980, 4095],
+         [4139, 4158], [4170, 4175], [4182, 4185], [4190, 4192], [4194, 4196], 
[4199, 4205],
+         [4209, 4212], [4226, 4237], [4250, 4255], [4294, 4303], [4349, 4351], 
[4686, 4687],
+         [4702, 4703], [4750, 4751], [4790, 4791], [4806, 4807], [4886, 4887], 
[4955, 4968],
+         [4989, 4991], [5008, 5023], [5109, 5120], [5741, 5742], [5787, 5791], 
[5867, 5869],
+         [5873, 5887], [5906, 5919], [5938, 5951], [5970, 5983], [6001, 6015], 
[6068, 6102],
+         [6104, 6107], [6109, 6111], [6122, 6127], [6138, 6159], [6170, 6175], 
[6264, 6271],
+         [6315, 6319], [6390, 6399], [6429, 6469], [6510, 6511], [6517, 6527], 
[6572, 6592],
+         [6600, 6607], [6619, 6655], [6679, 6687], [6741, 6783], [6794, 6799], 
[6810, 6822],
+         [6824, 6916], [6964, 6980], [6988, 6991], [7002, 7042], [7073, 7085], 
[7098, 7167],
+         [7204, 7231], [7242, 7244], [7294, 7400], [7410, 7423], [7616, 7679], 
[7958, 7959],
+         [7966, 7967], [8006, 8007], [8014, 8015], [8062, 8063], [8127, 8129], 
[8141, 8143],
+         [8148, 8149], [8156, 8159], [8173, 8177], [8189, 8303], [8306, 8307], 
[8314, 8318],
+         [8330, 8335], [8341, 8449], [8451, 8454], [8456, 8457], [8470, 8472], 
[8478, 8483],
+         [8506, 8507], [8512, 8516], [8522, 8525], [8586, 9311], [9372, 9449], 
[9472, 10101],
+         [10132, 11263], [11493, 11498], [11503, 11516], [11518, 11519], 
[11558, 11567],
+         [11622, 11630], [11632, 11647], [11671, 11679], [11743, 11822], 
[11824, 12292],
+         [12296, 12320], [12330, 12336], [12342, 12343], [12349, 12352], 
[12439, 12444],
+         [12544, 12548], [12590, 12592], [12687, 12689], [12694, 12703], 
[12728, 12783],
+         [12800, 12831], [12842, 12880], [12896, 12927], [12938, 12976], 
[12992, 13311],
+         [19894, 19967], [40908, 40959], [42125, 42191], [42238, 42239], 
[42509, 42511],
+         [42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], 
[42736, 42774],
+         [42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], 
[43062, 43071],
+         [43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], 
[43260, 43263],
+         [43302, 43311], [43335, 43359], [43389, 43395], [43443, 43470], 
[43482, 43519],
+         [43561, 43583], [43596, 43599], [43610, 43615], [43639, 43641], 
[43643, 43647],
+         [43698, 43700], [43703, 43704], [43710, 43711], [43715, 43738], 
[43742, 43967],
+         [44003, 44015], [44026, 44031], [55204, 55215], [55239, 55242], 
[55292, 55295],
+         [57344, 63743], [64046, 64047], [64110, 64111], [64218, 64255], 
[64263, 64274],
+         [64280, 64284], [64434, 64466], [64830, 64847], [64912, 64913], 
[64968, 65007],
+         [65020, 65135], [65277, 65295], [65306, 65312], [65339, 65344], 
[65371, 65381],
+         [65471, 65473], [65480, 65481], [65488, 65489], [65496, 65497]];
+    for (i = 0; i < ranges.length; i++) {
+        start = ranges[i][0];
+        end = ranges[i][1];
+        for (j = start; j <= end; j++) {
+            result[j] = true;
+        }
+    }
+    return result;
+})();
+
+function splitQuery(query) {
+    var result = [];
+    var start = -1;
+    for (var i = 0; i < query.length; i++) {
+        if (splitChars[query.charCodeAt(i)]) {
+            if (start !== -1) {
+                result.push(query.slice(start, i));
+                start = -1;
+            }
+        } else if (start === -1) {
+            start = i;
+        }
+    }
+    if (start !== -1) {
+        result.push(query.slice(start));
+    }
+    return result;
+}
+
+

Modified: incubator/singa/site/trunk/en/_static/searchtools.js
URL: 
http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/searchtools.js?rev=1857911&r1=1857910&r2=1857911&view=diff
==============================================================================
--- incubator/singa/site/trunk/en/_static/searchtools.js (original)
+++ incubator/singa/site/trunk/en/_static/searchtools.js Sun Apr 21 13:56:42 
2019
@@ -1,331 +1,54 @@
 /*
- * searchtools.js_t
+ * searchtools.js
  * ~~~~~~~~~~~~~~~~
  *
  * Sphinx JavaScript utilities for the full-text search.
  *
- * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
 
-
-/* Non-minified version JS is _stemmer.js if file is provided */ 
-/**
- * Porter Stemmer
- */
-var Stemmer = function() {
-
-  var step2list = {
-    ational: 'ate',
-    tional: 'tion',
-    enci: 'ence',
-    anci: 'ance',
-    izer: 'ize',
-    bli: 'ble',
-    alli: 'al',
-    entli: 'ent',
-    eli: 'e',
-    ousli: 'ous',
-    ization: 'ize',
-    ation: 'ate',
-    ator: 'ate',
-    alism: 'al',
-    iveness: 'ive',
-    fulness: 'ful',
-    ousness: 'ous',
-    aliti: 'al',
-    iviti: 'ive',
-    biliti: 'ble',
-    logi: 'log'
-  };
-
-  var step3list = {
-    icate: 'ic',
-    ative: '',
-    alize: 'al',
-    iciti: 'ic',
-    ical: 'ic',
-    ful: '',
-    ness: ''
+if (!Scorer) {
+  /**
+   * Simple result scoring code.
+   */
+  var Scorer = {
+    // Implement the following function to further tweak the score for each 
result
+    // The function takes a result array [filename, title, anchor, descr, 
score]
+    // and returns the new score.
+    /*
+    score: function(result) {
+      return result[4];
+    },
+    */
+
+    // query matches the full name of an object
+    objNameMatch: 11,
+    // or matches in the last dotted part of the object name
+    objPartialMatch: 6,
+    // Additive scores depending on the priority of the object
+    objPrio: {0:  15,   // used to be importantResults
+              1:  5,   // used to be objectResults
+              2: -5},  // used to be unimportantResults
+    //  Used when the priority is not in the mapping.
+    objPrioDefault: 0,
+
+    // query found in title
+    title: 15,
+    partialTitle: 7,
+    // query found in terms
+    term: 5,
+    partialTerm: 2
   };
-
-  var c = "[^aeiou]";          // consonant
-  var v = "[aeiouy]";          // vowel
-  var C = c + "[^aeiouy]*";    // consonant sequence
-  var V = v + "[aeiou]*";      // vowel sequence
-
-  var mgr0 = "^(" + C + ")?" + V + C;                      // [C]VC... is m>0
-  var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$";    // [C]VC[V] is m=1
-  var mgr1 = "^(" + C + ")?" + V + C + V + C;              // [C]VCVC... is m>1
-  var s_v   = "^(" + C + ")?" + v;                         // vowel in stem
-
-  this.stemWord = function (w) {
-    var stem;
-    var suffix;
-    var firstch;
-    var origword = w;
-
-    if (w.length < 3)
-      return w;
-
-    var re;
-    var re2;
-    var re3;
-    var re4;
-
-    firstch = w.substr(0,1);
-    if (firstch == "y")
-      w = firstch.toUpperCase() + w.substr(1);
-
-    // Step 1a
-    re = /^(.+?)(ss|i)es$/;
-    re2 = /^(.+?)([^s])s$/;
-
-    if (re.test(w))
-      w = w.replace(re,"$1$2");
-    else if (re2.test(w))
-      w = w.replace(re2,"$1$2");
-
-    // Step 1b
-    re = /^(.+?)eed$/;
-    re2 = /^(.+?)(ed|ing)$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      re = new RegExp(mgr0);
-      if (re.test(fp[1])) {
-        re = /.$/;
-        w = w.replace(re,"");
-      }
-    }
-    else if (re2.test(w)) {
-      var fp = re2.exec(w);
-      stem = fp[1];
-      re2 = new RegExp(s_v);
-      if (re2.test(stem)) {
-        w = stem;
-        re2 = /(at|bl|iz)$/;
-        re3 = new RegExp("([^aeiouylsz])\\1$");
-        re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
-        if (re2.test(w))
-          w = w + "e";
-        else if (re3.test(w)) {
-          re = /.$/;
-          w = w.replace(re,"");
-        }
-        else if (re4.test(w))
-          w = w + "e";
-      }
-    }
-
-    // Step 1c
-    re = /^(.+?)y$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      stem = fp[1];
-      re = new RegExp(s_v);
-      if (re.test(stem))
-        w = stem + "i";
-    }
-
-    // Step 2
-    re = 
/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      stem = fp[1];
-      suffix = fp[2];
-      re = new RegExp(mgr0);
-      if (re.test(stem))
-        w = stem + step2list[suffix];
-    }
-
-    // Step 3
-    re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      stem = fp[1];
-      suffix = fp[2];
-      re = new RegExp(mgr0);
-      if (re.test(stem))
-        w = stem + step3list[suffix];
-    }
-
-    // Step 4
-    re = 
/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
-    re2 = /^(.+?)(s|t)(ion)$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      stem = fp[1];
-      re = new RegExp(mgr1);
-      if (re.test(stem))
-        w = stem;
-    }
-    else if (re2.test(w)) {
-      var fp = re2.exec(w);
-      stem = fp[1] + fp[2];
-      re2 = new RegExp(mgr1);
-      if (re2.test(stem))
-        w = stem;
-    }
-
-    // Step 5
-    re = /^(.+?)e$/;
-    if (re.test(w)) {
-      var fp = re.exec(w);
-      stem = fp[1];
-      re = new RegExp(mgr1);
-      re2 = new RegExp(meq1);
-      re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
-      if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
-        w = stem;
-    }
-    re = /ll$/;
-    re2 = new RegExp(mgr1);
-    if (re.test(w) && re2.test(w)) {
-      re = /.$/;
-      w = w.replace(re,"");
-    }
-
-    // and turn initial Y back to y
-    if (firstch == "y")
-      w = firstch.toLowerCase() + w.substr(1);
-    return w;
-  }
 }
 
-
-
-/**
- * Simple result scoring code.
- */
-var Scorer = {
-  // Implement the following function to further tweak the score for each 
result
-  // The function takes a result array [filename, title, anchor, descr, score]
-  // and returns the new score.
-  /*
-  score: function(result) {
-    return result[4];
-  },
-  */
-
-  // query matches the full name of an object
-  objNameMatch: 11,
-  // or matches in the last dotted part of the object name
-  objPartialMatch: 6,
-  // Additive scores depending on the priority of the object
-  objPrio: {0:  15,   // used to be importantResults
-            1:  5,   // used to be objectResults
-            2: -5},  // used to be unimportantResults
-  //  Used when the priority is not in the mapping.
-  objPrioDefault: 0,
-
-  // query found in title
-  title: 15,
-  // query found in terms
-  term: 5
-};
-
-
-
-
-
-var splitChars = (function() {
-    var result = {};
-    var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 
1014, 1648,
-         1748, 1809, 2416, 2473, 2481, 2526, 2601, 2609, 2612, 2615, 2653, 
2702,
-         2706, 2729, 2737, 2740, 2857, 2865, 2868, 2910, 2928, 2948, 2961, 
2971,
-         2973, 3085, 3089, 3113, 3124, 3213, 3217, 3241, 3252, 3295, 3341, 
3345,
-         3369, 3506, 3516, 3633, 3715, 3721, 3736, 3744, 3748, 3750, 3756, 
3761,
-         3781, 3912, 4239, 4347, 4681, 4695, 4697, 4745, 4785, 4799, 4801, 
4823,
-         4881, 5760, 5901, 5997, 6313, 7405, 8024, 8026, 8028, 8030, 8117, 
8125,
-         8133, 8181, 8468, 8485, 8487, 8489, 8494, 8527, 11311, 11359, 11687, 
11695,
-         11703, 11711, 11719, 11727, 11735, 12448, 12539, 43010, 43014, 43019, 
43587,
-         43696, 43713, 64286, 64297, 64311, 64317, 64319, 64322, 64325, 65141];
-    var i, j, start, end;
-    for (i = 0; i < singles.length; i++) {
-        result[singles[i]] = true;
-    }
-    var ranges = [[0, 47], [58, 64], [91, 94], [123, 169], [171, 177], [182, 
184], [706, 709],
-         [722, 735], [741, 747], [751, 879], [888, 889], [894, 901], [1154, 
1161],
-         [1318, 1328], [1367, 1368], [1370, 1376], [1416, 1487], [1515, 1519], 
[1523, 1568],
-         [1611, 1631], [1642, 1645], [1750, 1764], [1767, 1773], [1789, 1790], 
[1792, 1807],
-         [1840, 1868], [1958, 1968], [1970, 1983], [2027, 2035], [2038, 2041], 
[2043, 2047],
-         [2070, 2073], [2075, 2083], [2085, 2087], [2089, 2307], [2362, 2364], 
[2366, 2383],
-         [2385, 2391], [2402, 2405], [2419, 2424], [2432, 2436], [2445, 2446], 
[2449, 2450],
-         [2483, 2485], [2490, 2492], [2494, 2509], [2511, 2523], [2530, 2533], 
[2546, 2547],
-         [2554, 2564], [2571, 2574], [2577, 2578], [2618, 2648], [2655, 2661], 
[2672, 2673],
-         [2677, 2692], [2746, 2748], [2750, 2767], [2769, 2783], [2786, 2789], 
[2800, 2820],
-         [2829, 2830], [2833, 2834], [2874, 2876], [2878, 2907], [2914, 2917], 
[2930, 2946],
-         [2955, 2957], [2966, 2968], [2976, 2978], [2981, 2983], [2987, 2989], 
[3002, 3023],
-         [3025, 3045], [3059, 3076], [3130, 3132], [3134, 3159], [3162, 3167], 
[3170, 3173],
-         [3184, 3191], [3199, 3204], [3258, 3260], [3262, 3293], [3298, 3301], 
[3312, 3332],
-         [3386, 3388], [3390, 3423], [3426, 3429], [3446, 3449], [3456, 3460], 
[3479, 3481],
-         [3518, 3519], [3527, 3584], [3636, 3647], [3655, 3663], [3674, 3712], 
[3717, 3718],
-         [3723, 3724], [3726, 3731], [3752, 3753], [3764, 3772], [3774, 3775], 
[3783, 3791],
-         [3802, 3803], [3806, 3839], [3841, 3871], [3892, 3903], [3949, 3975], 
[3980, 4095],
-         [4139, 4158], [4170, 4175], [4182, 4185], [4190, 4192], [4194, 4196], 
[4199, 4205],
-         [4209, 4212], [4226, 4237], [4250, 4255], [4294, 4303], [4349, 4351], 
[4686, 4687],
-         [4702, 4703], [4750, 4751], [4790, 4791], [4806, 4807], [4886, 4887], 
[4955, 4968],
-         [4989, 4991], [5008, 5023], [5109, 5120], [5741, 5742], [5787, 5791], 
[5867, 5869],
-         [5873, 5887], [5906, 5919], [5938, 5951], [5970, 5983], [6001, 6015], 
[6068, 6102],
-         [6104, 6107], [6109, 6111], [6122, 6127], [6138, 6159], [6170, 6175], 
[6264, 6271],
-         [6315, 6319], [6390, 6399], [6429, 6469], [6510, 6511], [6517, 6527], 
[6572, 6592],
-         [6600, 6607], [6619, 6655], [6679, 6687], [6741, 6783], [6794, 6799], 
[6810, 6822],
-         [6824, 6916], [6964, 6980], [6988, 6991], [7002, 7042], [7073, 7085], 
[7098, 7167],
-         [7204, 7231], [7242, 7244], [7294, 7400], [7410, 7423], [7616, 7679], 
[7958, 7959],
-         [7966, 7967], [8006, 8007], [8014, 8015], [8062, 8063], [8127, 8129], 
[8141, 8143],
-         [8148, 8149], [8156, 8159], [8173, 8177], [8189, 8303], [8306, 8307], 
[8314, 8318],
-         [8330, 8335], [8341, 8449], [8451, 8454], [8456, 8457], [8470, 8472], 
[8478, 8483],
-         [8506, 8507], [8512, 8516], [8522, 8525], [8586, 9311], [9372, 9449], 
[9472, 10101],
-         [10132, 11263], [11493, 11498], [11503, 11516], [11518, 11519], 
[11558, 11567],
-         [11622, 11630], [11632, 11647], [11671, 11679], [11743, 11822], 
[11824, 12292],
-         [12296, 12320], [12330, 12336], [12342, 12343], [12349, 12352], 
[12439, 12444],
-         [12544, 12548], [12590, 12592], [12687, 12689], [12694, 12703], 
[12728, 12783],
-         [12800, 12831], [12842, 12880], [12896, 12927], [12938, 12976], 
[12992, 13311],
-         [19894, 19967], [40908, 40959], [42125, 42191], [42238, 42239], 
[42509, 42511],
-         [42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], 
[42736, 42774],
-         [42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], 
[43062, 43071],
-         [43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], 
[43260, 43263],
-         [43302, 43311], [43335, 43359], [43389, 43395], [43443, 43470], 
[43482, 43519],
-         [43561, 43583], [43596, 43599], [43610, 43615], [43639, 43641], 
[43643, 43647],
-         [43698, 43700], [43703, 43704], [43710, 43711], [43715, 43738], 
[43742, 43967],
-         [44003, 44015], [44026, 44031], [55204, 55215], [55239, 55242], 
[55292, 55295],
-         [57344, 63743], [64046, 64047], [64110, 64111], [64218, 64255], 
[64263, 64274],
-         [64280, 64284], [64434, 64466], [64830, 64847], [64912, 64913], 
[64968, 65007],
-         [65020, 65135], [65277, 65295], [65306, 65312], [65339, 65344], 
[65371, 65381],
-         [65471, 65473], [65480, 65481], [65488, 65489], [65496, 65497]];
-    for (i = 0; i < ranges.length; i++) {
-        start = ranges[i][0];
-        end = ranges[i][1];
-        for (j = start; j <= end; j++) {
-            result[j] = true;
-        }
-    }
-    return result;
-})();
-
-function splitQuery(query) {
-    var result = [];
-    var start = -1;
-    for (var i = 0; i < query.length; i++) {
-        if (splitChars[query.charCodeAt(i)]) {
-            if (start !== -1) {
-                result.push(query.slice(start, i));
-                start = -1;
-            }
-        } else if (start === -1) {
-            start = i;
-        }
-    }
-    if (start !== -1) {
-        result.push(query.slice(start));
-    }
-    return result;
+if (!splitQuery) {
+  function splitQuery(query) {
+    return query.split(/\s+/);
+  }
 }
 
-
-
-
 /**
  * Search Module
  */
@@ -335,6 +58,14 @@ var Search = {
   _queued_query : null,
   _pulse_status : -1,
 
+  htmlToText : function(htmlString) {
+      var htmlElement = document.createElement('span');
+      htmlElement.innerHTML = htmlString;
+      $(htmlElement).find('.headerlink').remove();
+      docContent = $(htmlElement).find('[role=main]')[0];
+      return docContent.textContent || docContent.innerText;
+  },
+
   init : function() {
       var params = $.getQueryParameters();
       if (params.q) {
@@ -399,7 +130,7 @@ var Search = {
     this.out = $('#search-results');
     this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out);
     this.dots = $('<span></span>').appendTo(this.title);
-    this.status = $('<p style="display: none"></p>').appendTo(this.out);
+    this.status = $('<p class="search-summary">&nbsp;</p>').appendTo(this.out);
     this.output = $('<ul class="search"/>').appendTo(this.out);
 
     $('#search-progress').text(_('Preparing search...'));
@@ -417,7 +148,6 @@ var Search = {
    */
   query : function(query) {
     var i;
-    var stopwords = 
["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
 
     // stem the searchterms and add them to the correct list
     var stemmer = new Stemmer();
@@ -539,11 +269,7 @@ var Search = {
             displayNextItem();
           });
         } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
-          var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX;
-          if (suffix === undefined) {
-            suffix = '.txt';
-          }
-          $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] 
+ (item[5].slice(-suffix.length) === suffix ? '' : suffix),
+          $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + 
DOCUMENTATION_OPTIONS.FILE_SUFFIX,
                   dataType: "text",
                   complete: function(jqxhr, textstatus) {
                     var data = jqxhr.responseText;
@@ -665,6 +391,19 @@ var Search = {
         {files: terms[word], score: Scorer.term},
         {files: titleterms[word], score: Scorer.title}
       ];
+      // add support for partial matches
+      if (word.length > 2) {
+        for (var w in terms) {
+          if (w.match(word) && !terms[word]) {
+            _o.push({files: terms[w], score: Scorer.partialTerm})
+          }
+        }
+        for (var w in titleterms) {
+          if (w.match(word) && !titleterms[word]) {
+              _o.push({files: titleterms[w], score: Scorer.partialTitle})
+          }
+        }
+      }
 
       // no match but word was a required one
       if ($u.every(_o, function(o){return o.files === undefined;})) {
@@ -704,8 +443,12 @@ var Search = {
       var valid = true;
 
       // check if all requirements are matched
-      if (fileMap[file].length != searchterms.length)
-          continue;
+      var filteredTermCount = // as search terms with length < 3 are 
discarded: ignore
+        searchterms.filter(function(term){return term.length > 2}).length
+      if (
+        fileMap[file].length != searchterms.length &&
+        fileMap[file].length != filteredTermCount
+      ) continue;
 
       // ensure that none of the excluded terms is in the search result
       for (i = 0; i < excluded.length; i++) {
@@ -736,7 +479,8 @@ var Search = {
    * words. the first one is used to find the occurrence, the
    * latter for highlighting it.
    */
-  makeSearchSummary : function(text, keywords, hlwords) {
+  makeSearchSummary : function(htmlText, keywords, hlwords) {
+    var text = Search.htmlToText(htmlText);
     var textLower = text.toLowerCase();
     var start = 0;
     $.each(keywords, function() {
@@ -758,4 +502,4 @@ var Search = {
 
 $(document).ready(function() {
   Search.init();
-});
\ No newline at end of file
+});


Reply via email to