标签:install watch bundle site 条件 文件夹 生成 build 建议
gem install jekyll bundler
jekyll new my-awesome-site
cd my-awesome-site
bundle exec jekyll serve
$ jekyll build
#=>当前文件夹中的内容将会生成到./_site 文件夹中。
$ jekyll build --destination <destination>
#=>当前文件夹中的内容将会生成到目标文件夹<destination>中。
$ jekyll build --source <source>--destination <destination>
#=>指定源文件夹<source>中的内容将会生成到目标文件夹<destination>中。
$ jekyll build --watch
#=>当前文件夹中的内容将会生成到./_site 文件夹中,
#查看改变,并且自动再生成。
http://jekyllrb.com/
http://jekyllcn.com (中文)
标签:install watch bundle site 条件 文件夹 生成 build 建议
原文地址:http://www.cnblogs.com/rongfengliang/p/6665424.html