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 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, “[email protected]

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 :

... to ... ... (cols and rows swapped)

On Jan 30, 1:50 pm, “[email protected]

Great:) thanks for your reply!