Added: incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_0.3.0.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_0.3.0.md.txt?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_0.3.0.md.txt (added) +++ incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_0.3.0.md.txt Wed Apr 24 14:57:35 2019 @@ -0,0 +1,55 @@ +<!-- + 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. +--> +# singa-incubating-0.3.0 Release Notes + +--- + +SINGA is a general distributed deep learning platform for training big deep +learning models over large datasets. It is designed with an intuitive +programming model based on the layer abstraction. SINGA supports a wide variety +of popular deep learning models. + +This release includes following features: + + * GPU Support + * [SINGA-131] Implement and optimize hybrid training using both CPU and GPU + * [SINGA-136] Support cuDNN v4 + * [SINGA-134] Extend SINGA to run over a GPU cluster + * [SINGA-157] Change the priority of cudnn library and install libsingagpu.so + + * Remove Dependences + * [SINGA-156] Remove the dependency on ZMQ for single process training + * [SINGA-155] Remove zookeeper for single-process training + + * Python Binding + * [SINGA-126] Python Binding for Interactive Training + + * Other Improvements + * [SINGA-80] New Blob Level and Address Level Math Operation Interface + * [SINGA-130] Data Prefetching + * [SINGA-145] New SGD based optimization Updaters: AdaDelta, Adam, AdamMax + + * Bugs Fixed + * [SINGA-148] Race condition between Worker threads and Driver + * [SINGA-150] Mesos Docker container failed + * [SIGNA-141] Undesired Hash collision when locating process id to worker⦠+ * [SINGA-149] Docker build fail + * [SINGA-143] The compilation cannot detect libsingagpu.so file + +
Added: incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.0.0.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.0.0.md.txt?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.0.0.md.txt (added) +++ incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.0.0.md.txt Wed Apr 24 14:57:35 2019 @@ -0,0 +1,109 @@ +<!-- + 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. +--> +# singa-incubating-1.0.0 Release Notes + +--- + +SINGA is a general distributed deep learning platform for training big deep +learning models over large datasets. It is designed with an intuitive +programming model based on the layer abstraction. SINGA supports a wide variety +of popular deep learning models. + +This release includes following features: + + * Core abstractions including Tensor and Device + * [SINGA-207] Update Tensor functions for matrices + * [SINGA-205] Enable slice and concatenate operations for Tensor objects + * [SINGA-197] Add CNMem as a submodule in lib/ + * [SINGA-196] Rename class Blob to Block + * [SINGA-194] Add a Platform singleton + * [SINGA-175] Add memory management APIs and implement a subclass using CNMeM + * [SINGA-173] OpenCL Implementation + * [SINGA-171] Create CppDevice and CudaDevice + * [SINGA-168] Implement Cpp Math functions APIs + * [SINGA-162] Overview of features for V1.x + * [SINGA-165] Add cross-platform timer API to singa + * [SINGA-167] Add Tensor Math function APIs + * [SINGA-166] light built-in logging for making glog optional + * [SINGA-164] Add the base Tensor class + + + * IO components for file read/write, network and data pre-processing + * [SINGA-233] New communication interface + * [SINGA-215] Implement Image Transformation for Image Pre-processing + * [SINGA-214] Add LMDBReader and LMDBWriter for LMDB + * [SINGA-213] Implement Encoder and Decoder for CSV + * [SINGA-211] Add TextFileReader and TextFileWriter for CSV files + * [SINGA-210] Enable checkpoint and resume for v1.0 + * [SINGA-208] Add DataIter base class and a simple implementation + * [SINGA-203] Add OpenCV detection for cmake compilation + * [SINGA-202] Add reader and writer for binary file + * [SINGA-200] Implement Encoder and Decoder for data pre-processing + + + + * Module components including layer classes, training algorithms and Python binding + * [SINGA-235] Unify the engines for cudnn and singa layers + * [SINGA-230] OpenCL Convolution layer and Pooling layer + * [SINGA-222] Fixed bugs in IO + * [SINGA-218] Implementation for RNN CUDNN version + * [SINGA-204] Support the training of feed-forward neural nets + * [SINGA-199] Implement Python classes for SGD optimizers + * [SINGA-198] Change Layer::Setup API to include input Tensor shapes + * [SINGA-193] Add Python layers + * [SINGA-192] Implement optimization algorithms for SINGA v1 (nesterove, adagrad, rmsprop) + * [SINGA-191] Add "autotune" for CudnnConvolution Layer + * [SINGA-190] Add prelu layer and flatten layer + * [SINGA-189] Generate python outputs of proto files + * [SINGA-188] Add Dense layer + * [SINGA-187] Add popular parameter initialization methods + * [SINGA-186] Create Python Tensor class + * [SINGA-184] Add Cross Entropy loss computation + * [SINGA-183] Add the base classes for optimizer, constraint and regularizer + * [SINGA-180] Add Activation layer and Softmax layer + * [SINGA-178] Add Convolution layer and Pooling layer + * [SINGA-176] Add loss and metric base classes + * [SINGA-174] Add Batch Normalization layer and Local Response Nomalization layer. + * [SINGA-170] Add Dropout layer and CudnnDropout layer. + * [SINGA-169] Add base Layer class for V1.0 + + + * Examples + * [SINGA-232] Alexnet on Imagenet + * [SINGA-231] Batchnormlized VGG model for cifar-10 + * [SINGA-228] Add Cpp Version of Convolution and Pooling layer + * [SINGA-227] Add Split and Merge Layer and add ResNet Implementation + + * Documentation + * [SINGA-239] Transfer documentation files of v0.3.0 to github + * [SINGA-238] RBM on mnist + * [SINGA-225] Documentation for installation and Cifar10 example + * [SINGA-223] Use Sphinx to create the website + + * Tools for compilation and some utility code + * [SINGA-229] Complete install targets + * [SINGA-221] Support for Travis-CI + * [SINGA-217] build python package with setup.py + * [SINGA-216] add jenkins for CI support + * [SINGA-212] Disable the compilation of libcnmem if USE_CUDA is OFF + * [SINGA-195] Channel for sending training statistics + * [SINGA-185] Add CBLAS and GLOG detection for singav1 + * [SINGA-181] Add NVCC supporting for .cu files + * [SINGA-177] Add fully cmake supporting for the compilation of singa_v1 + * [SINGA-172] Add CMake supporting for Cuda and Cudnn libs Added: incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.1.0.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.1.0.md.txt?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.1.0.md.txt (added) +++ incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.1.0.md.txt Wed Apr 24 14:57:35 2019 @@ -0,0 +1,67 @@ +<!-- + 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. +--> +# singa-incubating-1.1.0 Release Notes + +--- + +SINGA is a general distributed deep learning platform for training big deep +learning models over large datasets. + +This release includes following features: + + * Core components + * [SINGA-296] Add sign and to_host function for pysinga tensor module + + * Model components + * [SINGA-254] Implement Adam for V1 + * [SINGA-264] Extend the FeedForwardNet to accept multiple inputs + * [SINGA-267] Add spatial mode in batch normalization layer + * [SINGA-271] Add Concat and Slice layers + * [SINGA-275] Add Cross Entropy Loss for multiple labels + * [SINGA-278] Convert trained caffe parameters to singa + * [SINGA-287] Add memory size check for cudnn convolution + + * Utility functions and CI + * [SINGA-242] Compile all source files into a single library. + * [SINGA-244] Separating swig interface and python binding files + * [SINGA-246] Imgtool for image augmentation + * [SINGA-247] Add windows support for singa + * [SINGA-251] Implement image loader for pysinga + * [SINGA-252] Use the snapshot methods to dump and load models for pysinga + * [SINGA-255] Compile mandatory dependent libaries together with SINGA code + * [SINGA-259] Add maven pom file for building java classes + * [SINGA-261] Add version ID into the checkpoint files + * [SINGA-266] Add Rafiki python toolkits + * [SINGA-273] Improve license and contributions + * [SINGA-284] Add python unittest into Jenkins and link static libs into whl file + * [SINGA-280] Jenkins CI support + * [SINGA-288] Publish wheel of PySINGA generated by Jenkins to public servers + + * Documentation and usability + * [SINGA-263] Create Amazon Machine Image + * [SINGA-268] Add IPython notebooks to the documentation + * [SINGA-276] Create docker images + * [SINGA-289] Update SINGA website automatically using Jenkins + * [SINGA-295] Add an example of image classification using GoogleNet + + * Bugs fixed + * [SINGA-245] float as the first operand can not multiply with a tensor object + * [SINGA-293] Bug from compiling PySINGA on Mac OS X with multiple version of Python + + Added: incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.2.0.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.2.0.md.txt?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.2.0.md.txt (added) +++ incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_1.2.0.md.txt Wed Apr 24 14:57:35 2019 @@ -0,0 +1,73 @@ +<!-- + 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. +--> +# singa-incubating-1.2.0 Release Notes + +--- + +SINGA is a general distributed deep learning platform for training big deep +learning models over large datasets. + +This release includes following features: + + * Core components + * [SINGA-290] Upgrade to Python 3 + * [SINGA-341] Added stride functionality to tensors for CPP + * [SINGA-347] Create a function that supports einsum + * [SINGA-351] Added stride support and cudnn codes to cuda + + * Model components + * [SINGA-300] Add residual networks for imagenet classification + * [SINGA-312] Rename layer parameters + * [SINGA-313] Add L2 norm layer + * [SINGA-315] Reduce memory footprint by Python generator for parameter + * [SINGA-316] Add SigmoidCrossEntropy + * [SINGA-324] Extend RNN layer to accept variant seq length across batches + * [SINGA-326] Add Inception V4 for ImageNet classification + * [SINGA-328] Add VGG models for ImageNet classification + * [SINGA-329] Support layer freezing during training (fine-tuning) + * [SINGA-346] Update cudnn from V5 to V7 + * [SINGA-349] Create layer operations for autograd + * [SINGA-363] Add DenseNet for Imagenet classification + + * Utility functions and CI + * [SINGA-274] Improve Debian packaging with CPack + * [SINGA-303] Create conda packages + * [SINGA-337] Add test cases for code + * [SINGA-348] Support autograd MLP Example + * [SINGA-345] Update Jenkins and fix bugs in compliation + * [SINGA-354] Update travis scripts to use conda-build for all platforms + * [SINGA-358] Consolidated RUN steps and cleaned caches in Docker containers + * [SINGA-359] Create alias for conda packages + + * Documentation and usability + * [SINGA-223] Fix side navigation menu in the website + * [SINGA-294] Add instructions to run CUDA unit tests on Windows + * [SINGA-305] Add jupyter notebooks for SINGA V1 tutorial + * [SINGA-319] Fix link errors on the index page + * [SINGA-352] Complete SINGA documentation in Chinese version + * [SINGA-361] Add git instructions for contributors and committers + + * Bugs fixed + * [SINGA-330] fix openblas building on i7 7700k + * [SINGA-331] Fix the bug of tensor division operation + * [SINGA-350] Error from python3 test + * [SINGA-356] Error using travis tool to build SINGA on mac os + * [SINGA-363] Fix some bugs in imagenet examples + * [SINGA-368] Fix the bug in Cifar10 examples + * [SINGA-369] the errors of examples in testing Added: incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_2.0.0.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_2.0.0.md.txt?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_2.0.0.md.txt (added) +++ incubator/singa/site/trunk/en/_sources/releases/RELEASE_NOTES_2.0.0.md.txt Wed Apr 24 14:57:35 2019 @@ -0,0 +1,64 @@ +<!-- + 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. +--> + +# singa-incubating-2.0.0 Release Notes + +--- + +SINGA is a general distributed deep learning platform for training big deep +learning models over large datasets. + +This release includes following features: + + * Core components + * [SINGA-434] Support tensor broadcasting + * [SINGA-370] Improvement to tensor reshape and various misc. changes related to SINGA-341 and 351 + + * Model components + * [SINGA-333] Add support for Open Neural Network Exchange (ONNX) format + * [SINGA-385] Add new python module for optimizers + * [SINGA-394] Improve the CPP operations via Intel MKL DNN lib + * [SINGA-425] Add 3 operators , Abs(), Exp() and leakyrelu(), for Autograd + * [SINGA-410] Add two function, set_params() and get_params(), for Autograd Layer class + * [SINGA-383] Add Separable Convolution for autograd + * [SINGA-388] Develop some RNN layers by calling tiny operations like matmul, addbias. + * [SINGA-382] Implement concat operation for autograd + * [SINGA-378] Implement maxpooling operation and its related functions for autograd + * [SINGA-379] Implement batchnorm operation and its related functions for autograd + + * Utility functions and CI + * [SINGA-432] Update depdent lib versions in conda-build config + * [SINGA-429] Update docker images for latest cuda and cudnn + * [SINGA-428] Move Docker images under Apache user name + + * Documentation and usability + * [SINGA-395] Add documentation for autograd APIs + * [SINGA-344] Add a GAN example + * [SINGA-390] Update installation.md + * [SINGA-384] Implement ResNet using autograd API + * [SINGA-352] Complete SINGA documentation in Chinese version + + + * Bugs fixed + * [SINGA-431] Unit Test failed - Tensor Transpose + * [SINGA-422] ModuleNotFoundError: No module named "_singa_wrap" + * [SINGA-418] Unsupportive type 'long' in python3. + * [SINGA-409] Basic `singa-cpu` import throws error + * [SINGA-408] Unsupportive function definition in python3 + * [SINGA-380] Fix bugs from Reshape Added: incubator/singa/site/trunk/en/_static/apache.png URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/apache.png?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/apache.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/en/_static/awsmp.gif URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/awsmp.gif?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/awsmp.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/en/_static/basic.css URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/basic.css?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_static/basic.css (added) +++ incubator/singa/site/trunk/en/_static/basic.css Wed Apr 24 14:57:35 2019 @@ -0,0 +1,748 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li div.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 450px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +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, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + +/* -- topics ---------------------------------------------------------------- */ + +div.topic { + border: 1px solid #ccc; + padding: 7px 7px 0 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +div.admonition dl { + margin-bottom: 0; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +table.footnote td, table.footnote th { + border: 0 !important; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +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 { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist td { + vertical-align: top; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +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:first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0.5em; + content: ":"; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; +} + +td.linenos pre { + padding: 5px 0px; + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + margin-left: 0.5em; +} + +table.highlighttable td { + padding: 0 0.5em 0 0.5em; +} + +div.code-block-caption { + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +div.code-block-caption + div > div.highlight > pre { + margin-top: 0; +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + padding: 1em 1em 0; +} + +div.literal-block-wrapper div.highlight { + margin: 0; +} + +code.descname { + background-color: transparent; + font-weight: bold; + font-size: 1.2em; +} + +code.descclassname { + background-color: transparent; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: relative; + left: 0px; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file Added: 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=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_static/css/badge_only.css (added) +++ incubator/singa/site/trunk/en/_static/css/badge_only.css Wed Apr 24 14:57:35 2019 @@ -0,0 +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%;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}} Added: 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=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_static/css/theme.css (added) +++ incubator/singa/site/trunk/en/_static/css/theme.css Wed Apr 24 14:57:35 2019 @@ -0,0 +1,6 @@ +/* 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) [... 2 lines stripped ...] Added: incubator/singa/site/trunk/en/_static/docker.png URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/docker.png?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/docker.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/en/_static/doctools.js URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/doctools.js?rev=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_static/doctools.js (added) +++ incubator/singa/site/trunk/en/_static/doctools.js Wed Apr 24 14:57:35 2019 @@ -0,0 +1,314 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for all documentation. + * + * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + +/** + * make the code below compatible with browsers without + * an installed firebug like debugger +if (!window.console || !console.firebug) { + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", + "profile", "profileEnd"]; + window.console = {}; + for (var i = 0; i < names.length; ++i) + window.console[names[i]] = function() {}; +} + */ + +/** + * small helper function to urldecode strings + */ +jQuery.urldecode = function(x) { + return decodeURIComponent(x).replace(/\+/g, ' '); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + 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); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} + +/** + * Small JavaScript module for the documentation. + */ +var Documentation = { + + init : function() { + this.fixFirefoxAnchorBug(); + this.highlightSearchWords(); + this.initIndexTable(); + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { + this.initOnKeyListeners(); + } + }, + + /** + * i18n support + */ + TRANSLATIONS : {}, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, + LOCALE : 'unknown', + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext : function(string) { + var translated = Documentation.TRANSLATIONS[string]; + if (typeof translated === 'undefined') + return string; + return (typeof translated === 'string') ? translated : translated[0]; + }, + + ngettext : function(singular, plural, n) { + var translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated === 'undefined') + return (n == 1) ? singular : plural; + return translated[Documentation.PLURALEXPR(n)]; + }, + + addTranslations : function(catalog) { + for (var key in catalog.messages) + this.TRANSLATIONS[key] = catalog.messages[key]; + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); + this.LOCALE = catalog.locale; + }, + + /** + * add context elements like header anchor links + */ + addContextElements : function() { + $('div[id] > :header:first').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this headline')). + appendTo(this); + }); + $('dt[id]').each(function() { + $('<a class="headerlink">\u00B6</a>'). + attr('href', '#' + this.id). + attr('title', _('Permalink to this definition')). + appendTo(this); + }); + }, + + /** + * workaround a firefox stupidity + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 + */ + fixFirefoxAnchorBug : function() { + if (document.location.hash && $.browser.mozilla) + window.setTimeout(function() { + document.location.href += ''; + }, 10); + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords : function() { + var params = $.getQueryParameters(); + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; + if (terms.length) { + var body = $('div.body'); + if (!body.length) { + body = $('body'); + } + window.setTimeout(function() { + $.each(terms, function() { + body.highlightText(this.toLowerCase(), 'highlighted'); + }); + }, 10); + $('<p class="highlight-link"><a href="javascript:Documentation.' + + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') + .appendTo($('#searchbox')); + } + }, + + /** + * init the domain index toggle buttons + */ + initIndexTable : function() { + var togglers = $('img.toggler').click(function() { + var src = $(this).attr('src'); + var idnum = $(this).attr('id').substr(7); + $('tr.cg-' + idnum).toggle(); + if (src.substr(-9) === 'minus.png') + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); + else + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); + }).css('display', ''); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { + togglers.click(); + } + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords : function() { + $('#searchbox .highlight-link').fadeOut(300); + $('span.highlighted').removeClass('highlighted'); + }, + + /** + * make the url absolute + */ + makeURL : function(relativeURL) { + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; + }, + + /** + * get the current relative url + */ + getCurrentURL : function() { + var path = document.location.pathname; + var parts = path.split(/\//); + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { + if (this === '..') + parts.pop(); + }); + var url = parts.join('/'); + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); + }, + + initOnKeyListeners: function() { + $(document).keyup(function(event) { + var activeElementType = document.activeElement.tagName; + // don't navigate when in search box or textarea + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { + switch (event.keyCode) { + case 37: // left + var prevHref = $('link[rel="prev"]').prop('href'); + if (prevHref) { + window.location.href = prevHref; + return false; + } + case 39: // right + var nextHref = $('link[rel="next"]').prop('href'); + if (nextHref) { + window.location.href = nextHref; + return false; + } + } + } + }); + } +}; + +// quick alias for translations +_ = Documentation.gettext; + +$(document).ready(function() { + Documentation.init(); +}); Added: 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=1858059&view=auto ============================================================================== --- incubator/singa/site/trunk/en/_static/documentation_options.js (added) +++ incubator/singa/site/trunk/en/_static/documentation_options.js Wed Apr 24 14:57:35 2019 @@ -0,0 +1,10 @@ +var DOCUMENTATION_OPTIONS = { + 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', + NAVIGATION_WITH_KEYS: false +}; \ No newline at end of file Added: incubator/singa/site/trunk/en/_static/file.png URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/file.png?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/file.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: 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=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Bold.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: 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=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/Inconsolata-Regular.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream 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=1858059&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-Bold.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato-Bold.ttf?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato-Bold.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/en/_static/fonts/Lato-Regular.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/Lato-Regular.ttf?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/Lato-Regular.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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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-Bold.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab-Bold.ttf?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/RobotoSlab-Bold.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/en/_static/fonts/RobotoSlab-Regular.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/RobotoSlab-Regular.ttf?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/RobotoSlab-Regular.ttf ------------------------------------------------------------------------------ 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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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=1858059&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 Added: incubator/singa/site/trunk/en/_static/fonts/fontawesome-webfont.eot URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/en/_static/fonts/fontawesome-webfont.eot?rev=1858059&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/en/_static/fonts/fontawesome-webfont.eot ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
