开发者

Best 'classic' RDoc version?

I would like to generate the classic 4-panel, framed RDoc format, with working hyperl开发者_运维知识库inks. Any suggestions of which RDoc to install?

My ruby 1.8.6 installation has an RDoc that generates the 4-panel format, but files aren't hyperlinked. My ruby 1.9.2 installation generates the non-frame Darkfish format, which is not what I want. I've tried installing older versions of RDoc in my 1.9.2 installation, but somehow I always get Darkfish format. Is there an rdoc command flag I should be using to prevent that?


You can use the Fivefish RDoc generator. It should work as follows:

gem install rdoc-generator-fivefish 
rdoc -f fivefish lib/ ext/ *.md # get all the files in your project

Hope that helps.


rdoc accepts a template parameter that lets you override the template as described at http://www.davidpierron.com/index.php/archives/2009/03/09/255/.

I couldn't get his solution to work for the Rails docs though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