From: Eric Hodel Date: 2012-12-02T10:08:03+09:00 Subject: Re: [ANN] rdoc 4.0.0.preview2 --Apple-Mail-628F2D2F-F765-4658-9383-EB94395AB81A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Dec 1, 2012, at 15:07, Intransition wrote: >> Notable feature additions are markdown support and an WEBrick servlet tha= t can=20 >> serve HTML from an ri store. (This means that RubyGems 2.0+ no longer ne= eds=20 >> to build HTML documentation when installing gems.) >=20 > Nice! I had a gem that did that, but it was quite the hack, so it was neve= r very useful. But I always seemed like a good idea. So I am pleased to see t= hat RDoc can now do it right out of the box. >=20 > Quick questions: >=20 > 1. Can it browse multiple gems at once, or just one at a time? Multiple gems at once. At the top level you can type to filter on installed g= ems. > 2. Can it take advantage of custom formats? Currently it uses the darkish generator. Due to lack of time I haven't inves= tigated alternate output templates. Allowing alternate output formats is pos= sible before RDoc 4 final. The feature is rather coupled to darkish so I'm u= nsure what work would be needed for alternate generators. I'd rather delay t= hat for a future release than rush it.= --Apple-Mail-628F2D2F-F765-4658-9383-EB94395AB81A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On Dec 1, 2012, at 15:07, Intransition <transfire@gmail.com> wrote:

Notable feature additions are markdown support and an WEBrick servlet that can
serve HTML from an ri store.  (This means that RubyGems 2.0+ no longer needs
to build HTML documentation when installing gems.)

Nice! I had a gem that did that, but it was quite the hack, so it was never very useful. But I always seemed like a good idea. So I am pleased to see that RDoc can now do it right out of the box.

Quick questions:

1. Can it browse multiple gems at once, or just one at a time?

Multiple gems at once. At the top level you can type to filter on installed gems.

2. Can it take advantage of custom formats?

Currently it uses the darkish generator. Due to lack of time I haven't investigated alternate output templates. Allowing alternate output formats is possible before RDoc 4 final. The feature is rather coupled to darkish so I'm unsure what work would be needed for alternate generators. I'd rather delay that for a future release than rush it.
--Apple-Mail-628F2D2F-F765-4658-9383-EB94395AB81A--