You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/08/07 04:26:04 UTC

[incubator-weex-site] branch master updated: Move playgrond (#469)

This is an automated email from the ASF dual-hosted git repository.

kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 6686ce3  Move playgrond (#469)
6686ce3 is described below

commit 6686ce349873b35ed021f8e561e86d397f56cfd8
Author: YorkShen <sh...@gmail.com>
AuthorDate: Wed Aug 7 12:25:59 2019 +0800

    Move playgrond (#469)
    
    Move playground from `tools` to `guide`
---
 docs/.vuepress/config.js               |  8 ++++----
 docs/.vuepress/data/redirect.json      | 10 ++++++----
 docs/{tools => guide}/playground.md    |  0
 docs/tools/README.md                   |  2 +-
 docs/zh/{tools => guide}/playground.md |  0
 docs/zh/tools/README.md                |  2 +-
 6 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 3c92e32..412d36b 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -45,7 +45,8 @@ module.exports = {
                 ['front-end-frameworks', 'Front-End Frameworks'],
                 ['platform-difference', 'Platform Difference'],
                 ['use-vue-in-weex', 'Use Vue in Weex'],
-                ['use-rax-in-weex', 'Use Rax in Weex']
+                ['use-rax-in-weex', 'Use Rax in Weex'],
+                ['playground', 'Playground App']
               ]
             },
             {
@@ -173,7 +174,6 @@ module.exports = {
             }
           ],
           '/tools/': [
-            ['playground', 'Playground App'],
             ['toolkit', 'Weex Toolkit'],
             ['extension', 'VSCode Extension'],
             ["dotwe", "Online Playground"]
@@ -217,7 +217,8 @@ module.exports = {
                 ['front-end-frameworks', '前端框架'],
                 ['platform-difference', '平台差异'],
                 ['use-vue-in-weex', '在Weex中使用Vue.js'],
-                ['use-rax-in-weex', '在Weex中使用Rax.js']
+                ['use-rax-in-weex', '在Weex中使用Rax.js'],
+                ['playground', 'Playground 应用']
               ]
             },
             {
@@ -345,7 +346,6 @@ module.exports = {
             }
           ],
           '/zh/tools/': [
-            ['playground', 'Playground 应用'],
             ['toolkit', 'Weex 工具箱'],
             ['extension', 'VSCode 插件'],
             ["dotwe", "Online Playground"]
diff --git a/docs/.vuepress/data/redirect.json b/docs/.vuepress/data/redirect.json
index 6bf81c5..4811888 100644
--- a/docs/.vuepress/data/redirect.json
+++ b/docs/.vuepress/data/redirect.json
@@ -17,10 +17,12 @@
   "/references/modules/": "/docs/modules/animation.html",
   "/cn/references/components/": "/zh/docs/components/a.html",
   "/cn/references/modules/": "/zh/docs/modules/animation.html",
-  "/resources.html": "/tools/playground.html",
-  "/cn/resources.html": "/zh/tools/playground.html",
-  "/playground.html": "/tools/playground.html",
-  "/cn/playground.html": "/zh/tools/playground.html",
+  "/resources.html": "/guide/playground.html",
+  "/cn/resources.html": "/zh/guide/playground.html",
+  "/playground.html": "/guide/playground.html",
+  "/cn/playground.html": "/zh/guide/playground.html",
+  "/tools/playground.html": "/guide/playground.html",
+  "/zh/tools/playground.html": "/zh/guide/playground.html",
   "/examples.html": "/community/code-demo.html",
   "/cn/examples.html": "/zh/community/code-demo.html",
   "/examples/dom-rect.html": "/community/code-demo.html",
diff --git a/docs/tools/playground.md b/docs/guide/playground.md
similarity index 100%
rename from docs/tools/playground.md
rename to docs/guide/playground.md
diff --git a/docs/tools/README.md b/docs/tools/README.md
index 75e3486..a999861 100644
--- a/docs/tools/README.md
+++ b/docs/tools/README.md
@@ -1,7 +1,7 @@
 <script>
 module.exports = {
   created(){
-    this.$router.push('/tools/playground.html')
+    this.$router.push('/tools/toolkit.html')
   }
 }
 </script>
\ No newline at end of file
diff --git a/docs/zh/tools/playground.md b/docs/zh/guide/playground.md
similarity index 100%
rename from docs/zh/tools/playground.md
rename to docs/zh/guide/playground.md
diff --git a/docs/zh/tools/README.md b/docs/zh/tools/README.md
index 061c316..c155a6f 100644
--- a/docs/zh/tools/README.md
+++ b/docs/zh/tools/README.md
@@ -1,7 +1,7 @@
 <script>
 module.exports = {
   created(){
-    this.$router.push('/zh/tools/playground.html')
+    this.$router.push('/zh/tools/toolkit.html')
   }
 }
 </script>
\ No newline at end of file