spyridon.vasileiadis-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-Jan-30 11:50 UTC
docs gem_server vs http://api.rubyonrails.org/ layout
Hello railers! when running gem_server one gets the local gem docs available in http://localhost:8808/ There if you choose one gem you get a page with the navigation bar on top (with the sections files,classes,methods). Now if you look at http://api.rubyonrails.org/ the navigation bar is on the left part of the screen (plus changelogs are available). Which I find much more handy. Does anyone know how to force the latter layout to the local gem_server ? many thanks, Spyros --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You can edit index.html(and modify frameset) per gem to get it looking as you want To get all rdocs look like that, you need to hack doc generator, i think, not tried it though... On Jan 30, 1:50 pm, "spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org" <spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hello railers! > when running gem_server one gets the local gem docs available inhttp://localhost:8808/ > There if you choose one gem you get a page with the navigation bar on > top (with the sections files,classes,methods). > > Now if you look athttp://api.rubyonrails.org/ the navigation bar is > on the left part of the screen (plus changelogs are available). Which > I find much more handy. > > Does anyone know how to force the latter layout to the local > gem_server ? > > many thanks, > Spyros--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Here''s tip from AWDWR2ed>>>>>>You can create your own local version of the consolidated Rails API docu- mentation. Just type the following commands at a command prompt (remem- bering to start the command window in your Rails environment if you’re using InstantRails or Locomotive). rails_apps> rails dummy_app rails_apps> cd dummy_app dummy_app> rake rails:freeze:gems dummy_app> echo >vendor/rails/activesupport/README dummy_app> rake doc:rails The last step takes a while. When it finishes, you’ll have the Rails API documen- tation in a directory tree starting at doc/api. I suggest moving this folder to your desktop, then deleting the dummy_app tree. <<<<<<< And then you need to modify index.html : ... <frameset rows="20%, 80%"> <frameset cols="25%,35%,45%"> ... to ... <frameset cols="20%, 80%"> <frameset rows="25%,35%,45%"> ... (cols and rows swapped) On Jan 30, 1:50 pm, "spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org" <spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hello railers! > when running gem_server one gets the local gem docs available inhttp://localhost:8808/ > There if you choose one gem you get a page with the navigation bar on > top (with the sections files,classes,methods). > > Now if you look athttp://api.rubyonrails.org/ the navigation bar is > on the left part of the screen (plus changelogs are available). Which > I find much more handy. > > Does anyone know how to force the latter layout to the local > gem_server ? > > many thanks, > Spyros--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
spyridon.vasileiadis-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-Feb-01 13:06 UTC
Re: docs gem_server vs http://api.rubyonrails.org/ layout
Great:) thanks for your reply! On Jan 31, 5:14 pm, "gmarik" <gma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Here''s tip from AWDWR2ed > > You can create your own local version of the consolidated Rails API > docu- > mentation. Just type the following commands at a command prompt > (remem- > bering to start the command window in your Rails environment if you’re > using > InstantRails or Locomotive). > rails_apps> rails dummy_app > rails_apps> cd dummy_app > dummy_app> rake rails:freeze:gems > dummy_app> echo >vendor/rails/activesupport/README > dummy_app> rake doc:rails > The last step takes a while. When it finishes, you’ll have the Rails > API documen- > tation in a directory tree starting at doc/api. I suggest moving this > folder to your > desktop, then deleting the dummy_app tree. > <<<<<<< > And then you need to modify index.html : > ... > <frameset rows="20%, 80%"> > <frameset cols="25%,35%,45%"> > ... > to > ... > <frameset cols="20%, 80%"> > <frameset rows="25%,35%,45%"> > ... > (cols and rows swapped) > > On Jan 30, 1:50 pm, "spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org" > > <spyridon.vasileia...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > Hello railers! > > when running gem_server one gets the local gem docs available inhttp://localhost:8808/ > > There if you choose one gem you get a page with the navigation bar on > > top (with the sections files,classes,methods). > > > Now if you look athttp://api.rubyonrails.org/the navigation bar is > > on the left part of the screen (plus changelogs are available). Which > > I find much more handy. > > > Does anyone know how to force the latter layout to the local > > gem_server ? > > > many thanks, > > Spyros--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---