Browse Source

add menuconf to index

ruki 8 years ago
parent
commit
ef68053cbc
5 changed files with 54 additions and 14 deletions
  1. BIN
      assets/img/index/menuconf.gif
  2. 21 11
      cn/index.html
  3. 11 1
      landing.html
  4. 11 1
      landing/index.cn.md
  5. 11 1
      landing/index.md

BIN
assets/img/index/menuconf.gif


+ 21 - 11
cn/index.html

@@ -102,7 +102,15 @@
 </code></pre>
 </div>
 
-<h2 id="section-6">支持特性</h2>
+<h2 id="section-6">图形化菜单配置</h2>
+
+<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>xmake f --menu
+</code></pre>
+</div>
+
+<p><img src="/assets/img/index/menuconf.gif" width="60%" /></p>
+
+<h2 id="section-7">支持特性</h2>
 
 <ul>
   <li>Tasks</li>
@@ -114,7 +122,7 @@
   <li>Templates</li>
 </ul>
 
-<h2 id="section-7">支持平台</h2>
+<h2 id="section-8">支持平台</h2>
 
 <ul>
   <li>Windows (x86, x64)</li>
@@ -126,7 +134,7 @@
   <li>Mingw (i386, x86_64)</li>
 </ul>
 
-<h2 id="section-8">支持语言</h2>
+<h2 id="section-9">支持语言</h2>
 
 <ul>
   <li>C/C++</li>
@@ -138,9 +146,9 @@
   <li>Dlang</li>
 </ul>
 
-<h2 id="section-9">内置插件</h2>
+<h2 id="section-10">内置插件</h2>
 
-<h4 id="section-10">宏记录脚本和回放插件</h4>
+<h4 id="section-11">宏记录脚本和回放插件</h4>
 
 <div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>xmake m -b                        <span class="c"># 开始记录</span>
 <span class="gp">$ </span>xmake f -p iphoneos -m debug
@@ -170,7 +178,7 @@
 </code></pre>
 </div>
 
-<h2 id="section-11">更多插件</h2>
+<h2 id="section-12">更多插件</h2>
 
 <p>请到插件仓库进行下载安装: <a href="https://github.com/tboox/xmake-plugins">xmake-plugins</a>.</p>
 
@@ -198,7 +206,7 @@
   <li><a href="https://github.com/luzhlon/xmake.vim">xmake.vim</a> (third-party, thanks <a href="https://github.com/luzhlon">@luzhlon</a>)</li>
 </ul>
 
-<h2 id="section-12">更多例子</h2>
+<h2 id="section-13">更多例子</h2>
 
 <p>Debug和Release模式:</p>
 
@@ -242,7 +250,7 @@
 </code></pre>
 </div>
 
-<h2 id="section-13">项目例子</h2>
+<h2 id="section-14">项目例子</h2>
 
 <p>一些使用xmake的项目:</p>
 
@@ -253,11 +261,13 @@
   <li><a href="https://github.com/vm86/xmake/wiki/%E4%BD%BF%E7%94%A8xmake%E7%9A%84%E5%BC%80%E6%BA%90%E5%BA%93">更多</a></li>
 </ul>
 
-<h2 id="section-14">演示视频</h2>
+<h2 id="section-15">演示视频</h2>
 
-<p><a href="https://asciinema.org/a/133693"><img src="https://asciinema.org/a/133693.png" alt="asciicast" /></a></p>
+<p><a href="https://asciinema.org/a/133693">
+<img src="https://asciinema.org/a/133693.png" width="60%" />
+</a></p>
 
-<h2 id="section-15">联系方式</h2>
+<h2 id="section-16">联系方式</h2>
 
 <ul>
   <li>邮箱:<a href="mailto:[email protected]">[email protected]</a></li>

+ 11 - 1
landing.html

@@ -102,6 +102,14 @@
 </code></pre>
 </div>
 
+<h2 id="menu-configuration">Menu configuration</h2>
+
+<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>xmake f --menu
+</code></pre>
+</div>
+
+<p><img src="/assets/img/index/menuconf.gif" width="60%" /></p>
+
 <h2 id="support-features">Support features</h2>
 
 <ul>
@@ -255,7 +263,9 @@
 
 <h2 id="example-video">Example Video</h2>
 
-<p><a href="https://asciinema.org/a/133693"><img src="https://asciinema.org/a/133693.png" alt="asciicast" /></a></p>
+<p><a href="https://asciinema.org/a/133693">
+<img src="https://asciinema.org/a/133693.png" width="60%" />
+</a></p>
 
 <h2 id="contacts">Contacts</h2>
 

+ 11 - 1
landing/index.cn.md

@@ -56,6 +56,14 @@ $ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [de
 $ xmake
 ```
 
+## 图形化菜单配置
+
+```bash
+$ xmake f --menu
+```
+
+<img src="/assets/img/index/menuconf.gif" width="60%" />
+
 ## 支持特性
 
 * Tasks
@@ -193,7 +201,9 @@ target("test")
 
 ## 演示视频
 
-[![asciicast](https://asciinema.org/a/133693.png)](https://asciinema.org/a/133693)
+<a href="https://asciinema.org/a/133693">
+<img src="https://asciinema.org/a/133693.png" width="60%" />
+</a>
 
 ## 联系方式
 

+ 11 - 1
landing/index.md

@@ -56,6 +56,14 @@ $ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [de
 $ xmake
 ```
 
+## Menu configuration
+
+```bash
+$ xmake f --menu
+```
+
+<img src="/assets/img/index/menuconf.gif" width="60%" />
+
 ## Support features
 
 * Tasks
@@ -193,7 +201,9 @@ Some projects using xmake:
 
 ## Example Video
 
-[![asciicast](https://asciinema.org/a/133693.png)](https://asciinema.org/a/133693)
+<a href="https://asciinema.org/a/133693">
+<img src="https://asciinema.org/a/133693.png" width="60%" />
+</a>
 
 ## Contacts