自定义RDoc :: ClassModule#description

时间:2011-11-18 20:59:19

标签: ruby rdoc

我正在尝试为RDoc编写新的生成器,但我无法弄清楚如何为description对象自定义RDoc::ClassModule输出。目前它看起来像这样:

<p><a href=\"Gist\">Gist</a> API is... lacking at the moment.</p>

我想将“Gist”的链接自定义为不同的内容,例如#!/search/Octopi::Gist而非Gist

我该怎么做呢?

0 个答案:

没有答案