
<!DOCTYPE html>
<html lang="en">
    <head><meta name="generator" content="Hexo 3.9.0">

    <title>贡献指南 — Nice-Lua</title>
    <meta charset="utf-8">
    <meta name="description" content="Nice-Lua">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <link rel="stylesheet" href="/Nice-Lua/public/css/page.css">

    <script src="/Nice-Lua/public/js/vue.js"></script>
    <script src="/Nice-Lua/public/js/jquery.js"></script>
    </head>

    <body>
        
            <nav class="nav">
    <div class="border">
        <strong style="position:relative; top:30px">Nice-Lua</strong>
        <button class="hiden-in-phone">V1.0</button>
        <button id="btn-menu" class="hiden-in-pc">菜单</button>
        <ul class="nav-link hiden-in-phone">
            <!--li>
                <form id="search-form">
                    <input type="text" id="search-query" class="search-query">
                </form>
            </li!-->
            <li><a href="https://github.com/Justin-sky/Nice-Lua" class="nav-link-li">下载项目</a></li>
            <li><a href="/Nice-Lua/public/v1/guide/version.html" class="nav-link-li">更新记录</a></li>
            <li><a href="/Nice-Lua/public/v1/guide/contribution.html" class="nav-link-li current">贡献指南</a></li>
            <li><a href="/Nice-Lua/public/v1/guide/index.html" class="nav-link-li">教程</a></li>
            <li><a href="/Nice-Lua/public/" class="nav-link-li current">首页</a></li>
        </ul>
    </div>
</nav>

<div id="container" class="container clear">
    <section class="sidebar clearfix">
    <ul>
        
            
            
                <li><h3>基础</h3></li>
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/index.html" class="sidebar-link">介绍</a></p>
            </li>
        
            
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/version.html" class="sidebar-link">更新记录</a></p>
            </li>
        
            
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/contribution.html" class="sidebar-link current">贡献指南</a></p>
            </li>
        
            
            
            
                <li><h3>教程</h3></li>
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/tutorial.html" class="sidebar-link">从零开始</a></p>
            </li>
        
            
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/Addressable.html" class="sidebar-link">Addressables</a></p>
            </li>
        
            
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/MVVM.html" class="sidebar-link">MVVM</a></p>
            </li>
        
            
            
            
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/Network.html" class="sidebar-link">Network</a></p>
            </li>
        
            
            
            
            
                <li><h3>其他</h3></li>
            
            <li>
                <p><a href="/Nice-Lua/public/v1/guide/FastQA.html" class="sidebar-link">常见问题解答</a></p>
            </li>
        
    </ul>
</section>
    <article class="clearfix">
    <h2 id="贡献指南"><a href="#贡献指南" class="headerlink" title="贡献指南"></a>贡献指南</h2><p>本文档描述了如何对ILRuntime提供的贡献情况。</p>
<h3 id="Pull-Request"><a href="#Pull-Request" class="headerlink" title="Pull Request"></a>Pull Request</h3><ul>
<li>不要进行较大内容的PR.</li>
<li>每个PR只做一件事情</li>
<li>确保PR的代码能够通过编译</li>
<li>提交PR时，请务必保证针对代码的所有测试都必须通过</li>
<li>提交PR时，请务必记录好PR的原因</li>
</ul>

    <div class="footer">
        发现错误？想参与编辑？ 
        <a href="https://github.com/Justin-sky/Nice-Lua/tree/master/docs/source/src/v1/guide/contribution.md" target="_blank">
            在 Github 上编辑此页！
        </a>
    </div>
</article>

<div class="sub-nav hiden-in-phone">
    <dl id="sub-nav">
        <dt>本文内容</dt>
        <dd v-for="(ele, index) in sub_nav">
           <a v-bind:href="ele.href">{{ ele.name }}</a>
        </dd>
    </dl>
</div> 
</div>

<footer>
    <div>
        <p>© Copyright 2019 Justin-sky All Rights Reserved</p>
        <p>Nice-Lua</p>
    </div>
</footer>


<script>
var vm = new Vue({
    el : '#container',
    data: {
        sub_nav : [ ]
    },
    created:function(){
        var obj = [];
        $("article h3").each(function(){
            obj.push({name :  $(this).find("a").attr("title") , href : "#"+$(this).attr("id") });
        });

        this.sub_nav = obj;       
    }
});

var isShow = false;
$("nav").on("click","#btn-menu" , function(){

    if(!isShow){
        
        if($(document).scrollTop() > $(".sidebar").height() - 100){

            $('html, body').animate({scrollTop:0} , 300, "swing",function(){

                $(".sidebar").fadeIn();
                $(".container").animate({"left" : "15rem"}, 500,"swing");
            });
        }else{

                $(".sidebar").fadeIn();
                $(".container").animate({"left" : "15rem"}, 500,"swing");

        }

    }else{
        $(".sidebar").fadeOut();
        $(".container").animate({"left" : "0rem"}, 500,"swing");
    }
    isShow = !isShow;

});

$(".container").on("click" , "article" , function(){

    if(isShow){
        $(".sidebar").fadeOut();
        $(".container").animate({"left" : "0rem"}, 500,"swing");
        isShow = false;    
    }

});
</script>
        
    </body>
</html>