Added: incubator/singa/site/trunk/zh/_sources/develop/contribute-code.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/develop/contribute-code.md.txt?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_sources/develop/contribute-code.md.txt (added) +++ incubator/singa/site/trunk/zh/_sources/develop/contribute-code.md.txt Tue May 8 15:05:16 2018 @@ -0,0 +1,48 @@ +## å¦ä½è´¡ç®ä»£ç + + +### 代ç 飿 ¼ + +SINGA 代ç åºéµå¾ª [Google C++ 飿 ¼æå¯¼](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml). + +å¦ææ³æ£æ¥ä½ çä»£ç æ¯å¦ç¬¦å飿 ¼, ä½ å¯ä»¥ç¨å¦ä¸ cpplint å·¥å ·: + + $ ./tool/cpplint.py YOUR_FILE + + +### JIRA æ ¼å¼ + +åå ¶ä» Apache 项ç®ä¸æ ·ï¼SINGA ä½¿ç¨ JIRA æ¥è¿½è¸ªéè¯¯ï¼æ¹è¿åå ¶ä»é«å±è®¨è®ºï¼ä¾å¦ï¼ç³»ç»è®¾è®¡ååè½). +Github pull requests ç¨äºå®æ½è®¨è®ºï¼ä¾å¦ä»£ç 审æ¥å代ç åå¹¶. + +* æä¾ä¸ä¸ªæè¿°æ§æ é¢. +* åä¸ä¸ªè¯¦ç»çæè¿°. 对äºé误æ¥åï¼è¿åºè¯¥æå¥½å æ¬ä¸ä¸ªé®é¢ççæåç°. å¯¹äºæ°åè½ï¼å®å¯è½å å«ä¸ä¸ªè®¾è®¡ææ¡£. +* å¡«å[å¿ å¡«åæ®µ](https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark#ContributingtoSpark-JIRA) + +### Pull Request + +工使µç¨æ¯ + +* Fork [SINGA Github repository](https://github.com/apache/incubator-singa) å°ä½ èªå·±ç Github 叿·. + +* Clone ä½ èªå·±ç fork, å建ä¸ä¸ªæ°ç branch (ä¾å¦, feature-foo or fixbug-foo), + è¿è¡è¿é¡¹å·¥ä½. å®æä½ çå·¥ä½åï¼ + [rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) +å®å°å½åææ°ç master å¹¶ push commits å°ä½ èªå·±ç Github 叿· (æ° branch). + +* é对 apache / incubator-singa ç master branch æå¼ä¸ä¸ª pull request. +PR æ é¢åºè¯¥æ¯ SINGA-xxxx çæ ¼å¼ï¼å ¶ä¸ SINGA-xxxx æ¯ç¸å ³çJIRAç¼å·ï¼ +æ é¢å¯ä»¥æ¯ JIRA çæ é¢ææè¿° PR æ¬èº«çæ´å ·ä½çæ é¢, ä¾å¦ï¼"SINGA-6 Implement thread-safe singleton". +è¯¦ç»æè¿°å¯ä»¥ä» JIRA å¤å¶. +èèç¡®å®æäº¤è æè å¨è¢«æ¹åç代ç å·¥ä½çå ¶ä»è´¡ç®è . å¨ Github 䏿¾å°æä»¶å¹¶ç¹å» "Blame" æ¥çæåä¿®æ¹äºä»£ç çéè¡æ³¨é. æ¨å¯ä»¥å¨ä¸æ·»å 嫿 @username ç pull request æè¿°å¹¶ç«å³ ping ä»ä»¬. +请说æä½ çååä½ååè´¡ç®å¹¶ä¸æ¨æ ¹æ®é¡¹ç®ç弿ºè®¸å¯è¯å°å·¥ä½è®¸å¯ç»é¡¹ç®. +è¿ä¸æ¥åä½ çæ°åæ¯è¿è¡çæäº¤(ä¾å¦é误修å¤)ä¼è¢« Github èªå¨æ·»å å°è¿ä¸ª pull request. + +* çå¾ ä¸ä¸ªæäº¤è æ¥ç该补ä¸. å¦ææ²¡æå²çªï¼æäº¤è ä¼å°å ¶ä¸ master branch åå¹¶. +åå¹¶åºè¯¥ a) ä¸ç¨ rebase b) ç¦ç¨ fast forward merge c) æ£æ¥æäº¤æ¶æ¯æ ¼å¼å¹¶æµè¯ä»£ç /åè½. + +* 妿æå¤ªå¤çå°æäº¤ä¿¡æ¯ï¼ä½ ä¼è¢«åç¥å°ä½ çæäº¤åç¼©ææ´å°çææä¹çæäº¤. +妿æ¨çæäº¤ä¿¡æ¯ä¸ç¬¦åæ ¼å¼ (å¦ SINGA-xxxx), ä½ ä¼è¢«åç¥éæ°æäº¤ä½ çæäº¤ä¿¡æ¯. +è¿ä¸¤ä¸ªæ´æ¹é½å¯ä»¥ä½¿ç¨äº¤äºå¼ git rebase. 䏿¦ä½ å¾å°äºæ´æ£çæäº¤ï¼ +忬¡å°å®ä»¬æ¨éå°ä½ èªå·±ç github. ä½ ç pull request ä¼èªå¨æ´æ°. +详æ 请åé [Rebase Pull Requests](https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request).
Added: incubator/singa/site/trunk/zh/_sources/develop/how-contribute.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/develop/how-contribute.md.txt?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_sources/develop/how-contribute.md.txt (added) +++ incubator/singa/site/trunk/zh/_sources/develop/how-contribute.md.txt Tue May 8 15:05:16 2018 @@ -0,0 +1,9 @@ +# å¦ä½è´¡ç®ç» SINGA + +ä¸ä»»ä½å¼æºé¡¹ç®ä¸æ ·, ä½ å¯ä»¥ä»¥å¤ç§æ¹å¼å¸®å©: + +* å å ¥æä»¬ç[é®ä»¶å表](http://singa.apache.org/en/community/mail-lists.html) å¹¶ä¸åçå ¶ä»ç¨æ·çé®é¢. +* èªå·±[ç¼è¯çæ SINGA](http://singa.apache.org/en/docs/installation.html). +* æ¥åé误, åè½è¯·æ±ä»¥åå ¶ä»é®é¢ï¼å¨[é®é¢è¿½è¸ª](http://singa.apache.org/en/community/issue-tracking.html)é. +* æ£æ¥SINGAç[å¼åæ¥ç¨è¡¨](http://singa.apache.org/en/develop/schedule.html)以åéè¿æä¾è¡¥ä¸[è´¡ç®ä»£ç ](http://singa.apache.org/en/develop/contribute-code.html). +* éè¿æ´æ°ç¼ºå¤±æä¸æ¸ æ¥ç½é¡µ[帮å©åææ¡£](http://singa.apache.org/en/develop/contribute-docs.html). Added: incubator/singa/site/trunk/zh/_sources/develop/schedule.rst.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/develop/schedule.rst.txt?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_sources/develop/schedule.rst.txt (added) +++ incubator/singa/site/trunk/zh/_sources/develop/schedule.rst.txt Tue May 8 15:05:16 2018 @@ -0,0 +1,66 @@ +.. 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. + + +å¼åæ¶é´è¡¨ +==================== + +.. csv-table:: + :header: "çæ¬","模å","ç¹æ§" + + "v0.1 2015 乿 ","ç¥ç»ç½ç» ","ååä¼ æç¥ç»ç½ç», å æ¬ CNN, MLP " + " "," ","ç±» RBM 模å, å æ¬ RBM " + " "," ","循ç¯ç¥ç»ç½ç», å æ¬æ å RNN " + " ","æ¶æ ","å¨åèç¹è¿è¡ä¸ä¸ªå·¥ä½ç» (å æ¬åå) " + " "," ","å¨åèç¹è¿è¡å¤ä¸ªå·¥ä½ç», ç¨ `Hogwild <http://www.eecs.berkeley.edu/~brecht/papers/hogwildTR.pdf>`_ " + " "," ","åå¸å¼ Hogwild" + " "," ","è·¨å¤èç¹è¿è¡å¤ä¸ªå·¥ä½ç» , å¦ `Downpour <http://papers.nips.cc/paper/4687-large-scale-distritbuted-deep-networks>`_" + " "," ","All-Reduce è®ç»æ¶æå¦ `DeepImage <http://arxiv.org/abs/1501.02876>`_ " + " "," ","æå¡å¨é´è´è½½åè¡¡ " + " ","失败æ¢å¤ ","æ£æ¥ç¹åæ¢å¤ " + " ","å·¥å · ","ç¨ GNU èªå¨å·¥å ·å®è£ " + "v0.2 2016 䏿 ","ç¥ç»ç½ç» ","ååä¼ æç¥ç»ç½ç», å æ¬ AlexNet, cuDNN å±, å·¥å · " + " "," ","循ç¯ç¥ç»ç½ç», å æ¬ GRU å±å BPTT " + " "," ","模ååååæ··ååå " + " ","å·¥å · ","èå Mesos èµæºç®¡ç " + " "," ","åå¤é¨ç½² Docker images" + " "," ","å¯è§åç¥ç»ç½ç»åè°è¯ä¿¡æ¯" + " ","ç»å® ","主è¦ç»ä»¶ Python ç»å®" + " ","GPU ","åèç¹å¤ä¸ª GPU " + "v0.3 2016 åæ ","GPU ","å¤ä¸ªèç¹, æ¯ä¸ªå å«å¤ä¸ª GPU" + " "," ","ç¨ GPU å CPU æ··åè®ç» `CcT <http://arxiv.org/abs/1504.04343>`_" + " "," ","æ¯æ cuDNN v4 " + " ","å®è£ ","å é¤ ZeroMQ, CZMQ ä¾èµ, åèç¹è®ç» zookeeper" + " ","ä¼åå¨ ","æ·»å æ°ç SGD ä¼åå¨ï¼å æ¬ Adam, AdamMax å AdaDelta" + " ","ç»å® ","å¢å¼º Python ç»å®è®ç»" + "v1.0 2016 乿 ","æ¨¡åæ½è±¡ ","Tensor åºäºçº¿æ§ä»£æ°, ç¥ç»ç½ç»åéæºè¿ç®" + " "," ","åå¸å¼åæ°æ´æ°ä¼åå¨" + " ","硬件 ","ä½¿ç¨ Cuda å Cudnn for Nvidia GPU" + " "," ","ä½¿ç¨ OpenCL for AMD GPU åå ¶ä»è®¾å¤" + " ","è·¨å¹³å° ","ä» Linux æ©å±å° MacOS" + " "," ","大åå¾å模å, ä¾å¦, `VGG <https://arxiv.org/pdf/1409.1556.pdf>`_ å `Residual Net <http://arxiv.org/abs/1512.03385>`_" + "v1.1 2017 䏿 ","模ååº ","GoogleNet; å»çå¥åº·æ¨¡å" + " ","Caffe 转æ¢å¨ ","ä½¿ç¨ SINGA è®ç»æ¨¡å, ä» caffe proto æä»¶é ç½®" + " ","模åç»ä»¶ ","æ·»å concat å slice å±; æ¥åå¤ä¸ªè¾å ¥ç½ç»" + " ","ç¼è¯åå®è£ ","Windows æ¯æ" + " "," ","éè¿ä¸ protobuf å openblas ä¸èµ·ç¼è¯ SINGA ç®åå®è£ " + " "," ","ç¨ Jenkins èªå¨çæ python wheel" + " "," ","ä» Debian packages å®è£ SINGA" + "v1.2 2017 åæ ","Numpy API ","ä¾ç § numpy API å®ç° PySINGA ç tensor 模åç彿°" + " ","åå¸å¼è®ç» ","ä» V0.3 ç§»æ¤åå¸å¼è®ç»æ¡æ¶" + " ","å åä¼å ","ç¨æ°å åæ± æ¿ä»£ CNMEM 以åå°å åæ¶è" + " ","æ§è¡ä¼å ","æ§è¡è°åº¦åè¿è¡æ¶ä¼å" Added: incubator/singa/site/trunk/zh/_sources/docs.rst.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/docs.rst.txt?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_sources/docs.rst.txt (added) +++ incubator/singa/site/trunk/zh/_sources/docs.rst.txt Tue May 8 15:05:16 2018 @@ -0,0 +1,23 @@ +.. 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. + + +ææ¡£ +============= + +.. toctree:: + docs/index Added: incubator/singa/site/trunk/zh/_sources/downloads.md.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/downloads.md.txt?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_sources/downloads.md.txt (added) +++ incubator/singa/site/trunk/zh/_sources/downloads.md.txt Tue May 8 15:05:16 2018 @@ -0,0 +1,109 @@ +## ä¸è½½ SINGA + +* ææ°ç代ç : è¯·ä» [Github](https://github.com/apache/incubator-singa) ç dev branch è¿è¡ clone + +* v1.1.0 (2017å¹´2æ12æ¥): + * [Apache SINGA 1.1.0](http://www.apache.org/dyn/closer.cgi/incubator/singa/1.1.0/apache-singa-incubating-1.1.0.tar.gz) + [\[MD5\]](https://dist.apache.org/repos/dist/release/incubator/singa/1.1.0/apache-singa-incubating-1.1.0.tar.gz.md5) + [\[KEYS\]](https://dist.apache.org/repos/dist/release/incubator/singa/1.1.0/KEYS) + * [åè¡è¯´æ 1.1.0](releases/RELEASE_NOTES_1.1.0.html) + * æ°åè½åä¸»è¦æ´æ°, + * å建 Docker éåï¼CPUåGPUçæ¬ï¼ + * 为 SINGA å建 Amazon AMIï¼CPUçæ¬ï¼ + * ä¸ Jenkins éæä»¥èªå¨çæ Wheel å Debian 软件å ï¼ç¨äºå®è£ ï¼ï¼å¹¶æ´æ°ç½ç«. + * å¢å¼º FeedFowardNet, ä¾å¦ï¼ç¨äºè°è¯çå¤è¾å ¥åè¯¦ç»æ¨¡å¼ + * æ·»å Concat å Slice å± + * æ©å± CrossEntropyLoss 以æ¥åå ·æå¤ä¸ªæ ç¾çå®ä¾ + * æ·»å image_tool.py ä¸å¾åå¢å¼ºæ¹æ³ + * éè¿ Snapshot API æ¯ææ¨¡åå è½½åä¿å + * å¨ Windows ä¸ç¼è¯ SINGA æºä»£ç + * ç¨ SINGA 代ç ç¼è¯å¼ºå¶ä¾èµåº + * å¯ç¨ SââINGA ç Java ç»å®ï¼åºæ¬ï¼ + * 卿£æ¥ç¹æä»¶ä¸æ·»å çæ¬ ID + * æ·»å Rafiki å·¥å ·å 以æä¾ RESTFul API + * æ·»å Caffe é¢è®ç»çä¾åï¼å æ¬ GoogleNet + + + +* v1.0.0 (2016å¹´9æ8æ¥): + * [Apache SINGA 1.0.0](https://archive.apache.org/dist/incubator/singa/1.0.0/apache-singa-incubating-1.0.0.tar.gz) + [\[MD5\]](https://archive.apache.org/dist/incubator/singa/1.0.0/apache-singa-incubating-1.0.0.tar.gz.md5) + [\[KEYS\]](https://archive.apache.org/dist/incubator/singa//1.0.0/KEYS) + * [åè¡è¯´æ 1.0.0](releases/RELEASE_NOTES_1.0.0.html) + * æ°åè½åä¸»è¦æ´æ°, + * ç¨äºæ¯ææ´å¤æºå¨å¦ä¹ 模åçå¼ éæ½è±¡. + * è®¾å¤æ½è±¡è¿è¡å¨ä¸åç硬件设å¤ä¸ï¼å æ¬CPUï¼ï¼Nvidia / AMDï¼GPU å FPGAï¼å°å¨æ´é«çæ¬ä¸æµè¯ï¼. + * ç¨ cmake æ¿æ¢ GNU autotool è¿è¡ç¼è¯. + * æ¯æ Mac OS + * æ¹è¿Pythonç»å®ï¼å æ¬å®è£ åç¼ç¨ + * æ´å¤æ·±åº¦å¦ä¹ 模å, å æ¬ VGG å ResNet + * 读å/åå ¥æä»¶åç¼ç /è§£ç æ°æ®çæ´å¤ IO ç±» + * ç´æ¥åºäº Socket çæ°ç½ç»éä¿¡ç»ä»¶. + * å å« Dropout å RNN å±ç Cudnn V5. + * å°ç½ç«å¶ä½å·¥å ·ä» maven æ¿æ¢ä¸º Sphinx + * æ´å Travis-CI + + +* v0.3.0 (2016å¹´4æ20æ¥): + * [Apache SINGA 0.3.0](https://archive.apache.org/dist/incubator/singa/0.3.0/apache-singa-incubating-0.3.0.tar.gz) + [\[MD5\]](https://archive.apache.org/dist/incubator/singa/0.3.0/apache-singa-incubating-0.3.0.tar.gz.md5) + [\[KEYS\]](https://archive.apache.org/dist/incubator/singa/0.3.0/KEYS) + * [åè¡è¯´æ 0.3.0](releases/RELEASE_NOTES_0.3.0.html) + * æ°åè½åä¸»è¦æ´æ°, + * [å¨ GPU é群ä¸](v0.3.0/gpu.html) å¯ä»¥å¨ GPU é群ä¸è®ç»æ·±åº¦å¦ä¹ 模å. + * [Python å è£ å¨çæ¹è¿](v0.3.0/python.html) 使å¾é 置工ä½åå¾å¾å®¹æ, å æ¬ç¥ç»ç½ç»å SGD ç®æ³. + * [æ°å¢ SGD æ´æ°å¨](v0.3.0/updater.html), å æ¬ Adam, AdaDelta å AdaMax. + * [å®è£ ](v0.3.0/installation.html) å ·æè¾å°çç¸å ³åºï¼ 对äºåèç¹å¹è®. + * å¨ CPU å GPU ä¸è¿è¡å¼æè®ç». + * æ¯æ cuDNN V4. + * æ°æ®é¢è¯»å. + * ä¿®å¤ä¸äºé误. + + + +* v0.2.0 (2016å¹´1æ14æ¥): + * [Apache SINGA 0.2.0](https://archive.apache.org/dist/incubator/singa/0.2.0/apache-singa-incubating-0.2.0.tar.gz) + [\[MD5\]](https://archive.apache.org/dist/incubator/singa/0.2.0/apache-singa-incubating-0.2.0.tar.gz.md5) + [\[KEYS\]](https://archive.apache.org/dist/incubator/singa/0.2.0/KEYS) + * [åè¡è¯´æ 0.2.0](releases/RELEASE_NOTES_0.2.0.html) + * æ°åè½åä¸»è¦æ´æ°, + * [å¨ GPU ä¸è¿è¡è®ç»](v0.2.0/gpu.html) å¯ä»¥å¨å ·æå¤ä¸ª GPU å¡çå个èç¹ä¸å¯¹å¤ææ¨¡åè¿è¡è®ç». + * [æ··åç¥ç»ç½ç»åå](v0.2.0/hybrid.html) åæ¶æ¯ææ°æ®å模åå¹¶è¡. + * [Python å è£ å¨](v0.2.0/python.html) å¯ä»¥å¾å®¹æå°é ç½®ä½ä¸ï¼å æ¬ç¥ç»ç½ç»å SGD ç®æ³. + * [RNN 模åå BPTT ç®æ³](v0.2.0/general-rnn.html) å®ç°å¹¶æ¯æåºäº RNN 模åçåºç¨ï¼ä¾å¦ GRU. + * [äºè½¯ä»¶éæ](v0.2.0/distributed-training.html) å æ¬ Mesosï¼Docker å HDFS. + * å¯è§åç¥ç»ç½ç»ç»æåå±ä¿¡æ¯ï¼æå©äºè°è¯. + * 线æ§ä»£æ°å½æ°åé对 Blob ååå§æ°æ®æéçéæºå½æ°. + * æ°å±ï¼å æ¬ Softmax å±ï¼ArgSort å±ï¼Dummy å±ï¼RNN å±å cuDNN å± + * æ´æ° Layer 类以æºå¸¦å¤ä¸ªæ°æ®/梯度 Blob. + * éè¿å è½½é¢è®ç»æ¨¡ååæ°æ¥æåæ°æ°æ®çç¹å¾åæµè¯æ§è½. + * 为 IO æä½æ·»å Store ç±». + + +* v0.1.0 (2015å¹´10æ8æ¥): + * [Apache SINGA 0.1.0](https://archive.apache.org/dist/incubator/singa/apache-singa-incubating-0.1.0.tar.gz) + [\[MD5\]](https://archive.apache.org/dist/incubator/singa/apache-singa-incubating-0.1.0.tar.gz.md5) + [\[KEYS\]](https://archive.apache.org/dist/incubator/singa/KEYS) + * [Amazon EC2 image](https://console.aws.amazon.com/ec2/v2/home?region=ap-southeast-1#LaunchInstanceWizard:ami=ami-b41001e6) + * [åè¡è¯´æ 0.1.0](releases/RELEASE_NOTES_0.1.0.html) + * 主è¦åè½å æ¬, + * ä½¿ç¨ GNU build ç¨åºè¿è¡å®è£ + * ç¨ zookeeper è¿è¡å·¥ä½ç®¡ççèæ¬ + * åºäºç¥ç»ç½ç»å屿½è±¡çç¼ç¨æ¨¡å. + * åºäº Workerï¼Server å Stub çç³»ç»ä½ç³»ç»æ. + * è®ç»ä¸ç§ä¸åç±»å«ç模åï¼å³å馿¨¡åï¼è½é模åå RNN 模å. + * ä½¿ç¨ CPU ç忥å弿¥åå¸å¼è®ç»æ¡æ¶ + * æ£æ¥ç¹åæ¢å¤ + * ä½¿ç¨ gtest è¿è¡åå æµè¯ + + +**å 责声æï¼è±æï¼** + +Apache SINGA is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the name of Apache Incubator PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the +ASF. Modified: incubator/singa/site/trunk/zh/_sources/index.rst.txt URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_sources/index.rst.txt?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== --- incubator/singa/site/trunk/zh/_sources/index.rst.txt (original) +++ incubator/singa/site/trunk/zh/_sources/index.rst.txt Tue May 8 15:05:16 2018 @@ -82,6 +82,36 @@ SINGA å ¥é¨ | |logo1| | |logo2| | |logo3| | |logo4| | +---------+---------+---------+---------+ +ææ¡£ +------------- + +* `è¿é <docs.html>`_ ååºäºææ¡£å Python API. +* `C++ APIs <http://www.comp.nus.edu.sg/~dbsystem/singa/api/>`_ ç± Doxygen çæ. +* ç ç©¶åºçç©æ¸ åå¯å¨ `æ¤å¤ <http://www.comp.nus.edu.sg/~dbsystem/singa/research/publication/>`_ æ¥é . + +å¦ä½è´¡ç® +---------------------- + +* è¯·è®¢é æä»¬çå¼åé®ä»¶å表 [email protected]. + +* 妿æ¨åç°ä½¿ç¨ SINGA çä»»ä½é®é¢ï¼è¯·å°å ¶æ¥åç» `Issue Tracker <https://issues.apache.org/jira/browse/singa>`_. + +* æ¨ä¹å¯ä»¥ç´æ¥èç³» `SINGA æäº¤è <community/team-list.html>`_. + +å ³äºæ´å¤æè¿°è´¡ç®SINGAçç»è, è§ `è¿é <develop/how-contribute.html>`_ . + +åå² +------------ + +2014å¹´ï¼SINGA ç±æ°å å¡å½ç«å¤§å¦ DB System Group 䏿µæ±å¤§å¦æ°æ®åºå¢éåä½åèµ·. +妿æ¨å¨ç ç©¶ä¸ä½¿ç¨ SINGAï¼è¯·å¼ç¨ä»¥ä¸ä¸¤ç¯è®ºæ: + +* B. C. Ooi, K.-L. Tan, S. Wang, W. Wang, Q. Cai, G. Chen, J. Gao, Z. Luo, A. K. H. Tung, Y. Wang, Z. Xie, M. Zhang, and K. Zheng. `SINGA: A distributed deep learning platform <http://www.comp.nus.edu.sg/~ooibc/singaopen-mm15.pdf>`_. ACM Multimedia (Open Source Software Competition) 2015 (`BibTex <http://www.comp.nus.edu.sg/~dbsystem/singa//assets/file/bib-oss.txt>`_). + +* W. Wang, G. Chen, T. T. A. Dinh, B. C. Ooi, K.-L.Tan, J. Gao, and S. Wang. `SINGA: putting deep learning in the hands of multimedia users <http://www.comp.nus.edu.sg/~ooibc/singa-mm15.pdf>`_. ACM Multimedia 2015 (`BibTex <http://www.comp.nus.edu.sg/~dbsystem/singa//assets/file/bib-singa.txt>`_, `Slides <files/mm2015.ppt>`_). + +è¯¸å¦ `ç½æ <http://tech.163.com/17/0602/17/CLUL016I00098GJ5.html>`_, `yzBigData <http://www.yzbigdata.com/en/index.html>`_ å `Shentilium <https://shentilium.com/>`_ çå ¬å¸æ£å¨ä½¿ç¨ SINGA ä½ä¸ºå ¶åºç¨ç¨åº. + .. toctree:: :hidden: @@ -91,7 +121,7 @@ SINGA å ¥é¨ .. toctree:: :hidden: :maxdepth: 2 - :caption: Development + :caption: å¼å develop/schedule develop/how-contribute @@ -101,7 +131,7 @@ SINGA å ¥é¨ .. toctree:: :hidden: :maxdepth: 2 - :caption: Community + :caption: ç¤¾åº community/source-repository community/mail-lists @@ -110,11 +140,11 @@ SINGA å ¥é¨ -License +许å¯è¯ ---------- -SINGA is released under `Apache License Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_. +SINGA å¨ `Apache License Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_ 许å¯è¯ä¸åå¸. -Disclaimers +å 责声æï¼è±æï¼ ----------- Apache SINGA is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. Modified: incubator/singa/site/trunk/zh/_static/basic.css URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/basic.css?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== --- incubator/singa/site/trunk/zh/_static/basic.css (original) +++ incubator/singa/site/trunk/zh/_static/basic.css Tue May 8 15:05:16 2018 @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -82,9 +82,21 @@ div.sphinxsidebar input { } div.sphinxsidebar #searchbox input[type="text"] { - width: 170px; + 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%; @@ -199,6 +211,11 @@ table.modindextable td { /* -- 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; @@ -332,6 +349,11 @@ table.docutils { border-collapse: collapse; } +table.align-center { + margin-left: auto; + margin-right: auto; +} + table caption span.caption-number { font-style: italic; } @@ -398,6 +420,13 @@ table.field-list td, table.field-list th margin: 0; } +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + /* -- other body styles ----------------------------------------------------- */ ol.arabic { @@ -438,10 +467,14 @@ dd { margin-left: 30px; } -dt:target, .highlighted { +dt:target, span.highlighted { background-color: #fbe54e; } +rect.highlighted { + fill: #fbe54e; +} + dl.glossary dt { font-weight: bold; font-size: 1.1em; Modified: incubator/singa/site/trunk/zh/_static/css/badge_only.css URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/css/badge_only.css?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== --- incubator/singa/site/trunk/zh/_static/css/badge_only.css (original) +++ incubator/singa/site/trunk/zh/_static/css/badge_only.css Tue May 8 15:05:16 2018 @@ -1,2 +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("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/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:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:"ï"}.icon-b ook: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;border-top:solid 10px #343131;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{co lor:#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 .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-align:right}.rst-versions.rs t-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}img{width:100%;height:auto}} -/*# sourceMappingURL=badge_only.css.map */ +.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;overflow-y:scroll;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:#fcf cfc}.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{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{te xt-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/zh/_static/css/theme.css URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/css/theme.css?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== --- incubator/singa/site/trunk/zh/_static/css/theme.css (original) +++ incubator/singa/site/trunk/zh/_static/css/theme.css Tue May 8 15:05:16 2018 @@ -1,5 +1,4 @@ -*{-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:0.2em 0;background:#ccc;color:#000;padding:0.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-shado w: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:0.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 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,.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.2.0 by @davegandy - http://fontawesome.io - @fontawesome +*{-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}/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) [... 4 lines stripped ...] Modified: incubator/singa/site/trunk/zh/_static/doctools.js URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/doctools.js?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== --- incubator/singa/site/trunk/zh/_static/doctools.js (original) +++ incubator/singa/site/trunk/zh/_static/doctools.js Tue May 8 15:05:16 2018 @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent; * it will always return arrays of strings for the value parts. */ jQuery.getQueryParameters = function(s) { - if (typeof s == 'undefined') + if (typeof s === 'undefined') s = document.location.search; var parts = s.substr(s.indexOf('?') + 1).split('&'); var result = {}; @@ -66,29 +66,55 @@ jQuery.getQueryParameters = function(s) * span elements with the given class name. */ jQuery.fn.highlightText = function(text, className) { - function highlight(node) { - if (node.nodeType == 3) { + 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)) { - var span = document.createElement("span"); - span.className = className; + 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 bbox = span.getBBox(); + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + 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}); + } } } else if (!jQuery(node).is("button, select, textarea")) { jQuery.each(node.childNodes, function() { - highlight(this); + highlight(this, addItems); }); } } - return this.each(function() { - highlight(this); + 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; }; /* @@ -131,21 +157,21 @@ var Documentation = { * i18n support */ TRANSLATIONS : {}, - PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + 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') + if (typeof translated === 'undefined') return string; - return (typeof translated == 'string') ? translated : translated[0]; + return (typeof translated === 'string') ? translated : translated[0]; }, ngettext : function(singular, plural, n) { var translated = Documentation.TRANSLATIONS[singular]; - if (typeof translated == 'undefined') + if (typeof translated === 'undefined') return (n == 1) ? singular : plural; return translated[Documentation.PLURALEXPR(n)]; }, @@ -180,7 +206,7 @@ var Documentation = { * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 */ fixFirefoxAnchorBug : function() { - if (document.location.hash) + if (document.location.hash && $.browser.mozilla) window.setTimeout(function() { document.location.href += ''; }, 10); @@ -216,7 +242,7 @@ var Documentation = { var src = $(this).attr('src'); var idnum = $(this).attr('id').substr(7); $('tr.cg-' + idnum).toggle(); - if (src.substr(-9) == 'minus.png') + 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'); @@ -248,7 +274,7 @@ var Documentation = { var path = document.location.pathname; var parts = path.split(/\//); $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { - if (this == '..') + if (this === '..') parts.pop(); }); var url = parts.join('/'); Added: incubator/singa/site/trunk/zh/_static/documentation_options.js URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/documentation_options.js?rev=1831195&view=auto ============================================================================== --- incubator/singa/site/trunk/zh/_static/documentation_options.js (added) +++ incubator/singa/site/trunk/zh/_static/documentation_options.js Tue May 8 15:05:16 2018 @@ -0,0 +1,9 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: '', + VERSION: '1.1.0', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt' +}; \ No newline at end of file Modified: incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Bold.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Bold.ttf?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Regular.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Inconsolata-Regular.ttf?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/singa/site/trunk/zh/_static/fonts/Lato-Bold.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Lato-Bold.ttf?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== Binary files - no diff available. Added: incubator/singa/site/trunk/zh/_static/fonts/Lato-BoldItalic.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Lato-BoldItalic.ttf?rev=1831195&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/zh/_static/fonts/Lato-BoldItalic.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/singa/site/trunk/zh/_static/fonts/Lato-Italic.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Lato-Italic.ttf?rev=1831195&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/singa/site/trunk/zh/_static/fonts/Lato-Italic.ttf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: incubator/singa/site/trunk/zh/_static/fonts/Lato-Regular.ttf URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/Lato-Regular.ttf?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/singa/site/trunk/zh/_static/fonts/fontawesome-webfont.eot URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/zh/_static/fonts/fontawesome-webfont.eot?rev=1831195&r1=1831194&r2=1831195&view=diff ============================================================================== Binary files - no diff available.
