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
on 2007-01-30 12:50
on 2007-01-31 13:49
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...@googlemail.com"
on 2007-01-31 16:15
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 ï¬nishes, 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...@googlemail.com"
on 2007-02-01 14:07
Great:) thanks for your reply!