瞎扯淡 你还在为过年回家没网如何查 rails api 而烦恼,rdoc 你值得拥有?

small_fish__ · 2013年02月06日 · 最后由 rocLv 回复于 2015年02月08日 · 3680 次阅读

刚刚 google 了下,发现http://railsapi.com/还是很不错的,rails 版本是 3.2.6。 该网不仅提供在线版本,还有打包下载版本,对于回家没网的童鞋来说,弄个打包版本,没网也可以将 rails api 查的飞起,快载快哉~~😄

有没有 bootstrap v2.2.2 的离线文档?

#1 楼 @fresh_fish 这个应该是完全可以 github 上当下来部署在本地的

#1 楼 @fresh_fish 把 bootstrap clone 到本地,然后进入 doc,把所有 html 里关于 twitter api 的东西删掉,这样就免受翻墙困扰了。

匿名 #4 2013年02月06日

http://www.heronote.com/files/RoR.htm 或许是更好的选择,该网站提供了所有常见语言和框架的文档下载,包括 HTML 和 CHM 格式

Mac 下有个Dash 软件不错。帮你下载各种文档,快捷键呼出,马上搜索。

买了 Dash,解决烦恼... 30RMB,确实应该支持的。

Rails also comes with built-in help that you can generate using the rake command-line utility: http://guides.rubyonrails.org/getting_started.html#what-s-next

Running rake doc:guides will put a full copy of the Rails Guides in the doc/guides folder of your application. Open doc/guides/index.html in your web browser to explore the Guides.

Running rake doc:rails will put a full copy of the API documentation for Rails in the doc/api folder of your application. Open doc/api/index.html in your web browser to explore the API documentation.

过年回家就好好休息吧,还查 API 太苦逼啦!

@small_fish__ 就在你的 rails 项目的目录里直接运行: rake doc:guides rake doc:rails

然后在 doc 目录下就能找到了

需要 登录 后方可回复, 如果你还没有账号请 注册新账号