Forráskód Böngészése

configure platform for zh

ruki 8 éve
szülő
commit
5be27433c8
1 módosított fájl, 17 hozzáadás és 10 törlés
  1. 17 10
      cn/index.html

+ 17 - 10
cn/index.html

@@ -95,7 +95,14 @@
 </code></pre>
 </div>
 
-<h2 id="section-5">支持特性</h2>
+<h2 id="section-5">配置平台</h2>
+
+<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>xmake f -p <span class="o">[</span>windows|linux|macosx|android|iphoneos ..] -a <span class="o">[</span>x86|arm64 ..] -m <span class="o">[</span>debug|release]
+<span class="gp">$ </span>xmake
+</code></pre>
+</div>
+
+<h2 id="section-6">支持特性</h2>
 
 <ul>
   <li>Tasks</li>
@@ -107,7 +114,7 @@
   <li>Templates</li>
 </ul>
 
-<h2 id="section-6">支持平台</h2>
+<h2 id="section-7">支持平台</h2>
 
 <ul>
   <li>Windows (x86, x64)</li>
@@ -119,7 +126,7 @@
   <li>Mingw (i386, x86_64)</li>
 </ul>
 
-<h2 id="section-7">支持语言</h2>
+<h2 id="section-8">支持语言</h2>
 
 <ul>
   <li>C/C++</li>
@@ -131,9 +138,9 @@
   <li>Dlang</li>
 </ul>
 
-<h2 id="section-8">内置插件</h2>
+<h2 id="section-9">内置插件</h2>
 
-<h4 id="section-9">宏记录脚本和回放插件</h4>
+<h4 id="section-10">宏记录脚本和回放插件</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
@@ -163,7 +170,7 @@
 </code></pre>
 </div>
 
-<h2 id="section-10">更多插件</h2>
+<h2 id="section-11">更多插件</h2>
 
 <p>请到插件仓库进行下载安装: <a href="https://github.com/tboox/xmake-plugins">xmake-plugins</a>.</p>
 
@@ -191,7 +198,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-11">更多例子</h2>
+<h2 id="section-12">更多例子</h2>
 
 <p>Debug和Release模式:</p>
 
@@ -235,7 +242,7 @@
 </code></pre>
 </div>
 
-<h2 id="section-12">项目例子</h2>
+<h2 id="section-13">项目例子</h2>
 
 <p>一些使用xmake的项目:</p>
 
@@ -246,11 +253,11 @@
   <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-13">演示视频</h2>
+<h2 id="section-14">演示视频</h2>
 
 <p><a href="https://asciinema.org/a/133693"><img src="https://asciinema.org/a/133693.png" alt="asciicast" /></a></p>
 
-<h2 id="section-14">联系方式</h2>
+<h2 id="section-15">联系方式</h2>
 
 <ul>
   <li>邮箱:<a href="mailto:[email protected]">[email protected]</a></li>