Total Pageviews

Sunday 15 June 2014

rubygems guides

git clone https://github.com/rubygems/guides rubygems-guides-site
cd rubygems-guides-site

as3:~/rubygems-guides-site# jekyll build
Configuration file: /root/rubygems-guides-site/_config.yml
            Source: /root/rubygems-guides-site
       Destination: /root/rubygems-guides-site/_site
      Generating...
                    done.
as3:~/rubygems-guides-site# ls
CC-LICENSE               _includes             rdoc
CNAME                    index.md              README.md
command-reference.erb    _layouts              resources.md
command-reference.md     make-your-own-gem.md  rubygems-basics.md
_config.yml              MIT-LICENSE           rubygems-org-api.md
contributing.md          name-your-gem.md      run-your-own-gem-server.md
credits.md               patterns.md           security.md
faqs.md                  _plugins              _site
favicon.ico              plugins.md            specification-reference.md
gems-with-extensions.md  publishing.md         stylesheets
images                   Rakefile              what-is-a-gem.md
as3:~/rubygems-guides-site# cd _site
as3:~/rubygems-guides-site/_site# ls
CC-LICENSE             index.html         resources
command-reference      make-your-own-gem  rubygems-basics
command-reference.erb  MIT-LICENSE        rubygems-org-api
contributing           name-your-gem      run-your-own-gem-server
credits                patterns           security
faqs                   plugins            specification-reference
favicon.ico            publishing         stylesheets
gems-with-extensions   Rakefile           what-is-a-gem
images                 rdoc
as3:~/rubygems-guides-site/_site#

可见~/rubygems-guides-site/_site/就是静态网站的根目录。
访问http://rgg.brite.biz.st/即可。
官网:http://guides.rubygems.org

项目地址:https://github.com/rubygems/guides