hi, can any one tell how to generate Offline documentation for ruby on rails on windows -- Posted via http://www.ruby-forum.com/.
Aashish Kiran wrote:> hi, > can any one tell how to generate Offline documentation for ruby on > rails on windowsRake will do it for you -- look at rake -T to see the appropriate tasks. railsbrain.com and railsapi.com also offer downloadable versions of their Rails docs. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
On Thu, Jul 30, 2009 at 8:21 AM, Aashish Kiran<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> can any one tell how to generate Offline documentation for ruby on > rails on windowsI don''t know about the "windows" part, but on my system it''s already there. Running "gem server" and going to http://localhost:8808 in a browser shows me the rdoc for all the installed gems, including Rails. HTH! -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
On Jul 30, 11:33 am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Jul 30, 2009 at 8:21 AM, Aashish > > Kiran<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > can any one tell how to generate Offline documentation for ruby on > > rails on windows > > I don''t know about the "windows" part, but on my system it''s already > there. Running "gem server" and going tohttp://localhost:8808in a > browser shows me the rdoc for all the installed gems, including Rails. >What I do is run rake doc:rails which creates the same docs as on api.rubyonrails.org (ie all the frameworks on one page). Then I serve that locally and point the rdoc widget at it (so that I get search). Fred> HTH! > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan
> can any one tell how to generate Offline documentation for ruby on > rails on windowsIf you just want a copy of it and don''t want to genereate it yourself... http://www.railsbrain.com/ Be nice though and download a copy rather than use up their bandwidth... Pretty nice interface to searching that works in offline mode as well... -philip
Hassan Schroeder wrote: [...]> I don''t know about the "windows" part, but on my system it''s already > there. Running "gem server" and going to http://localhost:8808 in a > browser shows me the rdoc for all the installed gems, including Rails.Really? On my system, Rails is one of the gems that does *not* show an rdoc link when I do that. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
On Thu, Jul 30, 2009 at 11:28 AM, Marnen Laibow-Koser<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:>> there. Running "gem server" and going to http://localhost:8808 in a >> browser shows me the rdoc for all the installed gems, including Rails. > > Really? On my system, Rails is one of the gems that does *not* show an > rdoc link when I do that.!suckimoto, you''re right -- the rdoc link is inactive. Scratch that, then :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
Frederick Cheung wrote:> On Jul 30, 11:33�am, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote:> > What I do is run rake doc:rails which creates the same docs as on > api.rubyonrails.org (ie all the frameworks on one page). Then I serve > that locally and point the rdoc widget at it (so that I get search). > > Fredwhere to run rake doc:rails -- Posted via http://www.ruby-forum.com/.
On Jul 30, 3:01 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thu, Jul 30, 2009 at 11:28 AM, Marnen > > Laibow-Koser<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > >> there. Running "gem server" and going tohttp://localhost:8808in a > >> browser shows me the rdoc for all the installed gems, including Rails. > > > Really? On my system, Rails is one of the gems that does *not* show an > > rdoc link when I do that. > > !suckimoto, you''re right -- the rdoc link is inactive. Scratch that, then :-) >That''s the slightly annoying thing - the rails gem is (mostly) just a stub that provides the rails executable, bit of bootstrapping and just depends on the main framework gems (activerecord, activeresource, activesupport etc...). Those frameworks do have rdoc. Fred> -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan