我們非常歡迎您加入 Hexo 的開發(fā),這份文件將幫助您了解開發(fā)流程。
請(qǐng)首先閱讀《貢獻(xiàn)者行為準(zhǔn)則》,并確保您不會(huì)違反它。
請(qǐng)使用以下代碼風(fēng)格:
另外,Hexo 擁有自己的 ESLint 配置,因此請(qǐng)確保您的貢獻(xiàn)能夠通過 ESLint。
$ git clone https://github.com/<username>/hexo.git
$ cd hexo
$ npm install
$ git submodule update --init
$ git checkout -b new_feature
$ git push origin new_feature
$ npm test
我們也歡迎給 Hexo 官方插件 提交 PR 和 Issue ????
Hexo 文檔開放源代碼,您可以在 hexojs/site找到源代碼。
$ npm install hexo-cli -g # If you don't have hexo-cli installed
$ git clone https://github.com/<username>/site.git
$ cd site
$ npm install
$ hexo server
當(dāng)您在使用 Hexo 時(shí)遇到問題,您可以嘗試在 問題解答中尋找解答,或是在 GitHub 或 Google Group 上提問。如果你沒有找答案,請(qǐng)?jiān)?Github 報(bào)告它。
更多建議: