summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-24 14:37:58 +0800
committerruki <[email protected]>2017-03-24 14:37:58 +0800
commite03667d0298c266238135895b7a58e34e481a25d (patch)
tree0e7db0e65f3caf1844882527e78d96d16ea4210b
parent7cc60595ace510fb0b81a18971f6774470afc7f8 (diff)
modify demo.gif for docs
-rwxr-xr-xREADME.md2
-rwxr-xr-xREADME_zh.md2
-rw-r--r--docs/README.md2
-rw-r--r--docs/cn/index.html4
-rw-r--r--docs/landing.html4
-rwxr-xr-xdocs/landing/build22
-rwxr-xr-xdocs/landing/index.cn.md4
-rwxr-xr-xdocs/landing/index.md4
-rwxr-xr-xdocs/zh/README.md2
9 files changed, 34 insertions, 12 deletions
diff --git a/README.md b/README.md
index 543390c65..f4ea6e72f 100755
--- a/README.md
+++ b/README.md
@@ -80,7 +80,7 @@ $ xmake run -d console
## Examples
-[![usage_demo](http://tboox.org/static/img/xmake/usage_demo.gif)](http://www.xmake.io)
+[![usage_demo](http://tboox.org/static/img/xmake/build_demo.gif)](http://www.xmake.io)
Create a c++ console project:
diff --git a/README_zh.md b/README_zh.md
index c8c2044c2..66b5fd1d3 100755
--- a/README_zh.md
+++ b/README_zh.md
@@ -86,7 +86,7 @@ $ xmake run -d console
## 简单例子
-[![usage_demo](http://tboox.org/static/img/xmake/usage_demo.gif)](http://www.xmake.io/cn)
+[![usage_demo](http://tboox.org/static/img/xmake/build_demo.gif)](http://www.xmake.io/cn)
创建一个c++ console项目:
diff --git a/docs/README.md b/docs/README.md
index 54c72d0f2..863ff6552 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -52,7 +52,7 @@ $ sudo ./install
## Quick Start
-![UsageDemo](http://tboox.org/static/img/xmake/usage_demo.gif)
+![UsageDemo](http://tboox.org/static/img/xmake/build_demo.gif)
#### Create Project
diff --git a/docs/cn/index.html b/docs/cn/index.html
index 267cdae5b..6ea91db86 100644
--- a/docs/cn/index.html
+++ b/docs/cn/index.html
@@ -89,7 +89,7 @@
<h2 id="section-5">支持平台</h2>
<ul>
- <li>Windows (x86, x64, amd64, x86_amd64)</li>
+ <li>Windows (x86, x64)</li>
<li>Macosx (i386, x86_64)</li>
<li>Linux (i386, x86_64, cross-toolchains …)</li>
<li>Android (armv5te, armv6, armv7-a, armv8-a, arm64-v8a)</li>
@@ -122,7 +122,7 @@
<h2 id="section-8">使用演示</h2>
-<p><a href="https://github.com/tboox/xmake"><img src="http://tboox.org/static/img/xmake/usage_demo.gif" alt="usage_demo" /></a></p>
+<p><a href="https://github.com/tboox/xmake"><img src="http://tboox.org/static/img/xmake/build_demo.gif" alt="usage_demo" /></a></p>
<h2 id="section-9">联系方式</h2>
diff --git a/docs/landing.html b/docs/landing.html
index 7735e5bb6..400bc741f 100644
--- a/docs/landing.html
+++ b/docs/landing.html
@@ -89,7 +89,7 @@
<h2 id="support-platforms">Support platforms</h2>
<ul>
- <li>Windows (x86, x64, amd64, x86_amd64)</li>
+ <li>Windows (x86, x64)</li>
<li>Macosx (i386, x86_64)</li>
<li>Linux (i386, x86_64, cross-toolchains …)</li>
<li>Android (armv5te, armv6, armv7-a, armv8-a, arm64-v8a)</li>
@@ -122,7 +122,7 @@
<h2 id="examples">Examples</h2>
-<p><a href="https://github.com/tboox/xmake"><img src="http://tboox.org/static/img/xmake/usage_demo.gif" alt="usage_demo" /></a></p>
+<p><a href="https://github.com/tboox/xmake"><img src="http://tboox.org/static/img/xmake/build_demo.gif" alt="usage_demo" /></a></p>
<h2 id="contacts">Contacts</h2>
diff --git a/docs/landing/build b/docs/landing/build
new file mode 100755
index 000000000..aa77cf96e
--- /dev/null
+++ b/docs/landing/build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+function exe_cmd()
+{
+ echo $1
+ eval $1
+}
+
+# build sites
+exe_cmd "jekyll build"
+if [ ! -d '_site' ];then
+ echo "not content to be published!"
+ exit
+fi
+
+# install sites
+exe_cmd "cp -r _site/cn .."
+exe_cmd "cp -r _site/assets/* ../assets/"
+exe_cmd "cp -r _site/pages .."
+exe_cmd "cp _site/index.html ../landing.html"
+exe_cmd "rm -rf _site"
+
diff --git a/docs/landing/index.cn.md b/docs/landing/index.cn.md
index 9c3189443..7899399d9 100755
--- a/docs/landing/index.cn.md
+++ b/docs/landing/index.cn.md
@@ -40,7 +40,7 @@ $ xmake run -d console
## 支持平台
-* Windows (x86, x64, amd64, x86_amd64)
+* Windows (x86, x64)
* Macosx (i386, x86_64)
* Linux (i386, x86_64, cross-toolchains ...)
* Android (armv5te, armv6, armv7-a, armv8-a, arm64-v8a)
@@ -68,7 +68,7 @@ $ xmake run -d console
## 使用演示
-[![usage_demo](http://tboox.org/static/img/xmake/usage_demo.gif)](https://github.com/tboox/xmake)
+[![usage_demo](http://tboox.org/static/img/xmake/build_demo.gif)](https://github.com/tboox/xmake)
## 联系方式
diff --git a/docs/landing/index.md b/docs/landing/index.md
index 647bb6ea1..3192712ca 100755
--- a/docs/landing/index.md
+++ b/docs/landing/index.md
@@ -40,7 +40,7 @@ $ xmake run -d console
## Support platforms
-* Windows (x86, x64, amd64, x86_amd64)
+* Windows (x86, x64)
* Macosx (i386, x86_64)
* Linux (i386, x86_64, cross-toolchains ...)
* Android (armv5te, armv6, armv7-a, armv8-a, arm64-v8a)
@@ -68,7 +68,7 @@ $ xmake run -d console
## Examples
-[![usage_demo](http://tboox.org/static/img/xmake/usage_demo.gif)](https://github.com/tboox/xmake)
+[![usage_demo](http://tboox.org/static/img/xmake/build_demo.gif)](https://github.com/tboox/xmake)
## Contacts
diff --git a/docs/zh/README.md b/docs/zh/README.md
index 7e10bd0c6..44da83fc4 100755
--- a/docs/zh/README.md
+++ b/docs/zh/README.md
@@ -59,7 +59,7 @@ $ sudo ./install
## 快速开始
-![UsageDemo](http://tboox.org/static/img/xmake/usage_demo.gif)
+![UsageDemo](http://tboox.org/static/img/xmake/build_demo.gif)
#### 创建工程