Forum: Ruby on Rails docs gem_server vs layout

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B1cb30b86898d7f51fb1b56b1de332c1?d=identicon&s=25 Spyros Vasileiadis (kleas)
on 2007-01-30 12:50
(Received via mailing list)
Hello railers!
when running gem_server one gets the local gem docs available in
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  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,
A601ce8bc71d3c358544f7dbcb464251?d=identicon&s=25 gmarik (Guest)
on 2007-01-31 13:49
(Received via mailing list)
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, ""
A601ce8bc71d3c358544f7dbcb464251?d=identicon&s=25 gmarik (Guest)
on 2007-01-31 16:15
(Received via mailing list)
Here's tip from AWDWR2ed
You can create your own local version of the consolidated Rails API
mentation. Just type the following commands at a command prompt
bering to start the command window in your Rails environment if you’re
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%">
<frameset cols="20%, 80%">
    <frameset rows="25%,35%,45%">
(cols and rows swapped)

On Jan 30, 1:50 pm, ""
B1cb30b86898d7f51fb1b56b1de332c1?d=identicon&s=25 Spyros Vasileiadis (kleas)
on 2007-02-01 14:07
(Received via mailing list)
Great:) thanks for your reply!
This topic is locked and can not be replied to.