From: Trans Date: 2008-02-18T06:31:20+09:00 Subject: Re: Where should shared rdocs be installed? On Feb 16, 4:50 pm, Trans wrote: > Under a normal installation of a ruby library/program --eg. using > setup.rb, where ought rdocs be installed? setup.rb doesn't do this of > course, but I'm adding support for it. But I'm not sure what system > locations the rdocs should use. setup.rb defines three possible > "installdirs" modes: std for libruby, site for site_ruby and home for > $HOME. So I'm trying to figure what the corresponding doc locations > would be. > > I note that rdoc itself has equivalent locations defined for ri docs, > given as options: --ri-system, --ri-site, and --ri. But not so for the > rdocs themselves. I guess I figured it out -- I'll just save it like any documenation: /usr/share/doc/{name}/rdoc/ I suppose one might argue for a central place, like ri, eg. /usr/share/doc/rdoc/1.8/site/{name}/ But that's for other's to decide if that's the proper place . T.