You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/10 10:09:57 UTC

[2/7] incubator-weex git commit: * [website] Updated header menu and link more tools internal.

* [website] Updated header menu and link more tools internal.


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

Branch: refs/heads/dev
Commit: d8ab10b06a26209ed832286c3ef0489eee9f779a
Parents: 1543a5c
Author: Jinjiang <zh...@me.com>
Authored: Fri Mar 10 10:19:16 2017 +0800
Committer: Jinjiang <zh...@me.com>
Committed: Fri Mar 10 10:19:26 2017 +0800

----------------------------------------------------------------------
 doc/themes/weex/languages/cn.yml            |  3 +--
 doc/themes/weex/languages/en.yml            |  5 ++---
 doc/themes/weex/layout/_partial/header.ejs  | 10 +++++-----
 doc/themes/weex/layout/_partial/sidebar.ejs |  9 ++++-----
 4 files changed, 12 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d8ab10b0/doc/themes/weex/languages/cn.yml
----------------------------------------------------------------------
diff --git a/doc/themes/weex/languages/cn.yml b/doc/themes/weex/languages/cn.yml
index 67f72e6..fe3bf17 100644
--- a/doc/themes/weex/languages/cn.yml
+++ b/doc/themes/weex/languages/cn.yml
@@ -74,10 +74,9 @@ menu:
   blog: \u535a\u5ba2
   showcase: \u793a\u4f8b
   download: \u4e0b\u8f7d
-  resources: \u4e0b\u8f7d
+  resources: \u8d44\u6e90
   tools: \u5de5\u5177\u548c\u670d\u52a1
   advanced: \u9ad8\u9636\u77e5\u8bc6
-  baichuan: \u963f\u91cc\u767e\u5ddd
   github: GitHub
   legacy: \u65e7\u8bed\u6cd5\u6587\u6863
 playground:

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d8ab10b0/doc/themes/weex/languages/en.yml
----------------------------------------------------------------------
diff --git a/doc/themes/weex/languages/en.yml b/doc/themes/weex/languages/en.yml
index 47ca0ec..7186784 100644
--- a/doc/themes/weex/languages/en.yml
+++ b/doc/themes/weex/languages/en.yml
@@ -75,10 +75,9 @@ menu:
   blog: Blog
   showcase: Showcase
   download: Download
-  resources: Download
-  tools: Service & Tools
+  resources: Resources
+  tools: Services & Tools
   advanced: Advanced
-  baichuan: AliBaichuan
   github: GitHub
   legacy: Old Syntax Doc
 playground:

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d8ab10b0/doc/themes/weex/layout/_partial/header.ejs
----------------------------------------------------------------------
diff --git a/doc/themes/weex/layout/_partial/header.ejs b/doc/themes/weex/layout/_partial/header.ejs
index 9b2cdb6..8cd9631 100644
--- a/doc/themes/weex/layout/_partial/header.ejs
+++ b/doc/themes/weex/layout/_partial/header.ejs
@@ -9,19 +9,19 @@
         <li><a href="<%= url_for_lang('references') %>"><%= _p('menu.references') %></a></li>
         <li><a href="<%= url_for_lang('faq.html') %>"><%= _p('menu.faq') %></a></li>
         <li class="dropdown">
-            <a href="javascript:;"><%= _p('menu.resources') %></a>
+            <a href="javascript:;"><%= _p('menu.tools') %></a>
             <ul class="dropdown-menu subnav">
               <li>
                 <a href="<%= url_for_lang('playground.html') %>">Playground</a>
               </li>
               <li>
-                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+                <a href="<%= url_for_lang('guide/tools/devtools.html') %>">Devtools</a>
               </li>
               <li>
-                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+                <a href="<%= url_for_lang('guide/tools/weexpack.html') %>">Weexpack</a>
               </li>
               <li>
-                <a href="http://dotwe.org" target="_blank">Snippets</a>
+                <a href="http://dotwe.org" target="_blank">Code Snippets</a>
               </li>
               <li>
                 <a href="https://market.weex-project.io/" target="_blank">Market</a>
@@ -62,4 +62,4 @@
     </a>
     <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
   </div>
-</header>
\ No newline at end of file
+</header>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d8ab10b0/doc/themes/weex/layout/_partial/sidebar.ejs
----------------------------------------------------------------------
diff --git a/doc/themes/weex/layout/_partial/sidebar.ejs b/doc/themes/weex/layout/_partial/sidebar.ejs
index 2287671..e2ae986 100644
--- a/doc/themes/weex/layout/_partial/sidebar.ejs
+++ b/doc/themes/weex/layout/_partial/sidebar.ejs
@@ -24,21 +24,20 @@
           </a>
         </li>
         <li>
-            <p><%= _p('menu.resources') %></p>
+            <p><%= _p('menu.tools') %></p>
             <ul class="subnav">
               <li>
                 <a href="<%= url_for_lang('playground.html') %>">Playground</a>
               </li>
               <li>
-                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+                <a href="<%= url_for_lang('guide/tools/devtools.html') %>">Devtools</a>
               </li>
               <li>
-                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+                <a href="<%= url_for_lang('guide/tools/weexpack.html') %>">Weexpack</a>
               </li>
               <li>
                 <a href="http://dotwe.org" target="_blank">Snippets</a>
               </li>
-              </li>
               <li>
                 <a href="https://market.weex-project.io/" target="_blank">Market</a>
               </li>
@@ -53,4 +52,4 @@
     <% } %>
     <a class="btn-close-sidebar iconfont  icon-close"></a>
   </div>
-</div>
\ No newline at end of file
+</div>