On 15 Jul 2010, at 17:53, Roy Pardee wrote:

I've got an app that stores infrequently-changing-but-not-entirely-
static data.  I'd like to be able to generate a snapshot of the app
(or a portion thereof) in a CHM file so users can snag a copy for
offline use, that still has the hyperlink structure intact, can be
searched, printed, etc.  Optimal would be something I could feed a
route to & it would spider every link from there, using my existing
views.

My googling has not turned up any existing gems/plugins that just
magically do what I want, alas, but I wondered if anybody here can
point me at a likely place to start on such a feature?  I know there's
an rdoc plugin or branch that generates CHM from rdoc--that'll be
where I start unless someone has a better suggestion.

If you are on OS X, you can use the rdoc_osx_dictionary (more info here: http://github.com/seattlerb/rdoc_osx_dictionary). I believe there's a dependency on hoe that isn't installed with the gem (although it should be, but it isn't), so if you are having problems, make sure you have hoe installed too.

A google search for "rails chm" brought up these:

http://moiristo.wordpress.com/2008/08/28/ruby-core-ruby-on-rails-chm-documentation/
http://dirk.net/2007/12/30/generate-ruby-on-rails-chm-documentation/
etc.

Maybe you'll have luck with those links.


Best regards

Peter De Berdt

--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to