In the past I used railsbrain.com to have a nice and handy offline api documentation.
But they stop at version 2.3.2
Is there any other solution with latest version.
Browser-based Solution – Updated Oct 19, 2017
DevDocs (https://devdocs.io/) uses your browser's IndexedDB to store the documentation you want. Make sure you follow the instructions on how to install the docs before you go offline.
For macOS try Dash
For Windows/Linux try Zeal
For packaged HTML try RubyDocs
Manual Download:
I used this commands on my server so I could get the files faster (they were cached, go figure).
wget -r -k -p http://api.rubyonrails.org/
Then I compress the folder so I can download it without overhead.
rar a -r rails_api.rar api.rubyonrails.org/
https://gist.github.com/2149669
YARD Server
I prefer the yard format over rdoc.
gem install yard
, gem rdoc --all --overwrite
, andyard server --gems
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With