You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/06/08 19:14:21 UTC

[06/50] [abbrv] incubator-kylin git commit: doc-cn

doc-cn

Signed-off-by: Luke Han <lu...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/525cea2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/525cea2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/525cea2e

Branch: refs/heads/master
Commit: 525cea2ea9fb5f38c72d174e4467e72f620ae14b
Parents: 2e857e6
Author: Luwei Chen <ch...@hotmail.com>
Authored: Fri May 29 18:21:35 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Tue Jun 2 18:12:21 2015 +0800

----------------------------------------------------------------------
 docs/website/_includes/head.cn.html             |   4 +-
 docs/website/_includes/head.html                |   4 +-
 docs/website/_includes/header.cn.html           |   4 +-
 docs/website/_includes/header.html              |   2 +-
 docs/website/_includes/navside.cn.html          | 112 +++++++++++++++
 docs/website/_includes/navside.html             |  26 ++--
 docs/website/_layouts/blog.html                 |  45 ++++++
 docs/website/_layouts/docs-cn.html              |  43 ++++++
 docs/website/_layouts/docs.html                 |   7 +-
 docs/website/_layouts/post-blog.html            |  38 ++++++
 docs/website/_layouts/post-cn.html              |  38 ++++++
 docs/website/_layouts/post.html                 |   2 +-
 .../blog/2015-01-25-introduce-data-model.md     |   2 +-
 ...\211\350\243\205\346\214\207\345\215\227.md" |  60 ++++++++
 ...\213\345\272\217\346\225\231\347\250\213.md" |  30 ++++
 ...\233\345\273\272\346\225\231\347\250\213.md" | 125 +++++++++++++++++
 ...\221\346\216\247\346\225\231\347\250\213.md" |  63 +++++++++
 ...\210\344\272\210\346\225\231\347\250\213.md" |  30 ++++
 ...5\222\214Tableau\346\225\231\347\250\213.md" | 108 +++++++++++++++
 ...\265\347\211\210\346\225\231\347\250\213.md" | 136 +++++++++++++++++++
 docs/website/assets/css/docs.css                |  20 +++
 docs/website/assets/js/nnav.js                  |  16 +++
 docs/website/assets/js/nside.js                 |  13 ++
 docs/website/docs/index.cn.md                   |  90 ++++++++++++
 docs/website/docs/index.md                      |   4 +-
 25 files changed, 994 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/head.cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/head.cn.html b/docs/website/_includes/head.cn.html
index 36c3a0e..7da6820 100644
--- a/docs/website/_includes/head.cn.html
+++ b/docs/website/_includes/head.cn.html
@@ -63,5 +63,7 @@
 
 
 </script>
-
+<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/assets/js/nside.js"></script> </script>
+<script type="text/javascript" src="/assets/js/nnav.js"></script> </script>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/head.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/head.html b/docs/website/_includes/head.html
index 421b450..d4a74cb 100644
--- a/docs/website/_includes/head.html
+++ b/docs/website/_includes/head.html
@@ -63,5 +63,7 @@
 
 
 </script>
-
+<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/assets/js/nside.js"></script> </script>
+<script type="text/javascript" src="/assets/js/nnav.js"></script> </script>
 </head>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/header.cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/header.cn.html b/docs/website/_includes/header.cn.html
index 8ee7ebe..fc6da75 100644
--- a/docs/website/_includes/header.cn.html
+++ b/docs/website/_includes/header.cn.html
@@ -39,8 +39,8 @@
     <!-- Collect the nav links, forms, and other content for toggling -->
     <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
       <ul class="nav navbar-nav">
-     <li><a href="/cn"><b>首页</b></a></li>
-          <li><a href="/docs" >文档</a></li>
+     <li><a href="/cn">首页</a></li>
+          <li><a href="/cn/docs" >文档</a></li>
           <li><a href="/community" >社区</a></li>
           <li><a href="/blog">博客</li>
           <li><a href="/download">下载</li>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/header.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/header.html b/docs/website/_includes/header.html
index f264884..555633e 100644
--- a/docs/website/_includes/header.html
+++ b/docs/website/_includes/header.html
@@ -44,7 +44,7 @@
     <!-- Collect the nav links, forms, and other content for toggling -->
     <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
       <ul class="nav navbar-nav">
