From: Dave Burt Date: 2006-05-03T01:31:30+09:00 Subject: Re: Restricting view to source code with RDOC? Philip Hallstrom wrote: >> I'd like to generate some docuementation using RDOC, but don't want >> any of the "source" links available. >> >> I've seen some existing rdoc that does this, but don't see an option >> within rdoc itself to exclude them. >> >> Am I just missing it? > > Turns out I was. Naturally after asking I find it :) Buried deep in > /usr/local/lib/ruby/..... were the rdoc templates. I borrowed html.rb > and tore out the pieces that include the links to source. > > Seems to work great. > > Heh. :) You're not going to add a --no-source switch to rdoc and share the patch? Cheers, Dave