生成"api.rubyonrails.org"式样API离线文档
生成api.rubyonrails.org样式API离线文档到github网站git rails副本 (https://github.com/rails/rails)
生成"api.rubyonrails.org"样式API离线文档
到github网站git rails副本 (https://github.com/rails/rails)
生成 rdoc
~/rails$ cd railties~/rails/railties$ bundle exec rake generate_guides
文件可在~/rails/railties/guides/output目录中找到
更新
今天发现另一文档,没有测试过,留作参考
http://aslamnajeebdeen.com/blog/how-to-create-your-own-local-copy-of-rails-api-doc-and-guides