-     <li><a href="/"><b>Home</b></a></li>
+     <li><a href="/">Home</a></li>
           <li><a href="/docs" >Docs</a></li>
           <li><a href="/community" >Community</a></li>
           <li><a href="/blog">Blog</li>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/navside.cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/navside.cn.html b/docs/website/_includes/navside.cn.html
new file mode 100755
index 0000000..0717238
--- /dev/null
+++ b/docs/website/_includes/navside.cn.html
@@ -0,0 +1,112 @@
+<!--
+* 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.
+-->
+
+<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em">
+    <ul class="nav nav-pills nav-stacked">
+        {% for category in site.categories %}     <!-- categories -->
+        {% if category[0] == '入门' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">入门</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list1">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+
+        {% for category in site.categories %}
+        {% if category[0] == '安装' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">安装</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list2">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+
+        {% for category in site.categories %}
+        {% if category[0] == '教程' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">教程</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list3">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+
+        {% for category in site.categories %}
+        {% if category[0] == '开发' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">开发</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list4">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+
+        {% for category in site.categories %}
+        {% if category[0] == '如何' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">如何</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list5">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+
+
+        {% for category in site.categories %}
+        {% if category[0] == '系统api' %}
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">系统API</a></li>
+        <div class="collapse in" id="{{ category[0] }}">
+            <div class="list-group" id="list6">
+                <ul style="list-style-type:disc">
+                    {% for post in category[1] %}
+                    <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
+                    {% endfor %}
+                    <ul>
+            </div>
+        </div>
+        {% endif %}
+        {% endfor %}
+    </ul>
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_includes/navside.html
----------------------------------------------------------------------
diff --git a/docs/website/_includes/navside.html b/docs/website/_includes/navside.html
index b395b7a..535af83 100755
--- a/docs/website/_includes/navside.html
+++ b/docs/website/_includes/navside.html
@@ -16,13 +16,13 @@
 * limitations under the License.
 -->
 
-<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg">
+<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em">
     <ul class="nav nav-pills nav-stacked">
         {% for category in site.categories %}     <!-- categories -->
         {% if category[0] == 'gettingstarted' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">Getting Started</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">Getting Started</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list1">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
@@ -35,9 +35,9 @@
 
         {% for category in site.categories %}
         {% if category[0] == 'installation' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">Installation</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">Installation</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list2">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
@@ -50,9 +50,9 @@
 
         {% for category in site.categories %}
         {% if category[0] == 'tutorial' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">Tutorial</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">Tutorial</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list3">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
@@ -65,9 +65,9 @@
 
         {% for category in site.categories %}
         {% if category[0] == 'development' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">Development</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">Development</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list4">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
@@ -80,9 +80,9 @@
 
         {% for category in site.categories %}
         {% if category[0] == 'howto' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">How to</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">How to</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list5">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>
@@ -96,9 +96,9 @@
 
         {% for category in site.categories %}
         {% if category[0] == 'api' %}
-        <li><a href="#{{ category | first }}" data-toggle="collapse">API</a></li>
+        <li><a href="#{{ category | first }}" data-toggle="collapse" id="navtitle">API</a></li>
         <div class="collapse in" id="{{ category[0] }}">
-            <div class="list-group">
+            <div class="list-group" id="list6">
                 <ul style="list-style-type:disc">
                     {% for post in category[1] %}
                     <li><a href="{{ post.url }}" class="list-group-item-lay pjaxlink">{{post.title}}</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/blog.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/blog.html b/docs/website/_layouts/blog.html
new file mode 100644
index 0000000..b146a22
--- /dev/null
+++ b/docs/website/_layouts/blog.html
@@ -0,0 +1,45 @@
+<!--
+* 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.
+-->
+<!doctype html>
+<html>
+	{% include head.html %}
+	<body>
+		{% include header.html %}
+		<div class="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Technical Blog</span></h4>
+			</div>
+		</div>
+
+		<div class="container">
+			<div>
+				{{ content }}
+			</div>
+		</div>		
+		{% include footer.html %}
+
+	<script src="/assets/js/jquery-1.9.1.min.js"></script> 
+	<script src="/assets/js/bootstrap.min.js"></script> 
+	<script src="/assets/js/main.js"></script>
+	</body>
+</html>
+
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/docs-cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/docs-cn.html b/docs/website/_layouts/docs-cn.html
new file mode 100755
index 0000000..dad1383
--- /dev/null
+++ b/docs/website/_layouts/docs-cn.html
@@ -0,0 +1,43 @@
+<!--
+* 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.
+-->
+
+<!doctype html>
+<html>
+	{% include head.cn.html %}
+	<body>
+		{% include header.cn.html %}
+		
+		<div class="container">
+			<div class="row">
+				{% include navside.cn.html %}
+				<div class="col-md-9 col-lg-9 col-xs-14 aside2">
+					<div id="container">
+						<div id="pjax">
+							{{ content }}
+						</div>
+					</div>
+				</div>
+			</div>
+		</div>		
+		{% include footer.html %}
+
+	<script src="/assets/js/jquery-1.9.1.min.js"></script> 
+	<script src="/assets/js/bootstrap.min.js"></script> 
+	<script src="/assets/js/main.js"></script>
+	</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/docs.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/docs.html b/docs/website/_layouts/docs.html
index d5b00d9..decf9b3 100755
--- a/docs/website/_layouts/docs.html
+++ b/docs/website/_layouts/docs.html
@@ -21,12 +21,7 @@
 	{% include head.html %}
 	<body>
 		{% include header.html %}
-		<div class="page-content">
-			<header style=" padding:2em 0 0 0">
-			<div class="container" >
-				<h4 class="section-title"><span>Kylin Docs</span></h4>
-			</div>
-		</div>
+		
 		<div class="container">
 			<div class="row">
 				{% include navside.html %}

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/post-blog.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post-blog.html b/docs/website/_layouts/post-blog.html
new file mode 100644
index 0000000..6e311ec
--- /dev/null
+++ b/docs/website/_layouts/post-blog.html
@@ -0,0 +1,38 @@
+---
+layout: blog
+---
+
+<!--
+* 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.
+-->
+
+<div class="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">{{ page.title }}</h1>
+    <p class="post-meta" >{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
+  </header>
+
+  <article class="post-content" >
+    {{ content }}
+  </article>
+
+</div>
+
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/post-cn.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post-cn.html b/docs/website/_layouts/post-cn.html
new file mode 100644
index 0000000..cba1250
--- /dev/null
+++ b/docs/website/_layouts/post-cn.html
@@ -0,0 +1,38 @@
+---
+layout: docs-cn
+---
+
+<!--
+* 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.
+-->
+
+<div class="post" style=" padding:1.5em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">{{ page.title }}</h1>
+    <p class="post-meta" >{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
+  </header>
+
+  <article class="post-content" >
+    {{ content }}
+  </article>
+
+</div>
+
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_layouts/post.html
----------------------------------------------------------------------
diff --git a/docs/website/_layouts/post.html b/docs/website/_layouts/post.html
index 7503e6e..19732c9 100644
--- a/docs/website/_layouts/post.html
+++ b/docs/website/_layouts/post.html
@@ -20,7 +20,7 @@ layout: docs
 * limitations under the License.
 -->
 
-<div class="post" style=" padding:2em 4em 4em 4em">
+<div class="post" style=" padding:1.5em 4em 4em 4em">
 
   <header class="post-header">
     <h1 class="post-title">{{ page.title }}</h1>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/_posts/blog/2015-01-25-introduce-data-model.md
----------------------------------------------------------------------
diff --git a/docs/website/_posts/blog/2015-01-25-introduce-data-model.md b/docs/website/_posts/blog/2015-01-25-introduce-data-model.md
index d5491b9..517aced 100644
--- a/docs/website/_posts/blog/2015-01-25-introduce-data-model.md
+++ b/docs/website/_posts/blog/2015-01-25-introduce-data-model.md
@@ -1,5 +1,5 @@
 ---
-layout: post
+layout: post-blog
 title:  "Introduce Data Model of Cube Designer"
 date:   2015-01-25 22:28:00
 author: Luke Han

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\345\256\211\350\243\205/2015-01-22-Kylin\346\211\213\345\212\250\345\256\211\350\243\205\346\214\207\345\215\227.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2014-11-05-Kylin-ODBC-\351\251\261\345\212\250\347\250\213\345\272\217\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2014-11-05-kylin-cube-\345\210\233\345\273\272\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2014-11-06-Kylin-Cube-\345\273\272\347\253\213\345\222\214Job\347\233\221\346\216\247\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2014-11-11-Kylin-Cube-\346\235\203\351\231\220\346\216\210\344\272\210\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2015-04-17-Kylin\345\222\214Tableau\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/"docs/website/_posts/\346\225\231\347\250\213/2015-04-17-Kylin\347\275\221\351\241\265\347\211\210\346\225\231\347\250\213.md"
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/assets/css/docs.css
----------------------------------------------------------------------
diff --git a/docs/website/assets/css/docs.css b/docs/website/assets/css/docs.css
index d46052b..f824c8a 100755
--- a/docs/website/assets/css/docs.css
+++ b/docs/website/assets/css/docs.css
@@ -103,4 +103,24 @@
   color: #666666;
 }
 
+.nside {
+  color: #fb8d08;
+}
+
+.nnav {
+  font-weight: 600;
+}
+
+.nnav-home {
+  font-weight: 200;
+}
+
+#navtitle {
+  color:#454545;
+}
+
+#navtitle:hover, #navtitle:focus{
+  color:#000000;
+}
+
 

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/assets/js/nnav.js
----------------------------------------------------------------------
diff --git a/docs/website/assets/js/nnav.js b/docs/website/assets/js/nnav.js
new file mode 100644
index 0000000..3554118
--- /dev/null
+++ b/docs/website/assets/js/nnav.js
@@ -0,0 +1,16 @@
+$(function() {
+	var myNav = $("#bs-example-navbar-collapse-1 a"),i;
+	for(i=0;i<myNav.length;i++) {
+		var links = myNav.eq(i).attr("href"), myURL = document.URL;
+		if (links != "/" & links != "/cn") {
+			if(myURL.indexOf(links) != -1) {
+				myNav.eq(i).attr('class','nnav');
+				myNav.eq(0).attr('class','nnav-home');
+				break;
+			}
+		}
+		else if (links == "/" | links == "/cn")  {
+			myNav.eq(0).attr('class','nnav');
+		}
+	}
+})

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/assets/js/nside.js
----------------------------------------------------------------------
diff --git a/docs/website/assets/js/nside.js b/docs/website/assets/js/nside.js
new file mode 100644
index 0000000..35ec49e
--- /dev/null
+++ b/docs/website/assets/js/nside.js
@@ -0,0 +1,13 @@
+$(function() {
+	var myNav1 = $("#nside1 .list-group"),i,j;
+	for(i=0;i<myNav1.length;i++) {
+		var myid = myNav1.eq(i).attr("id");
+		var myNav2 = $("#" + myid + " a");
+		for(j=0;j<myNav2.length;j++) {
+			var links = myNav2.eq(j).attr("href"), myURL = document.URL;
+			if(myURL.indexOf(links) != -1) {
+				myNav2.eq(j).attr('class','nside');
+			}
+		}
+	}
+})

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/docs/index.cn.md
----------------------------------------------------------------------
diff --git a/docs/website/docs/index.cn.md b/docs/website/docs/index.cn.md
new file mode 100644
index 0000000..699b571
--- /dev/null
+++ b/docs/website/docs/index.cn.md
@@ -0,0 +1,90 @@
+---
+layout: docs-cn
+title: Docs
+---
+
+<main id="main" >
+  <div class="container" >
+    <div id="zero" class=" main" >
+      <header style=" padding:1.0em 0 4em 0">
+        <div class="container" >
+
+         
+     <div id="content-container" class="animated fadeIn">
+       
+
+<p class="content-header" >What should I use Kylin for?</p>
+<p class="content-p">
+If you want to do multi-dimension analysis on large data sets (billion+ rows) with low query latency (sub-seconds), Kylin is a good option. Kylin also provides good integration with existing BI tools (e.g Tableau).
+</p>
+
+<hr/>
+ 
+<p class="content-header">Why existing SQL-on-Hadoop solutions fall short?</p>
+<p class="content-p">
+The existing SQL-on-Hadoop needs to scan partial or whole data set to answer a user query. Due to large data scan, many queries are very slow (minute+ latency).  
+</p>
+<hr/>
+ 
+<p class="content-header">What is MOLAP/ROLAP?</p>
+<p class="content-p">
+MOLAP (Multi-dimensional OLAP) is to pre-compute data along different dimensions of interest and store resultant values in the cube. MOLAP is much faster but is inflexible.
+ROLAP (Relational-OLAP) is to use star or snow-flake schema to do runtime aggregation. ROLAP is flexible but much slower.
+</p>
+<hr/>
+
+<p class="content-header">How does Kylin support ROLAP/MOLAP?</p>
+<p class="content-p">
+Kylin builds data cube (MOLAP) from hive table (ROLAP) according to the metadata definition.
+If the query can be fulfilled by data cube, Kylin will route the query to data cube that is MOLAP.
+If the query can’t be fulfilled by data cube, Kylin will route the query to hive table that is ROLAP.
+Basically, you can think Kylin as HOLAP on top of MOLAP and ROLAP. 
+</p>
+<hr/>
+<p class="content-header">What does a Kylin query look like?</p>
+<p class="content-p">
+Kylin supports join, projection, filter, aggregation, groups and sub-query. For example:
+<div align="left">
+
+<pre class="prettyprint" style="margin-top:1em;">select test_cal_dt.week_beg_dt, test_category.lv1_categ, test_category.lv2_categ, test_kylin_fact.format_name, test_sites.site_name, sum(test_kylin_fact.price) as total_price, count(*) as total_count from test_kylin_fact left join test_cal_dt on test_kylin_fact.cal_dt = test_cal_dt.cal_dt left join test_category on test_kylin_fact.leaf_categ_id = test_category.leaf_categ_id and test_kylin_fact.site_id = test_category.site_id left join test_sites on test_kylin_fact.site_id = test_sites.site_id where test_kylin_fact.seller_id = 123456 or test_kylin_fact.format_name = 'New' group by test_cal_dt.week_beg_dt, test_category.lv1_categ, test_category.lv2_categ, test_kylin_fact.format_name, test_sites.site_name</pre>
+</div>
+<hr/>
+
+<p class="content-header">What Hadoop components does it work with?</p>
+<p class="content-p">
+Kylin depends on HDFS, MapReduce, Hive and HBase.
+Hive and MapReduce is used for cube building. Hive is used for pre-join and MapReduce is used for pre-aggregation.
+HDFS is used to store intermediated files during cube building.
+HBase is used to store data cube and answer the query. HBase coprocessor is also used for query processing.
+</p>
+<hr/>
+
+<!-- Migrate wiki to here 
+<p class="content-header">Where can I find the technical details about Kylin?</p>
+<p class="content-p"><a href="http://www.slideshare.net/XuJiang2/kylin-hadoop-olap-engine" target="_blank">Kylin Wiki</a></p>
+
+-->
+
+     </div>
+         
+         </div><!--end of rightcontent-->
+         
+         </div><!--end of row-->
+        </div>
+        <!-- /container --> 
+        
+        
+        
+      </header>
+    </div>
+    <!-- / section --> 
+  </div>
+  <!-- /container -->
+ 
+
+  
+
+      
+    </header>
+  </section>
+</main>

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/525cea2e/docs/website/docs/index.md
----------------------------------------------------------------------
diff --git a/docs/website/docs/index.md b/docs/website/docs/index.md
index d55a9ef..75e984a 100644
--- a/docs/website/docs/index.md
+++ b/docs/website/docs/index.md
@@ -6,14 +6,14 @@ title: Docs
 <main id="main" >
   <div class="container" >
     <div id="zero" class=" main" >
-      <header style=" padding:2em 0 4em 0">
+      <header style=" padding:1.0em 0 4em 0">
         <div class="container" >
 
          
      <div id="content-container" class="animated fadeIn">
        
 
-<p class="content-header" style="margin-top:0.25em">What should I use Kylin for?</p>
+<p class="content-header" >What should I use Kylin for?</p>
 <p class="content-p">
 If you want to do multi-dimension analysis on large data sets (billion+ rows) with low query latency (sub-seconds), Kylin is a good option. Kylin also provides good integration with existing BI tools (e.g Tableau).
 </p>